rdmenezes / synecdoche

Automatically exported from code.google.com/p/synecdoche
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Manager crashes when closing while AboutDlg is still open #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the Manager and open the AboutDlg.
2. Open the context menu of the tray icon and click on "Exit"
3. Crash.

As indicated by the Visual Studio debugger the crash is probably caused by 
a curruption of the heap ("Invalid Address specified to RtlFreeHeap"). The 
call stack shows that the event loop if the (modal) AboutDlg is still 
running while destroying the main window.

Probably the best solution would be to disable the context menu of the 
tray icon while the AboutDlg is open.

This might as well happen with other dialogs (Options, Preferences, 
Wizards, etc...) but I did not test this yet.

Original issue reported on code.google.com by DerMeister667@googlemail.com on 28 Feb 2009 at 11:20

GoogleCodeExporter commented 9 years ago
This is a regression. I don't recall changing anything that affects the BOINC 
heavy-
handed approach for this.

Original comment by didacty...@gmail.com on 28 Feb 2009 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by didacty...@gmail.com on 28 Feb 2009 at 4:44

GoogleCodeExporter commented 9 years ago

Original comment by DerMeister667@googlemail.com on 28 Feb 2009 at 6:06