Closed
Bug 402497
Opened 18 years ago
Closed 4 years ago
"WARNING: nsAppShell::Exit() called redundantly" on shutdown
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: jruderman, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
1. Launch Firefox (Mac trunk debug) (from the command line).
2. Cmd+Q.
Result: during shutdown, the following warning appears:
WARNING: nsAppShell::Exit() called redundantly: file /Users/jruderman/trunk/mozilla/widget/src/cocoa/nsAppShell.mm, line 560
(This used to be an assertion, but it was downgraded to a warning in bug 396833.)
Comment 1•18 years ago
|
||
This problem is very old, and (probably) cross-platform. (At some
point I'll use the tryserver to do a Linux build to find out for
sure.)
In any case it shouldn't block bug 395397, because that bug didn't
cause this problem (it just started complaining about it).
No longer blocks: 395397
Comment 2•18 years ago
|
||
Here are traces of both of the calls to nsAppShell::Exit() that are
made on the trunk (in Minefield) on OS X.
A bit to my surprise, I didn't find this problem on the 1.8 branch (in
Firefox). So it seems to be trunk-only.
I'll try to do a trunk build (with debug symbols) on Linux, and see
what I get.
Comment 3•18 years ago
|
||
Here are traces of what appear to be exactly the same two calls, this
time in Minefield (a debug build) on Linux. So I was right that this
is a cross-platform bug.
Updated•18 years ago
|
Assignee: joshmoz → nobody
Component: Widget: Cocoa → Widget
OS: Mac OS X → All
QA Contact: cocoa → general
![]() |
||
Comment 4•18 years ago
|
||
A clean Mac trunk Thunderbird debug build outputs the following on shutdown:
WARNING: nsAppShell::Exit() called redundantly: file /Users/skywalker/Desktop/Mozilla/cvs/mozilla/widget/src/cocoa/nsAppShell.mm, line 604
Blocks: tb-noise
![]() |
||
Comment 5•16 years ago
|
||
I observe the same phenomenon on a clean trunk Firefox build on OS X.
WARNING: nsAppShell::Exit() called redundantly: file /Users/Sora/mozilla/src.clean/widget/src/cocoa/nsAppShell.mm, line 782
followed by
nsStringStats
=> mAllocCount: 19125
=> mReallocCount: 2894
=> mFreeCount: 12447 -- LEAKED 6678 !!!
=> mShareCount: 12249
=> mAdoptCount: 1236
=> mAdoptFreeCount: 1233 -- LEAKED 3 !!!
This happens only when quitting Firefox with Cmd+Q from Cmd+Tab while Firefox does not have a focus and does not happen when quitting Firefox with Cmd+Q when Firefox has a focus.
Comment 6•16 years ago
|
||
(In reply to comment #5)
> This happens only when quitting Firefox with Cmd+Q from Cmd+Tab while Firefox
> does not have a focus and does not happen when quitting Firefox with Cmd+Q when
> Firefox has a focus.
So, it sounds like the Steps To Reproduce have changed here, right?
(Jesse & Gary, can you still reproduce this bug using your original steps as in Comment 0 & Comment 4?)
Reporter | ||
Comment 7•16 years ago
|
||
Yes, I still see this warning with the steps in comment 0. So if Ryo only hits this with more complicated steps, he might be hitting a different bug. Or something.
Comment 8•4 years ago
|
||
No need to leave an ancient warning spam bug open, in my opinion.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•