After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165328 - missing QI in MozDownload::Init() ?
missing QI in MozDownload::Init() ?
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Downloads
git master
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2005-01-26 19:01 UTC by Christian Persch
Modified: 2005-02-09 19:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2005-01-26 19:01:08 UTC
###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file
../../../../dist/include/xpcom/nsCOMPtr.h, line 594
Break: at file ../../../../dist/include/xpcom/nsCOMPtr.h, line 594

Program received signal SIGTRAP, Trace/breakpoint trap.
0xb7431376 in nsDebugImpl::Break (this=0x81fa2f8, aFile=0xb69a4bc0
"../../../../dist/include/xpcom/nsCOMPtr.h", aLine=594) at nsDebugImpl.cpp:352
352           DebugBreak();
(gdb) where
  • #0 nsDebugImpl::Break
    at nsDebugImpl.cpp line 352
  • #1 nsDebugImpl::Assertion
  • #2 nsDebug::Assertion
  • #3 nsCOMPtr<nsIWebProgressListener>::Assert_NoQueryNeeded
    at nsCOMPtr.h line 594
  • #4 nsCOMPtr<nsIWebProgressListener>::operator=
    at nsCOMPtr.h line 714
  • #5 nsWebBrowserPersist::SetProgressListener
    at nsWebBrowserPersist.cpp line 371
  • #6 MozDownload::Init
    at ../../../embed/mozilla/MozDownload.cpp line 127
  • #7 MozDownload::InitForEmbed
    at ../../../embed/mozilla/MozDownload.cpp line 95
  • #8 InitiateMozillaDownload
    at nsCOMPtr.h line 842
  • #9 EphyHeaderSniffer::InitiateDownload
    at nsCOMPtr.h line 842
  • #10 EphyHeaderSniffer::PerformSave
    at nsCOMPtr.h line 842
  • #11 EphyHeaderSniffer::OnStateChange
    at nsCOMPtr.h line 842
  • #12 nsWebBrowserPersist::OnStartRequest
    at nsWebBrowserPersist.cpp line 639
  • #13 nsHttpChannel::CallOnStartRequest
    at nsHttpChannel.cpp line 686
  • #14 nsHttpChannel::ProcessNormal
    at nsHttpChannel.cpp line 847
  • #15 nsHttpChannel::ProcessResponse
    at nsHttpChannel.cpp line 733
  • #16 nsHttpChannel::OnStartRequest
    at nsHttpChannel.cpp line 3687
  • #17 nsInputStreamPump::OnStateStart
    at nsInputStreamPump.cpp line 381
  • #18 nsInputStreamPump::OnInputStreamReady
    at nsInputStreamPump.cpp line 337
  • #19 nsInputStreamReadyEvent::EventHandler
    at nsStreamUtils.cpp line 118
  • #20 PL_HandleEvent
    at plevent.c line 698
  • #21 PL_ProcessPendingEvents
    at plevent.c line 633
  • #22 nsEventQueueImpl::ProcessPendingEvents
    at nsEventQueue.cpp line 413
  • #23 event_processor_callback
    at nsAppShell.cpp line 67
  • #24 g_vasprintf
    from /usr/lib/libglib-2.0.so.0
  • #25 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #26 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #27 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #28 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #29 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 main
    at ../../src/ephy-main.c line 216

Comment 1 Christian Persch 2005-02-01 22:15:34 UTC
This seems to be a problem in our MozDownload impl: when you try to QI it to
nsIWebProgressListener you get nsnull!
Comment 2 Christian Persch 2005-02-09 19:25:47 UTC
Fixed in cvs on HEAD and gnome-2-8.