Segmentation fault when playing music mp3
#1
Exclamation 
Dist: Gentoo 2007.0 fully updated
Arch: i686
Install method: manual/ebuild
SVN Revision: 13982


Whenever I try to play a mp3 xbmc crashes with segmentation fault.

Debug log
Backtrace

Specs
CPU0: Intel® Pentium® 4 CPU 3.00GHz
CPU1: Intel® Pentium® 4 CPU 3.00GHz
RAM: 1Gb
Kerne: Linux Genesis 2.6.24-gentoo-r4 #1 SMP

I have tried vith several other mp3's. and still segfault
Video Playback works fine.

if more info is needed. please tell me.
//Alphacube
Reply
#2
Hmm... when trying some flac files I get this error
ALSA lib pcm_dmix.c:996Sadsnd_pcm_dmix_open) unable to open slave

Don't know why yet...but I'll keep on googling

And Im now up to Rev 13986.

wish me luck Nod
//Alphacube
Reply
#3
Suddenly FLAC playback works...

but mp3 still segfaults...=(
//Alphacube
Reply
#4
Can you try to rebuild with USE=debug and repost your backtrace? Also, make sure the file /usr/local/share/xbmc/system/players/paplayer/MADCodec-i486-linux.so exists.
Reply
#5
Rainbow 
Thnx althekiller for taking a look.

Here's the backtrace
And the debug log again

And yes MADCodec-i486-linux.so exists in
/usr/share/xbmc/system/players/paplayer/MADCodec-i486-linux.so
//Alphacube
Reply
#6
I made an strace to but ended up with 51Mb textfile.
if it could be of intrest just poke me.
//Alphacube
Reply
#7
Big Grin 
Here's a link to the strace log

Enjoy Big Grin
//Alphacube
Reply
#8
Hmm, seems the ebuild doesn't handle the debug flag properly. Any chance you can grab sources and compile yourself?
Reply
#9
np give me an hour Cool
//Alphacube
Reply
#10
althekiller Wrote:Hmm, seems the ebuild doesn't handle the debug flag properly. Any chance you can grab sources and compile yourself?

hmm... when you say it I think I used the xbmc bin which is just a bash script that runs /usr/share/xbmc/xbmc.bin -q

will try the xbmc.bin directly
//Alphacube
Reply
#11
here's the full output of gdb when I run /path/to /xbmc.bin directly and I see the debug info on the top

gdb bt

and why not yet another logfile
//Alphacube
Reply
#12
Ok this is what makes things intressting. ^^
I downloaded it again as a regular user run build.sh enabled debug in settings -> System
played an mp3 file and got "ALSA lib pcm_dmix.c:996: (snd_pcm_dmix_open) unable to open slave"

well it does'nt segfault anymore Confused

and I used the same rev as my system wide installation

The logfile

any clues someone...
//Alphacube
Reply
#13
You either have a bad ~/.asoundrc file or something has a lock on your output device.
Reply
#14
tought so too...but movies play fine and using external app works fine....even the klick sound when walking trough the menus work fine...

Well, I'l poke around little more
//Alphacube
Reply
#15
I'd go with what Al said, pretty sure it's a bad .asoundrc file. See my post here
Reply

Logout Mark Read Team Forum Stats Members Help
Segmentation fault when playing music mp30