Bug#441766: vlc: segfaults with new glib

brian m. carlson sandals at crustytoothpaste.ath.cx
Tue Sep 11 21:07:47 UTC 2007


On Tue, Sep 11, 2007 at 11:06:26AM +0200, Loïc Minier wrote:
> On Tue, Sep 11, 2007, brian m. carlson wrote:
> > After installing libglib2.0-0 2.14.0 (which I did some time ago), vlc
> > now crashes when using any interface using GTK (and hence, glib).  I
> > checked some time ago and discovered that downgrading libglib2.0-0 (and
> > obviously, the corresponding GTK packages) fixed this problem.  This
> > leads me to believe that this is related to the g_thread_init() issue.
> > See e.g. #428854.
> 
>  Which interfaces did you try this with?  I suggest you try the skins2
>  interface.  The wxwidgets interface seems to crash in wxwidgets code,
>  but unfortunately Debian only has a quite old wxwidgets library right
>  now, so it's not very interesting to chase down this bug until it's
>  updated.

Using the skins2 interface causes crashes almost identical to the
wxwidgets code, down to the wxwidgets backtrace:

lakeview ok % vlc -I skins2
VLC media player 0.8.6c Janus
*** glibc detected *** vlc: free(): invalid pointer: 0x0000000000943840 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b179a2ea99a]
/lib/libc.so.6(cfree+0x8c)[0x2b179a2ee58c]
/usr/lib/libwx_gtk2u_core-2.6.so.0[0x2aaaad0d6959]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN5wxvlc8MessagesC1EP13intf_thread_tP8wxWindow+0x524)[0x2aaaac2cb3a4]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN15DialogsProviderC1EP13intf_thread_tP8wxWindow+0x1ea)[0x2aaaac28cd4a]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_Z21CreateDialogsProviderP13intf_thread_tP8wxWindow+0x34)[0x2aaaac28d2f4]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN8Instance6OnInitEv+0x7d)[0x2aaaac2601cd]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN12wxAppConsole10CallOnInitEv+0xd)[0x2aaaac2618fd]
/usr/lib/libwx_baseu-2.6.so.0(_Z7wxEntryRiPPw+0x22)[0x2aaaad6373f2]
/usr/lib/vlc/gui/libwxwidgets_plugin.so[0x2aaaac26041c]
/lib/libpthread.so.0[0x2b1799bde317]
/lib/libc.so.6(clone+0x6d)[0x2b179a34cbad]

lakeview ok % vlc           
VLC media player 0.8.6c Janus
*** glibc detected *** vlc: free(): invalid pointer: 0x00000000009cc480 ***
======= Backtrace: =========
/lib/libc.so.6[0x2aaf8d61199a]
/lib/libc.so.6(cfree+0x8c)[0x2aaf8d61558c]
/usr/lib/libwx_gtk2u_core-2.6.so.0[0x2aaaabdbf959]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN5wxvlc8MessagesC1EP13intf_thread_tP8wxWindow+0x524)[0x2aaaaafb43a4]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN15DialogsProviderC1EP13intf_thread_tP8wxWindow+0x1ea)[0x2aaaaaf75d4a]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_Z21CreateDialogsProviderP13intf_thread_tP8wxWindow+0x34)[0x2aaaaaf762f4]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN8Instance6OnInitEv+0x7d)[0x2aaaaaf491cd]
/usr/lib/vlc/gui/libwxwidgets_plugin.so(_ZN12wxAppConsole10CallOnInitEv+0xd)[0x2aaaaaf4a8fd]
/usr/lib/libwx_baseu-2.6.so.0(_Z7wxEntryRiPPw+0x22)[0x2aaaac3203f2]
/usr/lib/vlc/gui/libwxwidgets_plugin.so[0x2aaaaaf4941c]
/usr/lib/libvlc.so.0[0x2aaf8c5ebe90]
/usr/lib/libvlc.so.0(intf_RunThread+0x5a)[0x2aaf8c5ec04a]
/usr/lib/libvlc.so.0[0x2aaf8c5e9592]
vlc[0x400b90]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2aaf8d5bdb44]
vlc[0x400a39]

[memory maps elided]

Using -I ncurses works beautifully.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20070911/ff7cfeea/attachment.pgp 


More information about the pkg-multimedia-maintainers mailing list