Open Bug 448657 Opened 16 years ago Updated 2 years ago

"NS_ENSURE_TRUE(browserChrome)" in <nsDocShell.cpp> and "NS_ENSURE_TRUE(win_private) / NS_ENSURE_SUCCESS(rv, rv)" in <nsFrameLoader.cpp>

Categories

(Core :: DOM: Navigation, defect)

x86
All
defect

Tracking

()

People

(Reporter: sgautherie, Unassigned)

Details

Attachments

(1 file)

<http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1217484420.1217485284.24505.gz&fulltext=1>
{{
Linux nye Depend bloat on 2008/07/30 23:07:00

WARNING: NS_ENSURE_TRUE(browserChrome) failed: file /home/andrew/tbox/SeaMonkey-Debug/Linux_2.6.22.14-72.fc6_Depend/src/mozilla/docshell/base/nsDocShell.cpp, line 8994
WARNING: NS_ENSURE_TRUE(win_private) failed: file /home/andrew/tbox/SeaMonkey-Debug/Linux_2.6.22.14-72.fc6_Depend/src/mozilla/content/base/src/nsFrameLoader.cpp, line 485
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file /home/andrew/tbox/SeaMonkey-Debug/Linux_2.6.22.14-72.fc6_Depend/src/mozilla/content/base/src/nsFrameLoader.cpp, line 518
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file /home/andrew/tbox/SeaMonkey-Debug/Linux_2.6.22.14-72.fc6_Depend/src/mozilla/content/base/src/nsFrameLoader.cpp, line 173
}}

And on
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/2008073018 SeaMonkey/2.0a1pre] (home made) (W2Ksp4)

***

The |NS_ENSURE_TRUE(win_private)| seems to be reported in bug 294414 comment 0 too...
Flags: wanted1.9.1?
These aren't assertions, and I think we do want to warn in those conditions.
Keywords: assertion
(In reply to comment #1)
> we do want to warn in those conditions.

Sure, my (implicit) point is to find and fix the cause.
Attached file Stack backtrace
If it helps, I captured a stack trace at the point of failure.

WARNING: NS_ENSURE_TRUE(browserChrome) failed
       : file nsDocShell.cpp, line 9128
WARNING: Something wrong when creating the docshell for a frameloader!
       : file nsFrameLoader.cpp, line 903
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005
       : file nsFrameLoader.cpp, line 927
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005
       : file nsFrameLoader.cpp, line 182
Neil, what's the URI of the document involved in this case?  The XUL document we're walking, that is.
I see this on app startup even if the previously saved session consisted only of one window with about:blank.
Flags: wanted1.9.1?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: