Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DebugView does not close on Windows 7 #50

Closed
janwilmans opened this issue Jan 2, 2014 · 2 comments
Closed

DebugView does not close on Windows 7 #50

janwilmans opened this issue Jan 2, 2014 · 2 comments

Comments

@janwilmans
Copy link
Member

DebugView does not close on Windows 7
if UpdateColumnWidths(); in CLogView::SaveSettings is enabled (uncommented)

If have tested this on my workstation at FEI and reproduced the behavior on a local laptop that hosts Windows 7.

@janwilmans
Copy link
Member Author

There are actually two issues here:

  1. An exception (null pointer) occurs deep below UpdateColumnWidths somewhere, but only on windows7? testing on WindowsXP and Windows 8 does not reproduce the problem.
  2. Why is no MessageBox shown when this exception occurs and no crash occurs?

It is an access violation that occurs, so I would expect the application to crash.
I think we should first make it report the error correctly in the UI and then solve the problem itself.

@djeedjay
Copy link
Collaborator

djeedjay commented Jan 2, 2014

null pointer is not an exception but crash. Anything might happen next. The problem was caused by not correctly initializing the LVCOLUMN mask field before the GetColumn() call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants