Closed Bug 363194 Opened 18 years ago Closed 17 years ago

"ASSERTION: QueryInterface needed" within EmbedContextMenuInfo::UpdateContextData

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chpe, Unassigned)

Details

(Keywords: assertion)

On each mouse click, I get:

###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../../../dist/include/xpcom/nsCOMPtr.h, line 594

(gdb) where
#0  Break (aMsg=0xbf8a60b4 "###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../../../dist/include/xpcom/nsCOMPtr.h, line 594")
    at /opt/source/mozilla/trunk/mozilla/xpcom/base/nsDebugImpl.cpp:472
#1  0xb6f2fbf2 in NS_DebugBreak_P (aSeverity=1, aStr=0xb6d8ff0e "QueryInterface needed", aExpr=0xb6d8fef0 "query_result.get() == mRawPtr", aFile=0xb6d8fcf0 "../../../../dist/include/xpcom/nsCOMPtr.h", aLine=594)
    at /opt/source/mozilla/trunk/mozilla/xpcom/base/nsDebugImpl.cpp:350
#2  0xb6d7b4e5 in nsCOMPtr<nsIDOMEvent>::Assert_NoQueryNeeded (this=0x868de50) at ../../../../dist/include/xpcom/nsCOMPtr.h:594
#3  0xb6d7b525 in nsCOMPtr<nsIDOMEvent>::operator= (this=0x868de50, rhs=0x89705e0) at ../../../../dist/include/xpcom/nsCOMPtr.h:714
#4  0xb6d78217 in EmbedContextMenuInfo::UpdateContextData (this=0x868ddd8, aDOMEvent=0x89705e0) at /opt/source/mozilla/trunk/mozilla/embedding/browser/gtk/src/EmbedContextMenuInfo.cpp:452
#5  0xb6d6ea71 in EmbedEventListener::HandleSelection (this=0x868a9f8, aDOMMouseEvent=0x89705e0) at /opt/source/mozilla/trunk/mozilla/embedding/browser/gtk/src/EmbedEventListener.cpp:615
#6  0xb6d6f441 in EmbedEventListener::MouseDown (this=0x868a9f8, aDOMEvent=0x89705f0) at /opt/source/mozilla/trunk/mozilla/embedding/browser/gtk/src/EmbedEventListener.cpp:304
Summary: assertion failure → "ASSERTION: QueryInterface needed" within EmbedContextMenuInfo::UpdateContextData
this appears to be fixed for me on trunk. Most likely by microb backout.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.