Closed
Bug 301082
Opened 19 years ago
Closed 19 years ago
xpcom-shutdown is too late to destroy cached compose windows
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ajschult784, Assigned: neil)
References
Details
Attachments
(2 files)
1.98 KB,
text/plain
|
Details | |
1.16 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
benjamin
:
approval1.8b4+
|
Details | Diff | Splinter Review |
As mentioned in bug 137698, if cached composition window is enabled on linux, there are gtk errors when exiting: (Gecko:19985): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed (Gecko:19985): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed nsAppStartup::Quit looks for other windows (via nsIWindowMediator) and attempts to close them, but it doesn't see the cached compose window. Later, when nsMsgComposeService gets shut down, it closes its cached window, which triggers another call to nsAppStartup::Quit. Things go south from there. I'll attach a stack for the last call to nsAppStartup::Quit
Reporter | ||
Comment 1•19 years ago
|
||
this is the stacktrace during the call to nsAppStartup::Quit related to cached window compose
Reporter | ||
Comment 2•19 years ago
|
||
CTho got the same stack as attachment 189583 [details] on windows, so the fact that we try
to shut down the app twice is probably cross-platform. Windows just doesn't
complain about it.
Assignee | ||
Updated•19 years ago
|
Summary: with cached compose window, get Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed → xpcom-shutdown is too late to destroy cached compose windows
Assignee | ||
Comment 3•19 years ago
|
||
Assignee: nobody → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Attachment #189633 -
Flags: superreview?(bienvenu)
Attachment #189633 -
Flags: review?(bienvenu)
Comment 4•19 years ago
|
||
Comment on attachment 189633 [details] [diff] [review] Proposed patch do we get the quit-application notification if the app is closed because the last open window is closed? sr=bienvenu, as long as you confirm that. I have a vague recollection of that being a problem in the past.
Attachment #189633 -
Flags: superreview?(bienvenu)
Attachment #189633 -
Flags: superreview+
Attachment #189633 -
Flags: review?(bienvenu)
Attachment #189633 -
Flags: review+
Assignee | ||
Comment 5•19 years ago
|
||
Comment on attachment 189633 [details] [diff] [review] Proposed patch biesi remembered that issue too, but I was able to persuade him that eConsiderQuit got quickly upgraded to eForceQuit if no windows are open.
Attachment #189633 -
Flags: approval1.8b4?
Updated•19 years ago
|
Attachment #189633 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 6•19 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•