Actions
Bug #2257
closedCrash in WDialog destructor at session termination
Start date:
09/27/2013
Due date:
% Done:
0%
Estimated time:
Description
If a non-modal WDialog is destructed as part of the domRoot at session termination, then a crash can occur.
Specifically, in the DialogCover constructor called by WDialog::cover() function, the new DialogCover will be added to a WApplication::domRoot() which is now invalid since it is being deleted.
Attached is some code that will recreate this issue. To reproduce: using the httpd connector, start the attached app and load it in a browser tab; close the tab, and then a while later try to load a new instance of it, and when the old original session gets cleaned up, the process will crash.
I have had this issue on Wt 3.3.1-rc1 and the git version from a couple days ago.
Files
Updated by Koen Deforche about 11 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey,
Thanks! It almost slipped into 3.3.1!
Regards,
koen
Updated by Koen Deforche about 11 years ago
- Status changed from Resolved to Closed
Actions