Open
Bug 993747
Opened 11 years ago
Updated 2 years ago
nsAppRunner.cpp should use NS_FREE_PERMANENT_DATA rather than making up its own variant of the same concept
Categories
(Core :: Widget: Gtk, defect, P4)
Core
Widget: Gtk
Tracking
()
NEW
People
(Reporter: dbaron, Unassigned)
Details
(Whiteboard: tpi:+)
Attachments
(1 file, 1 obsolete file)
nsAppRunner.cpp should use NS_FREE_PERMANENT_DATA rather than making up its own variant of the same concept.
Reporter | ||
Comment 1•11 years ago
|
||
Attachment #8403634 -
Flags: review?(karlt)
Updated•11 years ago
|
Attachment #8403634 -
Flags: review?(karlt) → review+
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/901d300bb441 for Linux mochitest ASAN orange.
22:53:50 INFO - [Parent 2643] WARNING: IA__gtk_clipboard_get_for_display: assertion `!display->closed' failed: 'glib warning', file /builds/slave/m-in-l64-asan-0000000000000000/build/toolkit/xre/nsSigHandlers.cpp, line 127
22:53:50 INFO - (firefox:2643): Gtk-CRITICAL **: IA__gtk_clipboard_get_for_display: assertion `!display->closed' failed
22:53:50 INFO - [Parent 2643] WARNING: IA__gtk_clipboard_get_for_display: assertion `!display->closed' failed: 'glib warning', file /builds/slave/m-in-l64-asan-0000000000000000/build/toolkit/xre/nsSigHandlers.cpp, line 127
22:53:50 INFO - (firefox:2643): Gtk-CRITICAL **: IA__gtk_clipboard_get_for_display: assertion `!display->closed' failed
22:53:50 INFO - firefox: fccache.c:507: FcCacheFini: Assertion `fcCacheChains[i] == ((void *)0)' failed.
22:53:50 INFO - TEST-INFO | Main app process: killed by out-of-range signal, number 122
22:53:50 WARNING - TEST-UNEXPECTED-FAIL | Shutdown | application terminated with exit code -6
Reporter | ||
Comment 4•11 years ago
|
||
I'm guessing that's because there's shutdown code somewhere *else* that's #ifdef DEBUG instead of #ifdef NS_FREE_PERMANENT_DATA, and that leads a leak to end up in this code.
Reporter | ||
Comment 5•11 years ago
|
||
(For what it's worth, the original reason I brought this issue up was because of its existence as a pattern to copy from; I was trying to remember the name of NS_FREE_PERMANENT_DATA, and the place I looked to find a use of it was nsAppRunner.cpp, which turned out not to be a use of it.)
Comment hidden (typo) |
Comment hidden (typo) |
Comment 8•9 years ago
|
||
After landing bug 1024259, I sent this patch through Try to see if it's happier now. It isn't. https://treeherder.mozilla.org/#/jobs?repo=try&revision=4d1075d69127
Updated•8 years ago
|
Priority: -- → P4
Whiteboard: tpi:+
Reporter | ||
Updated•4 years ago
|
Assignee: dbaron → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•