Closed Bug 541653 Opened 16 years ago Closed 16 years ago

###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr' while getting the security manager's system principal, with xpcshell at startup

Categories

(Core :: XPConnect, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: rain1, Unassigned)

References

Details

Freshly built Thunderbird (comm-central + mozilla-central) trunk, debug build, on Windows. $ mozilla/dist/bin/xpcshell.exe ... component registration stuff ... ###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file c:\users\sid\mozilla\thunderbird-trunk\mozilla\dist\include\nsCOMPtr.h, line 521 Inspecting this in a debugger, the assertion fires while attempting to execute http://mxr.mozilla.org/mozilla-central/source/js/src/xpconnect/shell/xpcshell.cpp#1799. At <http://mxr.mozilla.org/mozilla-central/source/xpcom/glue/nsCOMPtr.h#521>, query_result.mRawPtr is null. This causes xpcshell tests to crash on debug builds, so marking major.
Blocks: 515437
A second clobber seems to have fixed it.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
So, that probably means an IID changed. For reference, to actually chase this, you need to go *into* the QI and get the name of the <class>::QueryInterface, because it's basically that <class> that's doing something wrong.
You need to log in before you can comment on or make changes to this bug.