crash to desktop when stopping playback
#1
Hello,

I've been having an issue with XBMC crashing to desktop / loginscreen, when stopping a movie during playback or when a movie ends (and hence stops)
This does not happen every time, but only once in a while.

***** OS INFO *******
Linux media 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
Ubuntu 10.04.1 LTS
********************
SVN:33778
Installed via PPA
All media used in playback are accessed from a SMB share on another pc

The problem has been occurring on Dharma Beta1, Beta2 and 9.04



XBMC.LOG.old http://pastebin.com/UU58jBUU

xbmc_crashlog
http://pastebin.com/yJfc4twj
Reply
#2
Crashes in ati's libgl, try upgrading the ati driver.
Reply
#3
bobo1on1 I'm currently using ati 10.9, but i had the problem on the previous release of the driver i.e. 10.8, 10.7 and 10.6 .
byt the way the gpu is a HD4550
Reply
#4
Can you start xbmc in a terminal, make it crash and then post the terminal output.
I think something called exit() here.
Reply
#5
bobo1on1 Wrote:Can you start xbmc in a terminal, make it crash and then post the terminal output.
I think something called exit() here.

ok I will try when I get back tonight
Reply
#6
If you're not starting xbmc with gdm directly, and you get the login screen after a crash, then xorg might have crashed.
Reply
#7
bobo1on1 Wrote:If you're not starting xbmc with gdm directly, and you get the login screen after a crash, then xorg might have crashed.

If I start xbmc from GDM I crashes back to the login screen, if I start it from within Ubuntu it crashes back to the desktop
Reply
#8
bobo1on1 Wrote:Can you start xbmc in a terminal, make it crash and then post the terminal output.
I think something called exit() here.

This is the terminal output when crashing XBMC when executed from terminal


media@media:/usr/share$ cd /usr/bin/
media@media:/usr/bin$ xbmc
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: Invalid argument
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hdmi:CARD=HDMI:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
ALSA lib conf.c:4617:(snd_config_expand) Parse arguments error: Invalid argument
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hdmi:CARD=HDMI:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
ERROR: Exception caught on main loop. Exiting
CRITSEC[0x8c432d0]: Trying to enter destroyed section.
CRITSEC[0x8c432d0]: Trying to leave destroyed section.
CRITSEC[0x8c3df24]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to leave destroyed section.
CRITSEC[0x8c432d0]: Trying to enter destroyed section.
CRITSEC[0x8c432d0]: Trying to leave destroyed section.
CRITSEC[0x8c3df24]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to leave destroyed section.
CRITSEC[0x8c432d0]: Trying to enter destroyed section.
CRITSEC[0x8c432d0]: Trying to leave destroyed section.
CRITSEC[0x8c3df24]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to leave destroyed section.
CRITSEC[0x8c432d0]: Trying to enter destroyed section.
CRITSEC[0x8c432d0]: Trying to leave destroyed section.
CRITSEC[0x8c3df24]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to leave destroyed section.
CRITSEC[0x8c432d0]: Trying to enter destroyed section.
CRITSEC[0x8c432d0]: Trying to leave destroyed section.
CRITSEC[0x8c432d0]: Trying to leave destroyed section.
CRITSEC[0x8c42e40]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to leave destroyed section.
CRITSEC[0x8c3df24]: Trying to enter destroyed section.
CRITSEC[0x8c3df24]: Trying to leave destroyed section.
Segmentation fault
Crash report available at /home/media/xbmc_crashlog-20100923_193030.log
media@media:/usr/bin$
Reply
#9
Can you start xbmc in a terminal, press \ to go windowed, then in another terminal execute "gdb -p `pidof xbmc.bin`", then in gdb enter "set logging on" to make gdb write all its output to gdb.txt, then enter "catch throw" and "continue".

Now make it crash, xbmc will instead freeze (that's why you want it windowed) enter "thread apply all bt" in gdb, then enter "continue" in gdb, if gdb then shows that xbmc has crashed with a segmentation fault or has exited normally, enter "quit" in gdb and post the generated gdb.txt on pastebin.
Reply
#10
I switched off "Enable LCD/VFD" in systems - settings - Video output and I haven't had the issue reoccuring since.

Thanks for your help regardless bobo, very much appreciatated
Reply

Logout Mark Read Team Forum Stats Members Help
crash to desktop when stopping playback0