Closed Bug 626178 Opened 13 years ago Closed 13 years ago

Every keypress leads to ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr'

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: philikon, Unassigned)

References

Details

(Keywords: assertion, regression)

Attachments

(1 file)

Attached image screenshot
This is a fresh (clobbered) debug build of https://hg.mozilla.org/mozilla-central/rev/f7ac9667229b on Windows 7. Every single keypress results in this assertion:

###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file c:\dev\mc-jpake\objdir-ff-debug\dist\include\nsCOMPtr.h, line 544

Doesn't happen on OSX so I'm assuming it's a Win32 widget issue. Apologies if I got the wrong component.
timeless has some instructions on how to track down which class is misheaving here in bug 541653 comment 2. Will try to check that out.
This is fallout from a) bug 581596 for creating an IID but not actually supporting QueryInterface to it b) bug 610821 for creating an nsCOMPtr to a concrete object which ends up actually trying to use the bogus IID.
Blocks: 581596, 610821
Is this still a problem?
I did get this on Windows 7 but it disappeared some time ago.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: