XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-10-12, 07:33   #1
pancus
Junior Member
 
Join Date: Jun 2007
Posts: 26
pancus is on a distinguished road
Default Trying to play video crashes out

First off let me say I've been quietly playing with the SVN builds and I'm floored at how fast this was developed. Good job!

I have been building this in Gentoo (I know it's not Ubuntu/officially supported) and everything has been working fine. Recently, in the last two weeks or so, trying to play any videos would make xbmc crash. The only error it would spit out is "Floating point exception". Everything else seems to work fine.

My system is a p4 2.8g, nvidia 6600GT and 1.5g of ram so it has enough juice. Any more info/tests you want me to run just ask.

On a side note I have to manually add -llzo2 as I don't think it's being detected, I used to have to add -lasound as well but that was fixed.
pancus is offline   Reply With Quote
Old 2007-10-16, 08:23   #2
pancus
Junior Member
 
Join Date: Jun 2007
Posts: 26
pancus is on a distinguished road
Default

I compiled another version from the SVN and here's the strace -f

Code:
[pid 22677] <... gettimeofday resumed> {1192511327, 210043}, NULL) = 0
[pid 22678] <... read resumed> 0xb11d5d64, 32) = -1 EAGAIN (Resource temporarily unavailable)
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] poll( <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22677] futex(0x8aa0c40, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1) = 0
[pid 22677] gettimeofday({1192511327, 210575}, NULL) = 0
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8aa0c40, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1) = 0
[pid 22677] gettimeofday({1192511327, 210856}, NULL) = 0
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c6bba0, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1) = 0
[pid 22677] gettimeofday({1192511327, 211710}, NULL) = 0
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8aa0c40, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1) = 0
[pid 22677] gettimeofday({1192511327, 212143}, NULL) = 0
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c6bba0, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1) = 0
[pid 22677] gettimeofday({1192511327, 212435}, NULL) = 0
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1) = 0
[pid 22677] futex(0x8aa0c40, FUTEX_WAKE, 1 <unfinished ...>
[pid 22662] <... nanosleep resumed> {0, 100000000}) = 0
[pid 22678] <... poll resumed> [{fd=7, events=POLLIN, revents=POLLIN}], 1, -1) = 1
[pid 22677] <... futex resumed> )       = 0
[pid 22662] futex(0x8bfd7b8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] read(7,  <unfinished ...>
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22662] <... futex resumed> )       = 0
[pid 22678] <... read resumed> "\1\0\255\0\0\0\0\0\0\0X\2\1\1\36\10\0\36\217\277\30\36"..., 32) = 32
[pid 22677] <... futex resumed> )       = 0
[pid 22662] futex(0x8c60688, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] write(7, "k\5\3\0\0\0X\2\1\1\2\0_\0\2\0\7\0\0\1+\0\1\0", 24 <unfinished ...>
[pid 22677] futex(0x8b978d0, FUTEX_WAIT, 2, NULL <unfinished ...>
[pid 22662] <... futex resumed> )       = 0
[pid 22678] <... write resumed> )       = 24
[pid 22662] futex(0x8b978d0, FUTEX_WAKE, 1 <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22678] read(7,  <unfinished ...>
[pid 22662] <... futex resumed> )       = 1
[pid 22677] futex(0x8b978d0, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... read resumed> "\1\2\260\0\0\0\0\0\7\0`\0\0\36\217\277\30\36\217\277\320"..., 32) = 32
[pid 22662] futex(0x8955c88, FUTEX_WAKE, 1 <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22678] write(8, "<\3\2\0\0\0 \1+\0\1\0", 12 <unfinished ...>
[pid 22662] <... futex resumed> )       = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... write resumed> )       = 12
[pid 22662] futex(0x8b64648, FUTEX_WAKE, 1 <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22678] read(8,  <unfinished ...>
[pid 22662] <... futex resumed> )       = 0
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... read resumed> "\1\2\22\0\0\0\0\0\7\0`\0\0\36\217\277\30\36\217\277\320"..., 32) = 32
[pid 22662] gettimeofday( <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22678] shutdown(8, 2 /* send and receive */ <unfinished ...>
[pid 22662] <... gettimeofday resumed> {1192511327, 240422}, NULL) = 0
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... shutdown resumed> )    = 0
[pid 22662] nanosleep({0, 0},  <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22678] close(8 <unfinished ...>
[pid 22662] <... nanosleep resumed> {0, 0}) = 0
[pid 22677] gettimeofday( <unfinished ...>
[pid 22678] <... close resumed> )       = 0
[pid 22662] gettimeofday( <unfinished ...>
[pid 22677] <... gettimeofday resumed> {1192511327, 240677}, NULL) = 0
[pid 22678] write(7, "<\5\2\0\0\0\0\1+\1\1\0", 12 <unfinished ...>
[pid 22662] <... gettimeofday resumed> {1192511327, 240721}, NULL) = 0
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... write resumed> )       = 12
[pid 22662] futex(0x8955d70, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 22677] <... futex resumed> )       = 0
[pid 22678] read(7,  <unfinished ...>
[pid 22677] futex(0x8aa0c40, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... read resumed> "\1\2\262\0\0\0\0\0\7\0`\0\0\36\217\277\30\36\217\277\320"..., 32) = 32
[pid 22677] <... futex resumed> )       = 0
[pid 22678] shutdown(7, 2 /* send and receive */ <unfinished ...>
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... shutdown resumed> )    = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] close(7 <unfinished ...>
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... close resumed> )       = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] munmap(0xb6ba7000, 23772 <unfinished ...>
[pid 22677] gettimeofday( <unfinished ...>
[pid 22678] <... munmap resumed> )      = 0
[pid 22677] <... gettimeofday resumed> {1192511327, 241727}, NULL) = 0
[pid 22678] rt_sigaction(SIGSEGV, NULL,  <unfinished ...>
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... rt_sigaction resumed> {0xb7b486d3, [], 0}, 8) = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] rt_sigaction(SIGSEGV, {SIG_DFL},  <unfinished ...>
[pid 22677] futex(0x8c6bba0, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... rt_sigaction resumed> NULL, 8) = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] rt_sigaction(SIGBUS, NULL,  <unfinished ...>
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... rt_sigaction resumed> {0xb7b486d3, [], 0}, 8) = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] rt_sigaction(SIGBUS, {SIG_DFL},  <unfinished ...>
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... rt_sigaction resumed> NULL, 8) = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] rt_sigaction(SIGFPE, NULL,  <unfinished ...>
[pid 22677] gettimeofday( <unfinished ...>
[pid 22678] <... rt_sigaction resumed> {SIG_DFL}, 8) = 0
[pid 22677] <... gettimeofday resumed> {1192511327, 242131}, NULL) = 0
[pid 22678] rt_sigaction(SIGQUIT, NULL,  <unfinished ...>
[pid 22677] futex(0x8c4f6b8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... rt_sigaction resumed> {0xb7b486d3, [], 0}, 8) = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] rt_sigaction(SIGQUIT, {SIG_DFL},  <unfinished ...>
[pid 22677] futex(0x8aa0c40, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... rt_sigaction resumed> NULL, 8) = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] tgkill(22662, 22678, SIGFPE <unfinished ...>
[pid 22677] futex(0x8c9aaf8, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... tgkill resumed> )      = 0
[pid 22677] <... futex resumed> )       = 0
[pid 22678] sigreturn( <unfinished ...>
[pid 22677] futex(0x8c60688, FUTEX_WAKE, 1 <unfinished ...>
[pid 22678] <... sigreturn resumed> )   = ? (mask now [HUP INT QUIT PIPE ALRM TERM CHLD VTALRM PROF WINCH])
[pid 22677] <... futex resumed> )       = 0
[pid 22678] --- SIGFPE (Floating point exception) @ 0 (0) ---
Process 22678 detached
[pid 22672] <... futex resumed> )       = ? ERESTARTSYS (To be restarted)
[pid 22663] <... futex resumed> )       = ? ERESTART_RESTARTBLOCK (To be restarted)
[pid 22662] <... futex resumed> )       = ? ERESTARTSYS (To be restarted)
[pid 22672] +++ killed by SIGFPE +++
Process 22672 detached
[pid 22663] +++ killed by SIGFPE +++
Process 22663 detached
[pid 22677] +++ killed by SIGFPE +++
Process 22677 detached
[pid 22679] +++ killed by SIGFPE +++
Process 22679 detached
+++ killed by SIGFPE +++
Process 22662 detached
pancus is offline   Reply With Quote
Old 2007-10-16, 17:25   #3
d4rk
Team-XBMC Developer
 
d4rk's Avatar
 
Join Date: May 2007
Location: Albuquerque
Posts: 500
d4rk is on a distinguished road
Default

Did you do a make clean before you recompiled? If you did and it still crashes, please paste your xbmc.log, console log and the gdb backtrace of the crash.

Edit: Also make sure that the latest *.so files under system have been copied over.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


d4rk is offline   Reply With Quote
Old 2007-10-17, 22:16   #4
pancus
Junior Member
 
Join Date: Jun 2007
Posts: 26
pancus is on a distinguished road
Default

For good measure I blew away everything and redownloaded the svn.

http://www.pagpaintball.com/tempfolder/xbmcdebug.bz2
http://www.pagpaintball.com/tempfolder/xbmc.log.bz2

I started xbmc, went straight to video and tried to play an avi. I'll get a backtrace on here when I get a chance.

Incidentally, I saw in the this in the svn log
Code:
fixed: correctly check for liblzo and not liblzo2 to prevent certain linking errors if only liblzo2 is found.
I only have lzo2 installed and it dies when compiling, so I edit the makefile and change -llzo to -llzo2, rerun make and it finishes fine.
pancus is offline   Reply With Quote
Old 2007-10-19, 17:01   #5
XyLo
Junior Member
 
Join Date: Oct 2007
Posts: 4
XyLo is on a distinguished road
Default

I have the same problem on Gentoo. I can compile XBMC without any modifications or problems when I _only_ have lzo 1.08 installed. If lzo 2.02 is installed the compilation fails with a reference error, without lzo 1.08 it already fails at configure. If I want to compile XBMC with 2.02 I have to use the -llzo2 trick mentioned by pancus.

I did a backtrace of XBMC compiled with 1.08 (without 2.02 installed), I hope I did it right:
http://rafb.net/p/Xx8Trn16.html
XyLo is offline   Reply With Quote
Old 2007-10-19, 17:50   #6
pancus
Junior Member
 
Join Date: Jun 2007
Posts: 26
pancus is on a distinguished road
Default

I just threw one up too.

http://rafb.net/p/bD7iPL45.html

Hope this helps.
pancus is offline   Reply With Quote
Old 2007-10-19, 20:04   #7
XyLo
Junior Member
 
Join Date: Oct 2007
Posts: 4
XyLo is on a distinguished road
Default

After taking a second look at the traceback I started fiddling around with the use-flags of libsdl. I added 'oss' and re-emerged libsdl, started XBMC and it gave me a green screen instead of the occasional segmentation fault. Doing a search for green screens directed me to this topic:
http://xbmc.org/forum/showthread.php...ighlight=green

The post by HendrikDK tells about the GeForce FX and the problems with it not being compatible. I happen to have a GeForce FX 5650 Go in the laptop I'm testing this on, so I tried the suggested 10133 revision. This revision gives me the usual segmentation fault instead of the green screen. I'm going to try if I got more luck with one of my desktops.
XyLo is offline   Reply With Quote
Old 2007-10-25, 10:18   #8
pancus
Junior Member
 
Join Date: Jun 2007
Posts: 26
pancus is on a distinguished road
Default

Unfortunately I still have this problem. I tried a few things to no avail, any advice on tracking this one down?
pancus is offline   Reply With Quote
Old 2007-10-30, 19:12   #9
hrak
Member
 
Join Date: Oct 2007
Posts: 42
hrak is on a distinguished road
Default

I have the same "Floating Point Exception" problem on Gentoo as the topicstarter. libsdl is already compiled with USE flag oss, so that doesn't fly for me. The crash happens in libasound, which probably expains why switching to oss fixed the problem for XyLo.

Piece of log and a backtrace can be found here: http://home.react.nl/~hans/xbmc/asound_crash.txt
hrak is offline   Reply With Quote
Old 2007-10-30, 19:55   #10
hrak
Member
 
Join Date: Oct 2007
Posts: 42
hrak is on a distinguished road
Default

Quick follow-up: For some strange reason compiling media-libs/alsa-lib with USE flag 'debug' solves the floating point exception. I have a working XBMC now

I'll look for an explanation later today!
hrak is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:05.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project