[LINUX] xbmc crashes when i start video playback from time to time
#1
Hi
Every now and then xbmc crashes when i start playback of video. There seems to be no connection to any specific files. It happens on both network shares and local files. Both rar and mkv/m2ts/avi.

Here's xbmc log:
http://pastebin.ubuntu.com/539390/

Nvidia ion2 system running on ubuntu 10.4 lucid. I'm using x-swat nvidia drivers.
Code:
unxbmc@xbmc:~$ uname -a
Linux xbmc 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11 UTC 2010 x86_64 GNU/Linux

Fresh install yesterday.

Edit:
Backtrace with gdb:
http://pastebin.com/i0Hgjbk2
Reply
#2
Suffering from the same problem, and if I'm not mistaken we're on the same hardware; ASUS EB1501p.

Comes and goes, but if I've been able to watch one video without problems I'm able to watch more videos without problems until i restart the computer.

If I have this problem, I might have to restart the box 10 times or more to get it working again.

Could post pastebin of the xbmc.log if it'll help.
Reply
#3
Yes, we have the same hw.

saldot Wrote:Could post pastebin of the xbmc.log if it'll help.
You should backtrace aswell, so dev could have a look at what's happening on your box too.
To do this you simply start the box as usual, log in to ssh and do this:
Code:
gdb -p `pidof xbmc.bin`
enter "continue" in gdb, make xbmc crash.

In gdb enter "set logging on" then enter "thread apply all bt" after making it crash. press enter to go through the list, and q to quit when youre done.
then you have a gdb.txt in your home directory with the backtrace in it.

Throw up both gdb.txt and xbmc.log
Sorry if i made a mess of this hehe Rolleyes
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
#4
Had a new thing today, it froze when i started playback. So i did another backtrace before crashing it. Doing backtrace while crashing it with "killall -SEGV xbmc.bin" i got Segmentation fault.

Here are the logs:

gdb while being froze:
http://pastebin.com/yemPu88A

xbmc crashlog:
http://pastebin.ubuntu.com/542100/

I started playback, it changed from 60hz to 24hz, and froze. all i got was a black screen.
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
#5
sa mentioned in trac, we also experience this issue now and then.
http://trac.xbmc.org/ticket/10885
Reply
#6
I had the same problem and the errors in the logfile looked almost the same so maybe this is of any help for you guys since it looks like I solved the problem on my machine. I used this guide to make xorg.conf. In the process I created the modes.txt file which reads this on my configuration:

Code:
# --- Modes in ModePool for Panasonic-TV (DFP-1) ---
# "nvidia-auto-select" : 1920 x 1080 @  50.0 Hz  (from: EDID)
# "1920x1080"          : 1920 x 1080 @  50.0 Hz  (from: EDID)
# "1920x1080_50"       : 1920 x 1080 @  50.0 Hz  (from: EDID)
# "1920x1080_60"       : 1920 x 1080 @  60.0 Hz  (from: EDID)
# "1920x1080_60_0"     : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16) (from: EDID)
# "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32) (from: EDID)
# "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5) (from: EDID)
# "1920x1080_50i"      : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20) (from: EDID)
# "1280x720"           : 1280 x  720 @  60.0 Hz  (from: EDID)
# "1280x720_60"        : 1280 x  720 @  60.0 Hz  (from: EDID)
# "1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4) (from: EDID)
# "1280x720_50"        : 1280 x  720 @  50.0 Hz  (from: EDID)
# "720x576"            :  720 x  576 @ 50 Hz (CEA-861B Format 18) (from: EDID)
# "720x576_50"         :  720 x  576 @ 50 Hz (CEA-861B Format 18) (from: EDID)
# "720x576_50i"        : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 22) (from: EDID)
# "720x480"            :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3) (from: EDID)
# "720x480_60"         :  720 x  480 @ 59.94/60 Hz (CEA-861B Format 3) (from: EDID)
# "720x480_60i"        : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 7) (from: EDID)
# "640x480"            :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
# "640x480_60"         :  640 x  480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
# --- End of ModePool for Panasonic-TV (DFP-1): ---

I then edited the xorg.conf and edited the Screen Section to look like this:

Code:
Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60_0" "1920x1080_24" "1920x1080_50"
        EndSubSection
EndSection

I figured that would be right considering I use the 50Hz, 60Hz and 24p mode on my Panasonic TV. However: XBMC kept on crashing while switching modes and I couldn't figure out why. I then deleted the "1920x1080_50" mode and now my Screen Section looks like this:

Code:
Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_60_0" "1920x1080_24"
        EndSubSection
EndSection

Now my XBMC doesn't crash anymore and everything has been working fine since last night when I edited my xorg.conf. I don't know whether you have the same problem but maybe it is of any help. I also don't know why I can't set the 50Hz mode in the xorg.conf but everything now works fine: XBMC sets my TV in the right mode and switches between 50Hz, 60Hz and 24p mode.
Reply
#7
I am using that script already.
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
#8
Reading other forums about the Asus eb1501p it seems some people have problems with the 1501p in win7 with XBMC aswell.. adding additional RAM seems to have solved it for most of them. Adding another 2GB, getting a total of 4GB did nothing in XBMC live for me though.

Found another interesting forum post about the ION2 and XBMC in Win7. Some people have been getting the exact same problems I (We?) am having, video hangs just after starting to play it.
What fixed it for them was to set maximum perfomance in the nVidia Drivers.

The same option in linux seems to be stored in the /etc/X11/xorg.conf file.
http://tutanhamon.com.ua/technovodstvo/N...IX-driver/

Editing my xorg.conf file by adding the "Option" below seems to have solved it for me.. have only given it a few tests so far, will edit this post if the errors return.
Feel free to try it and see if it solves your problems newphreak.

Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefault=0x1; PowerMizerDefaultAC=0x1"
EndSection
Reply
#9
Posted a small post on nvnews now, hope they notice it and help me fix nvidia drivers for 64bit hehe.
http://www.nvnews.net/vbulletin/showthre...?p=2390611
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
#10
I have same crashing issue when XBMC switches from 60 Hz menu to 24 Hz movie playback.

I'll try the
Code:
Option         "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefault=0x1; PowerMizerDefaultAC=0x1"
out and report back if it helps or not.
If I helped out pls give me a +

A bunch of XBMC instances, big-ass screen in the basement + a 20TB FreeBSD, ZFS server.
Reply
#11
I have the same issue I have not tried the sugestions. Is this a issue with xbmc, nvidia drivers, or xorg?
Reply
#12
I haven't reached FernetMenta to discuss what it is. I know he have found the cause of it, but i don't know where it is. I only know it would be a hard task to solve it. And i don't know the status on the work on it.

For now you could either disable Match display refresh rate to video, or change the gui to 24hz.
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
#13
you can follow progress here; 468 (PR)

note! if you have nothing to contribute do not post there, it's dev land!
Reply
#14
Oh, thanks a bunch spiff, that answers allot of my questions! Smile
Edit:
So glad this is being worked on, this bug is annoying as hell. Specially since in eden it started to freeze instead of just crashing and restarting xbmc.
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] xbmc crashes when i start video playback from time to time0