Segmentation fault when playing music mp3 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Segmentation fault when playing music mp3 (/showthread.php?tid=34662) Pages:
1
2
|
Segmentation fault when playing music mp3 - alphacube - 2008-07-08 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 - 2008-07-08 Hmm... when trying some flac files I get this error ALSA lib pcm_dmix.c:996snd_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 - alphacube - 2008-07-08 Suddenly FLAC playback works... but mp3 still segfaults...=( - althekiller - 2008-07-09 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. - alphacube - 2008-07-09 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 - 2008-07-09 I made an strace to but ended up with 51Mb textfile. if it could be of intrest just poke me. - alphacube - 2008-07-09 Here's a link to the strace log Enjoy - althekiller - 2008-07-09 Hmm, seems the ebuild doesn't handle the debug flag properly. Any chance you can grab sources and compile yourself? - alphacube - 2008-07-09 np give me an hour - alphacube - 2008-07-09 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 - 2008-07-09 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 - 2008-07-09 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 and I used the same rev as my system wide installation The logfile any clues someone... - althekiller - 2008-07-09 You either have a bad ~/.asoundrc file or something has a lock on your output device. - alphacube - 2008-07-09 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 - Aenima99x - 2008-07-09 I'd go with what Al said, pretty sure it's a bad .asoundrc file. See my post here |