Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75638 - beep-media-player (bmp) crashes with SIGSEGV after running for unknown period of time
Summary: beep-media-player (bmp) crashes with SIGSEGV after running for unknown period...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 10:51 UTC by Juan
Modified: 2005-01-17 23:45 UTC (History)
1 user (show)

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


Attachments
gdb output as requested (gdb.txt,2.76 KB, text/plain)
2004-12-28 01:20 UTC, Juan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan 2004-12-25 10:51:12 UTC
After running for some period of time (it always crashes whilst I'm away), BMP crashes leaving this error messages:

(beep-media-player:5218): GLib-CRITICAL **: g_strsplit_set: assertion `string != NULL' failed
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe

Received SIGSEGV

This could be a bug in BMP. If you don't know why this happened, send a mail to us at beepmp-devel

BMP plays perfectly otherwise.

Reproducible: Always
Steps to Reproduce:
1. Launch BMP

Actual Results:  
After running for some period of time (it always crashes whilst I'm away so I
don't have any type of time frame), BMP crashes leaving this error messages:

(beep-media-player:5218): GLib-CRITICAL **: g_strsplit_set: assertion `string !=
NULL' failed
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe

Received SIGSEGV

This could be a bug in BMP. If you don't know why this happened, send a mail to
us at beepmp-devel

Expected Results:  
BMP should not crash.

This problem started when I upgraded to BMP 0.9.7-r1. I downgraded to 0.9.7
(known to work on my system) hoping this would solve my issue. I did not.

Here is my emerge info:

epitaph dracco # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-ck3 i686)
=================================================================
System uname: 2.6.9-ck3 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct  3 2004, 12:05:05)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays"
DISTDIR="/storage/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/storage/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://shadow.xdracco.net/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi aim alsa arts audiofile avi berkdb
bitmap-fonts cdparanoia cdr crypt cscope cups curl dga dio directfb dvd dvdr
dvdread emacs emacs-w3 encode exif fam fastcgi fbcon flac flash foomaticdb
fortran freetds ftp gb gd gif gimp gpm gps gstreamer gtk gtk2 gtkhtml guile icq
imagemagick imap imlib inifile innodb ipv6 jabber jpeg junit kde kerberos krb4
ladccalcms ldap leim libg++ libgda libwww mad maildir mikmod mmx motif mp3 mpeg
mpi msn mule nas ncurses network nls nvidia oggvorbis opengl optimize oscar oss
pam pdflib perl plotutils png pnp ppds python qt quicktime readline real ruby
samba sasl scanner sdl slang slp sndfile spell ssl svga tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts usb videos wmf wxwindows x86 xface xinerama
xml xml2 xosd xv xvid yahoo zeo zlib video_cards_nvidia linguas_en linguas_es"
Comment 1 Eric Shattow 2004-12-25 18:43:46 UTC
try...

CFLAGS="-march=athlon-xp -O2 -pipe -mno-sse"

...on beep-media-player and all its dependancies, then tell us if it's still crashing.  try doing 'gdb /usr/bin/beep-media-player', 'run', then when it crashes 'bt full' and attach the output as content type text to this bug.

I have a suspicion that this is a gcc 3.4.x compiler bug brought on by your imaginative use of compiler flags. see reference http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17990
Comment 2 Juan 2004-12-25 22:57:43 UTC
Recomiled with suggest compile flags;

app-arch/unzip
x11-libs/gtk+
x11-libs/pango
gnome-base/libglade
media-libs/libvorbis
media-libs/alsa-lib
media-sound/beep-media-player

I'll post results in due time.

Thanks
Comment 3 Juan 2004-12-26 11:59:01 UTC
Still crashes even with bmp and all of it's dependancies being built with the compile flag you gave me.

dracco@epitaph ~ $ beep-media-player

(beep-media-player:15017): GLib-CRITICAL **: g_strsplit_set: assertion `string != NULL' failed
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe

Received SIGSEGV

This could be a bug in BMP. If you don't know why this happened, send a mail to us at beepmp-devel@lists.sourceforge.net

Killed

Comment 4 Juan 2004-12-26 12:09:00 UTC
Scratch that last entry. I didn't follow your directions post emerge. Sorry. I'll post in due time...
Comment 5 Juan 2004-12-26 21:07:44 UTC
I'm going to say it was my cflags. I'm rebuilding my system with your suggested flags. It hasn't crashed yet but lately, it always crashed when I wasn't present. Mind leaving this open while I rebuild my system and test this at the same time?
Comment 6 Juan 2004-12-28 01:20:14 UTC
Created attachment 47016 [details]
gdb output as requested

It still crashes.
Comment 7 Juan 2004-12-28 13:02:57 UTC
It seems to be something with libmpg123. BMP doesn't crash when I tune into a *.pls stream.
Comment 8 Juan 2004-12-29 19:03:30 UTC
Unless you want me to continue testing this bmp issue, go ahead and close it. I decided to move on and try something else. I'll reinstall bmp if you want me to. Let me know.
Comment 9 Juan 2004-12-30 12:24:28 UTC
I found the culprit. I decided to try compiling my kernel without using the bundled ALSA drivers (I simply enabled Sound Support) and I installed the alsa-driver package available in portage.

Last night, I recompiled my kernel using the ALSA bundled with the kernel, compiled my driver built-in and let my player running all night without issues.

My player crashing on my also occured with Amarok so I figured it was a system issue and poked around remembering what I had done with ALSA.

So, this is probably an issue with the stand alone ALSA drivers? Either way, this bug is closed..
Comment 10 Eric Shattow 2004-12-30 15:32:39 UTC
confirmed, I'm using 'alsa-driver' from portage, and libmpg123 crashes.  disabling libmpg123 input plugin avoids crash.

it's interesting that you were able to work around this by using built-in kernel implementation of ALSA.

anyone else running into a crash with the mpeg input plugin for Beep Media Player?
Comment 11 Juan 2004-12-30 17:08:27 UTC
Uhg. Sorry for my horrible grammar.
Comment 12 Juan 2004-12-31 16:59:11 UTC
I suppose it's because i am using the gstream framework for amarok. Just a thought.
Comment 13 Juan 2005-01-07 16:29:02 UTC
Well, of all the players I tried, they all sucked so I resorted back to BMP. This time around there was a new mpg123 (mpg123-0.59s-r9) and so far, this seems to work.
Comment 14 Tony Vroon (RETIRED) gentoo-dev 2005-01-17 23:45:22 UTC
You reported this working, please reopen if you have any more issues. It seems that ALSA upstream fixed a few hang issues in the newest release.