Bug#413256: iceape-browser 1.0.8-1 crashes when using mozilla-mplayer BadWindow (invalid Window parameter)

Andreas Metzler ametzler at downhill.at.eu.org
Sat Mar 3 18:57:39 CET 2007


Package: iceape-browser
Version: 1.0.8-1
Severity: normal

Hej,

Since upgrading to 1.0.8-1 I am experiencing crashes when the mplayer
plugin (mozilla-mplayer) is used. Downgrading to 1.0.7-3 makes the crash
disappear.

How to reproduce:
1. Copy a mediafile to /tmp, e.g foo.mp3
2. iceape /tmp
3. Click on foo.mp3, mplayer-plugin plays it.
4. Use the back-button.
5. Immediate crash.
The program 'iceape-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 10392 error_code 3 request_code 10 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I have tried to get a backtrace, following the advice given in the
error-message:

-----------------------------------
(gdb) break gdk_x_error
Breakpoint 2 at 0xb7a9d7ad: file gdkmain-x11.c, line 599.
(gdb) run --sync /tmp
Starting program: /usr/lib/iceape/iceape-bin --sync /tmp
[.......]
[Switching to Thread -1220069696 (LWP 12274)]

Breakpoint 2, gdk_x_error (display=0x80a7df0, error=0xbff06f3c)
    at gdkmain-x11.c:599
599     gdkmain-x11.c: Datei oder Verzeichnis nicht gefunden.
        in gdkmain-x11.c
Current language:  auto; currently c
(gdb) bt
#0  gdk_x_error (display=0x80a7df0, error=0xbff06f3c) at gdkmain-x11.c:599
#1  0xb78c81bf in _XError () from /usr/lib/libX11.so.6
#2  0xb78c9d9b in _XReply () from /usr/lib/libX11.so.6
#3  0xb78c1088 in XSync () from /usr/lib/libX11.so.6
#4  0xb78c1213 in XSetAfterFunction () from /usr/lib/libX11.so.6
#5  0xb78c2eb8 in XUnmapWindow () from /usr/lib/libX11.so.6
#6  0xb78c384f in XWithdrawWindow () from /usr/lib/libX11.so.6
#7  0xb7b0160d in IA__gdk_window_withdraw (window=0x10004ab)
    at gdkwindow-x11.c:1649
#8  0xb7d58586 in gtk_window_unmap (widget=0x8225f18) at gtkwindow.c:4049
#9  0xb7866e1b in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#10 0xb7857f49 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#11 0xb785998b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb786a3b8 in g_signal_chain_from_overridden ()
   from /usr/lib/libgobject-2.0.so.0
#13 0xb786b429 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb786b5d9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb7d49dfc in IA__gtk_widget_unmap (widget=0x8225f18) at gtkwidget.c:2282
#16 0xb7d4f369 in gtk_window_hide (widget=0x8225f18) at gtkwindow.c:3953
#17 0xb7866e1b in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#18 0xb7857f49 in g_value_set_boxed () from /usr/lib/libgobject-2.0.so.0
#19 0xb785998b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0xb786a3b8 in g_signal_chain_from_overridden ()
   from /usr/lib/libgobject-2.0.so.0
#21 0xb786b429 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#22 0xb786b5d9 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0xb7d4a4a8 in IA__gtk_widget_hide (widget=0x8225f18) at gtkwidget.c:2149
#24 0xb7d4a55e in gtk_widget_dispose (object=0x8225f18) at gtkwidget.c:6666
#25 0xb7d559e2 in gtk_window_dispose (object=0x8225f18) at gtkwindow.c:1762
#26 0xb785c031 in g_object_run_dispose () from /usr/lib/libgobject-2.0.so.0
#27 0xb7c754fe in IA__gtk_object_destroy (object=0x8225f18) at gtkobject.c:404
#28 0xb7d4a725 in IA__gtk_widget_destroy (widget=0x8225f18) at gtkwidget.c:2011
#29 0xb32a6111 in nsPluginInstance::shutdown ()
   from /usr/lib/mozilla/plugins/mplayerplug-in.so
#30 0xb32a6886 in nsPluginInstance::shut ()
   from /usr/lib/mozilla/plugins/mplayerplug-in.so
#31 0xb32a8c53 in NPP_Destroy ()
   from /usr/lib/mozilla/plugins/mplayerplug-in.so
#32 0xb33ac897 in ns4xPluginInstance::Stop (this=0x884a800)
    at ns4xPluginInstance.cpp:931
#33 0xb6444ad5 in nsObjectFrame::Destroy (this=0x88495d4,
    aPresContext=0x8830890) at nsObjectFrame.cpp:748
#34 0xb6439ec2 in nsLineBox::DeleteLineList (aPresContext=0x8830890,
    aLines=@0x884957c) at nsLineBox.cpp:325
#35 0xb64027c2 in nsBlockFrame::Destroy (this=0x8849544,
    aPresContext=0x8830890) at nsBlockFrame.cpp:303
#36 0xb6439ec2 in nsLineBox::DeleteLineList (aPresContext=0x8830890,
    aLines=@0x88494d4) at nsLineBox.cpp:325
#37 0xb64027c2 in nsBlockFrame::Destroy (this=0x884949c,
    aPresContext=0x8830890) at nsBlockFrame.cpp:303
#38 0xb63ff8e0 in nsAreaFrame::Destroy (this=0x884949c, aPresContext=0x8830890)
    at nsAreaFrame.cpp:154
#39 0xb641e612 in nsFrameList::DestroyFrames (this=0x883c83c,
    aPresContext=0x8830890) at nsFrameList.cpp:138
#40 0xb6412df5 in nsContainerFrame::Destroy (this=0x883c80c,
    aPresContext=0x8830890) at nsContainerFrame.cpp:161
#41 0xb642b12b in CanvasFrame::Destroy (this=0x883c80c, aPresContext=0x8830890)
    at nsHTMLFrame.cpp:230
#42 0xb641e612 in nsFrameList::DestroyFrames (this=0x883c984,
    aPresContext=0x8830890) at nsFrameList.cpp:138
#43 0xb6412df5 in nsContainerFrame::Destroy (this=0x883c954,
    aPresContext=0x8830890) at nsContainerFrame.cpp:161
#44 0xb642587f in nsHTMLScrollFrame::Destroy (this=0x883c954,
    aPresContext=0x8830890) at nsGfxScrollFrame.cpp:172
#45 0xb641e612 in nsFrameList::DestroyFrames (this=0x883c7ac,
    aPresContext=0x8830890) at nsFrameList.cpp:138
#46 0xb6412df5 in nsContainerFrame::Destroy (this=0x883c77c,
    aPresContext=0x8830890) at nsContainerFrame.cpp:161
#47 0xb646a0ff in ViewportFrame::Destroy (this=0x883c77c,
    aPresContext=0x8830890) at nsViewportFrame.cpp:67
#48 0xb63e24b8 in nsFrameManager::Destroy (this=0x883bc54)
    at nsFrameManager.cpp:297
#49 0xb63f47d4 in PresShell::Destroy (this=0x883bc38) at nsPresShell.cpp:1992
#50 0xb63d9e51 in DocumentViewerImpl::Destroy (this=0x882ff08)
    at nsDocumentViewer.cpp:1479
#51 0xb63e00c2 in DocumentViewerImpl::Show (this=0x86754f0)
    at nsDocumentViewer.cpp:1770
#52 0xb63e8737 in nsPresContext::EnsureVisible (this=0x8645230,
    aUnsuppressFocus=0) at nsPresContext.cpp:1414
#53 0xb63f3fb8 in PresShell::UnsuppressAndInvalidate (this=0x87916f0)
    at nsPresShell.cpp:5080
#54 0xb63f4308 in PresShell::UnsuppressPainting (this=0x87916f0)
    at nsPresShell.cpp:5128
#55 0xb63db48f in DocumentViewerImpl::LoadComplete (this=0x86754f0, aStatus=0)
    at nsDocumentViewer.cpp:1048
#56 0xb609cb12 in nsDocShell::EndPageLoad (this=0x8677100,
    aProgress=0x8677114, aChannel=0x874c94c, aStatus=0) at nsDocShell.cpp:4802
#57 0xb60a379e in nsWebShell::EndPageLoad (this=0x8677100,
    aProgress=0x8677114, channel=0x874c94c, aStatus=0) at nsWebShell.cpp:659
#58 0xb609d01f in nsDocShell::OnStateChange (this=0x8677100,
    aProgress=0x8677114, aRequest=0x874c94c, aStateFlags=16908304, aStatus=0)
    at nsDocShell.cpp:4728
#59 0xb60ac95d in nsDocLoader::FireOnStateChange (this=0x8677100,
    aProgress=0x8677114, aRequest=0x874c94c, aStateFlags=16908304, aStatus=0)
    at nsDocLoader.cpp:1210
#60 0xb60aca38 in nsDocLoader::doStopDocumentLoad (this=0x8677100,
    request=0x874c94c, aStatus=0) at nsDocLoader.cpp:833
#61 0xb60acf38 in nsDocLoader::DocLoaderIsEmpty (this=0x8677100)
    at nsDocLoader.cpp:739
#62 0xb60ad476 in nsDocLoader::OnStopRequest (this=0x8677100,
    aRequest=0x874c94c, aCtxt=0x0, aStatus=0) at nsDocLoader.cpp:662
#63 0xb70d5840 in nsLoadGroup::RemoveRequest (this=0x86774c0,
    request=0x874c94c, ctxt=0x0, aStatus=0) at nsLoadGroup.cpp:732
#64 0xb609dd89 in nsDocShell::FinishRestore (this=0x8677100)
    at nsDocShell.cpp:5221
#65 0xb609e84a in nsDocShell::RestoreFromHistory (this=0x8677100)
    at nsDocShell.cpp:5633
#66 0xb609e9a4 in HandleRestorePresentationEvent (aEvent=0x877e8f0)
    at nsDocShell.cpp:5121
#67 0xb7f79137 in PL_HandleEvent (self=0x877e8f0) at plevent.c:688
#68 0xb7f79449 in PL_ProcessPendingEvents (self=0x80d30f0) at plevent.c:623
#69 0xb7f7b2ce in nsEventQueueImpl::ProcessPendingEvents (this=0x80d08c0)
    at nsEventQueue.cpp:417
#70 0xb6054db5 in event_processor_callback (source=0x82de980,
    condition=G_IO_IN, data=0x80a7df0) at nsAppShell.cpp:67
#71 0xb780fc7f in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#72 0xb77e6731 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#73 0xb77e97a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#74 0xb77e9b67 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#75 0xb7c54281 in IA__gtk_main () at gtkmain.c:1003
#76 0xb6055202 in nsAppShell::Run (this=0x816c170) at nsAppShell.cpp:139
#77 0xb6265c84 in nsAppStartup::Run (this=0x8179b50) at nsAppStartup.cpp:207
#78 0x0804bf87 in main1 (argc=2, argv=0xbff08fd4,
    nativeApp=<value optimized out>) at nsAppRunner.cpp:1255
#79 0x0804cffd in main (argc=0, argv=0x80a7360) at nsAppRunner.cpp:1742
#80 0xb7588ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#81 0x0804a061 in _start () at ../sysdeps/i386/elf/start.S:119
-----------------------------------

cu andreas

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)

Versions of packages iceape-browser depends on:
ii  libatk1.0-0               1.12.4-2       The ATK accessibility toolkit
ii  libc6                     2.3.6.ds1-11   GNU C Library: Shared libraries
ii  libcairo2                 1.2.4-4        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.4.2-1        generic font configuration library
ii  libgcc1                   1:4.1.1-21     GCC support library
ii  libglib2.0-0              2.12.4-2       The GLib library of C routines
ii  libgtk2.0-0               2.8.20-5       The GTK+ graphical user interface 
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libmyspell3c2             1:3.1-18       MySpell spellchecking library
ii  libpango1.0-0             1.14.8-5       Layout and rendering of internatio
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libstdc++6                4.1.1-21       The GNU Standard C++ Library v3
ii  libx11-6                  2:1.0.3-5      X11 client-side library
ii  libxcursor1               1.1.7-4        X cursor management library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxfixes3                1:4.0.1-5      X11 miscellaneous 'fixes' extensio
ii  libxft2                   2.1.8.2-8      FreeType-based font drawing librar
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxinerama1              1:1.0.1-4.1    X11 Xinerama extension library
ii  libxrandr2                2:1.1.0.2-5    X11 RandR extension library
ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  zlib1g                    1:1.2.3-13     compression library - runtime
ii  mozilla-mplayer           3.31+main-1    MPlayer-Plugin for Mozilla
ii  mplayer                   1.0~rc1-12     The Movie Player

Versions of packages iceape-browser recommends:
pn  iceape-gnome-support          <none>     (no description available)

-- no debconf information
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the pkg-mozilla-maintainers mailing list