Bug#519340: [gstreamer0.10-ffmpeg] segmentation fault with pidgin

E Taylor hagfish at ntlworld.com
Mon Mar 16 16:58:14 UTC 2009


I'm running Debian testing / squeeze, and have just upgraded a number of 
packages (including libgstreamer0.10-0 and libc6), then after a reboot 
found that Pidgin no longer loads.  In an attempt to debug the problem, 
I ran it from a terminal under strace and got this output (after 
interrupting it when it froze):

/
...
...
...
open("/usr/lib/libtag.so.1", O_RDONLY)  = 9
read(9, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P>\2\0\0\0\0\0@"..., 832) 
= 832
fstat(9, {st_mode=S_IFREG|0644, st_size=447896, ...}) = 0
mmap(NULL, 2545832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 
0) = 0x7feb9e38d000
mprotect(0x7feb9e3f7000, 2097152, PROT_NONE) = 0
mmap(0x7feb9e5f7000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x6a000) = 0x7feb9e5f7000
mmap(0x7feb9e5fa000, 2216, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7feb9e5fa000
close(9)                                = 0
munmap(0x7febd7399000, 57427)           = 0
rt_sigaction(SIGSEGV, {0x7febd70e3420, [], SA_RESTORER, 0x7febd457e7b0}, 
{0x47ccc0, [SEGV], SA_RESTORER|SA_RESTART, 0x7febd457e7b0}, 8) = 0
futex(0x1afa084, FUTEX_WAIT_PRIVATE, 1, NULL^C <unfinished ...>
foo at bar:~$ process 3863: arguments to dbus_connection_send() were 
incorrect, assertion "connection != NULL" failed in file 
dbus-connection.c line 3099.
This is normally a bug in some application using the D-Bus library.
*** glibc detected *** pidgin: free(): invalid pointer: 
0x0000000001b2cc20 ***
======= Backtrace: =========
/lib/libc.so.6[0x7febd428f1b8]
/lib/libc.so.6(cfree+0x76)[0x7febd4290cf6]
/usr/lib/libpurple.so.0(purple_core_quit+0x145)[0x7febd53b2885]
/lib/libc.so.6[0x7febd424f190]
/lib/libpthread.so.0(pthread_cond_wait+0xb7)[0x7febd457ac07]
/usr/lib/libglib-2.0.so.0(g_once_init_enter_impl+0xb3)[0x7febd4a712b3]
/usr/lib/gstreamer-0.10/libgsttaglib.so(gst_tag_lib_mux_get_type+0x2c)[0x7feb9e5ff59c]
/usr/lib/gstreamer-0.10/libgsttaglib.so(gst_id3v2_mux_get_type+0x44)[0x7feb9e6004d4]
/usr/lib/gstreamer-0.10/libgsttaglib.so(gst_id3v2_mux_plugin_init+0x9)[0x7feb9e600559]
/usr/lib/gstreamer-0.10/libgsttaglib.so[0x7feb9e5ff549]
/usr/lib/libgstreamer-0.10.so.0[0x7febd70e3677]
/usr/lib/libgstreamer-0.10.so.0(gst_plugin_load_file+0x5e7)[0x7febd70e4387]
/usr/lib/libgstreamer-0.10.so.0[0x7febd70edf9b]
/usr/lib/libgstreamer-0.10.so.0(gst_registry_scan_path+0xe4)[0x7febd70ee0b4]
/usr/lib/libgstreamer-0.10.so.0[0x7febd70a7554]
/usr/lib/libgstreamer-0.10.so.0[0x7febd70a77af]
/usr/lib/libgstreamer-0.10.so.0[0x7febd70a9226]
/usr/lib/libglib-2.0.so.0(g_option_context_parse+0x510)[0x7febd4a56640]
/usr/lib/libgstreamer-0.10.so.0(gst_init_check+0xed)[0x7febd70a89ad]
pidgin[0x49b276]
pidgin[0x47cb64]
/usr/lib/libpurple.so.0(purple_core_init+0x2a2)[0x7febd53b2b72]
pidgin(main+0x4e7)[0x47d237]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7febd423b5a6]
pidgin[0x430779]
======= Memory map: ========
00400000-004d3000 r-xp 00000000 08:05 868645                             
/usr/bin/pidgin
006d3000-006d8000 rw-p 000d3000 08:05 868645                             
/usr/bin/pidgin
006d8000-006d9000 rw-p 006d8000 00:00 0
01afa000-02109000 rw-p 01afa000 00:00 0                                  
[heap]
7feb9e38d000-7feb9e3f7000 r-xp 00000000 08:05 918226                     
/usr/lib/libtag.so.1.5.0
7feb9e3f7000-7feb9e5f7000 ---p 0006a000 08:05 918226                     
/usr/lib/libtag.so.1.5.0
7feb9e5f7000-7feb9e5fa000 rw-p 0006a000 08:05 918226                     
/usr/lib/libtag.so.1.5.0
7feb9e5fa000-7feb9e5fb000 rw-p 7feb9e5fa000 00:00 0
7feb9e5fb000-7feb9e606000 r-xp 00000000 08:05 950642                     
/usr/lib/gstreamer-0.10/libgsttaglib.so
7feb9e606000-7feb9e806000 ---p 0000b000 08:05 950642                     
/usr/lib/gstreamer-0.10/libgsttaglib.so
7feb9e806000-7feb9e807000 rw-p 0000b000 08:05 950642                     
/usr/lib/gstreamer-0.10/libgsttaglib.so
7feb9e807000-7feb9e84a000 r-xp 00000000 08:05 917656                     
/usr/lib/libsoup-2.4.so.1.2.0
7feb9e84a000-7feb9ea49000 ---p 00043000 08:05 917656                     
/usr/lib/libsoup-2.4.so.1.2.0
7feb9ea49000-7feb9ea4c000 rw-p 00042000 08:05 917656                     
/usr/lib/libsoup-2.4.so.1.2.0
7feb9ea4c000-7feb9ea53000 r-xp 00000000 08:05 950379                     
/usr/lib/gstreamer-0.10/libgstsouphttpsrc.so
7feb9ea53000-7feb9ec53000 ---p 00007000 08:05 950379                     
/usr/lib/gstreamer-0.10/libgstsouphttpsrc.so
7feb9ec53000-7feb9ec54000 rw-p 00007000 08:05 950379                     
/usr/lib/gstreamer-0.10/libgstsouphttpsrc.so
7feb9ec54000-7feb9ec58000 r-xp 00000000 08:05 950474                     
/usr/lib/gstreamer-0.10/libgstaudiorate.so
7feb9ec58000-7feb9ee58000 ---p 00004000 08:05 950474                     
/usr/lib/gstreamer-0.10/libgstaudiorate.so
7feb9ee58000-7feb9ee59000 rw-p 00004000 08:05 950474                     
/usr/lib/gstreamer-0.10/libgstaudiorate.so
7feb9ee59000-7feb9ee5d000 r-xp 00000000 08:05 950641                     
/usr/lib/gstreamer-0.10/libgstvideobalance.so
7feb9ee5d000-7feb9f05c000 ---p 00004000 08:05 950641                     
/usr/lib/gstreamer-0.10/libgstvideobalance.so
7feb9f05c000-7feb9f05d000 rw-p 00003000 08:05 950641                     
/usr/lib/gstreamer-0.10/
\

At one point I also got this message:

/
process 3444: arguments to dbus_connection_send() were incorrect, 
assertion "connection != NULL" failed in file dbus-connection.c line 3099.
This is normally a bug in some application using the D-Bus library.

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.10/libgsttaglib.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.
\

Removing the gstreamer0.10-ffmpeg package did not solve the problem, but 
after removing gstreamer0.10-plugins-good (which includes 
/usr/lib/gstreamer-0.10/libgsttaglib.so and is needed for the sound 
support) I can now load Pidgin and it works fine (apart from the missing 
sound).

I do not have any third-party packages installed, and all my packages 
are the latest version (for testing / squeeze).

Best regards,
Edwin Taylor





More information about the Pkg-gstreamer-maintainers mailing list