Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232505 - media-libs/gstreamer segfaults
Summary: media-libs/gstreamer segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-20 18:34 UTC by scanpat
Modified: 2009-05-16 22:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description scanpat 2008-07-20 18:34:09 UTC
Pidgin randomly crashes when messages are sent or received.



Reproducible: Sometimes

Steps to Reproduce:
1.Launch Pidgin
2.Send messages until the crash
3.

Actual Results:  
Segmentation fault

Expected Results:  
Nothing

Exctract of backtrace : 
...
[New Thread 0x40887950 (LWP 11070)]

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
[Switching to Thread 0x41088950 (LWP 11069)]
0x00007faeb15f5286 in ?? () from /usr/lib/libgstreamer-0.10.so.0

(everything is ok before this segfault)
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-20 18:39:16 UTC
Please attach emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-20 20:28:31 UTC
1) This isn't critical.
2) Crashes are seldom random.
Comment 3 scanpat 2008-07-21 05:37:44 UTC
(In reply to comment #1)
> Please attach emerge --info
> 

Portage 2.2_rc1 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sat, 19 Jul 2008 10:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/sunrise /usr/local/overlay/perso /usr/local/overlay/berkano-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr apache2 apic arts berkdb bitmap-fonts cairo cdr clflush cli cmov constant_tsc cracklib crypt cups cx16 cx8 dbus de directfb dri ds_cpl dts dvd dvdr dvdread eds emboss encode esd est evo fam ffmpeg firefox flac fortran fpu fxsr gdbm gif gimp glitz gnome gnutls gpm gstreamer gtk hal hddtemp ht httpd iconv ieee1394 ipv6 isdnlog java jpeg kerberos lahf_lm ldap live lm lm_sensors mad matroska mca mce midi mikmod mmx monitor mono mp3 mp4 mpeg msn msr mtrr mudflap musicbrainz nautilus ncurses nls nptl nptlonly nvidia nx ogg opengl openmp oss pae pam pat pcre pdf perl pge php png pni ppds pppd pse pse36 pulseaudio python qt3 qt3support qt4 quicktime readline reflection rtsp scanner sdl sep session simplexml spell spl ss sse sse2 ssl ssse3 stream svg syscall tcpd theora threads tiff tm tm2 truetype truetype-fonts tsc type1 type1-fonts unicode usb v4l vcd vme vmx vorbis wxwindows x264 xml xorg xtpr xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x 	ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 	trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="scanner keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 scanpat 2008-07-21 05:41:27 UTC
(In reply to comment #2)
> 1) This isn't critical.
> 2) Crashes are seldom random.
> 

1) I can't use Pidgin, so I think it looks critial
2) Yes, crashes are seldom random *but* it happends nearly every 2 messages !
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-21 20:10:54 UTC
Looks like you have a gstreamer problem. Could you `emerge gentoolkit' and run its revdep-rebuild utility please?
Comment 6 scanpat 2008-07-21 21:16:51 UTC
(In reply to comment #5)
> Looks like you have a gstreamer problem. Could you `emerge gentoolkit' and run
> its revdep-rebuild utility please?
> 

Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-21 21:48:24 UTC
Thanks. Does gstreamer work otherwise?
Comment 8 scanpat 2008-07-22 16:53:44 UTC
(In reply to comment #7)
> Thanks. Does gstreamer work otherwise?
> 

Today, I have tried to read some MP3 with totem in debug mode.
I had a segfault like under Pidgin : 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x40824950 (LWP 30372)]
0x00007f4277f51286 in ?? () from /usr/lib/libgstreamer-0.10.so.0

=> The trouble seems to be in gstreamer
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-22 18:10:41 UTC
It's probably a good idea to obtain a more useable backtrace[1].


[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 10 scanpat 2008-07-23 16:59:04 UTC
(In reply to comment #9)
> It's probably a good idea to obtain a more useable backtrace[1].
> 
> 
> [1] http://www.gentoo.org/proj/en/qa/backtraces.xml
> 

(gdb) bt

#0  0x00007f1c4b287286 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#1  0x00007f1c4b287809 in gst_ghost_pad_set_target () from /usr/lib/libgstreamer-0.10.so.0
#2  0x00007f1c3e01e67c in ?? () from /usr/lib64/gstreamer-0.10/libgstgconfelements.so
#3  0x00007f1c3e01c148 in ?? () from /usr/lib64/gstreamer-0.10/libgstgconfelements.so
#4  0x00007f1c3e01c553 in ?? () from /usr/lib64/gstreamer-0.10/libgstgconfelements.so
#5  0x00007f1c4b27fc7a in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#6  0x00007f1c4b2800e0 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#7  0x00007f1c4b272e17 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#8  0x00007f1c4b27fc7a in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#9  0x00007f1c4b2800e0 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#10 0x00007f1c4b272e17 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#11 0x00007f1c4b27fc7a in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#12 0x00007f1c4b2800e0 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#13 0x00007f1c4b272e17 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#14 0x00007f1c4b27fc7a in gst_element_change_state () from /usr/lib/libgstreamer-0.10.so.0
#15 0x00007f1c4b2800e0 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#16 0x00007f1c3e22b3ad in ?? () from /usr/lib64/gstreamer-0.10/libgstplaybin.so
#17 0x00007f1c3e22b71f in ?? () from /usr/lib64/gstreamer-0.10/libgstplaybin.so
#18 0x00007f1c3e2378e7 in ?? () from /usr/lib64/gstreamer-0.10/libgstplaybin.so
#19 0x00007f1c42928955 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x00007f1c42936e36 in ?? () from /usr/lib/libgobject-2.0.so.0
#21 0x00007f1c429380b3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#22 0x00007f1c4293827e in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0x00007f1c42928955 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0x00007f1c42936e36 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0x00007f1c429380b3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0x00007f1c4293827e in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x00007f1c4292c0c1 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0x00007f1c4b26d3f7 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#29 0x00007f1c4292cb64 in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#30 0x00007f1c4b2938fb in gst_pad_set_caps () from /usr/lib/libgstreamer-0.10.so.0
#31 0x00007f1c367a8dc5 in ?? () from /usr/lib64/gstreamer-0.10/libgstmpegaudioparse.so
#32 0x00007f1c4b294dc6 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#33 0x00007f1c4b295394 in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
#34 0x00007f1c3cbfbf36 in ?? () from /usr/lib64/gstreamer-0.10/libgstid3demux.so
#35 0x00007f1c4b294dc6 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#36 0x00007f1c4b295394 in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
#37 0x00007f1c3de0a08c in ?? () from /usr/lib64/gstreamer-0.10/libgstcoreelements.so
#38 0x00007f1c4b294dc6 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#39 0x00007f1c4b295394 in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
#40 0x00007f1c4b294dc6 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#41 0x00007f1c4b295394 in gst_pad_push () from /usr/lib/libgstreamer-0.10.so.0
#42 0x00007f1c4b92df95 in ?? () from /usr/lib/libgstbase-0.10.so.0
#43 0x00007f1c4b2aeecd in ?? () from /usr/lib/libgstreamer-0.10.so.0
#44 0x00007f1c42298649 in ?? () from /usr/lib/libglib-2.0.so.0
#45 0x00007f1c42296e9e in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x00007f1c43967037 in start_thread () from /lib/libpthread.so.0
#47 0x00007f1c41fc028d in clone () from /lib/libc.so.6
#48 0x0000000000000000 in ?? ()
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-07-26 19:27:53 UTC
Which version(s) are we talking about here?

`emerge portage-utils` and paste output of `qlist -CIv gst` please.
Comment 12 scanpat 2008-07-27 07:09:29 UTC
(In reply to comment #11)
> Which version(s) are we talking about here?
> 
> `emerge portage-utils` and paste output of `qlist -CIv gst` please.
> 

dev-python/gst-python-0.10.12
media-libs/gst-plugins-base-0.10.20
media-libs/gst-plugins-good-0.10.6
media-libs/gst-plugins-ugly-0.10.8
media-libs/gstreamer-0.10.20
media-plugins/gst-plugins-a52dec-0.10.6
media-plugins/gst-plugins-alsa-0.10.20
media-plugins/gst-plugins-cdparanoia-0.10.14
media-plugins/gst-plugins-dvdread-0.10.6
media-plugins/gst-plugins-esd-0.10.6
media-plugins/gst-plugins-faac-0.10.5
media-plugins/gst-plugins-faad-0.10.5-r1
media-plugins/gst-plugins-ffmpeg-0.10.2
media-plugins/gst-plugins-flac-0.10.6
media-plugins/gst-plugins-gconf-0.10.6
media-plugins/gst-plugins-gnomevfs-0.10.20
media-plugins/gst-plugins-libpng-0.10.6
media-plugins/gst-plugins-mad-0.10.6
media-plugins/gst-plugins-meta-0.10-r2
media-plugins/gst-plugins-mpeg2dec-0.10.6
media-plugins/gst-plugins-ogg-0.10.20
media-plugins/gst-plugins-oss-0.10.6
media-plugins/gst-plugins-pango-0.10.14
media-plugins/gst-plugins-pulse-0.9.7
media-plugins/gst-plugins-theora-0.10.14
media-plugins/gst-plugins-vorbis-0.10.14
media-plugins/gst-plugins-x-0.10.14
media-plugins/gst-plugins-xvideo-0.10.20
Comment 13 Edward Hervey 2008-12-12 19:31:50 UTC
Can you attach a compressed gstreamer debug log ?

# GST_DEBUG=3 pidgin > log 2>&1
... application runs and crashes
# bzip2 log
Comment 14 scanpat 2008-12-13 08:19:08 UTC
(In reply to comment #13)
> Can you attach a compressed gstreamer debug log ?
> 
> # GST_DEBUG=3 pidgin > log 2>&1
> ... application runs and crashes
> # bzip2 log
> 

With gstreamer-0.10.21, I don't have this trouble.
Comment 15 Olivier Crete (RETIRED) gentoo-dev 2009-05-16 22:29:42 UTC
I guess its fixed then