Kodi Community Forum

Full Version: XBMC crashes after second movie launch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I start one movie, watch it for some time and then stop it. I try to start another movie, tv-show or video and XBMC crashes.

OS: Ubuntu Jaunty 9.04 (i686)
XBMC: 9.04.2+svn21866-jaunty1 (from PPA)
Skin: Transparency v1.00

Debug log http://pix.sonhult.se/debuglog2.log from when I started one movie, stopped it and started another => crash.

Any ideas why this is happening?

Thanks in advance!
Please read sticky on how to post in a useful manner.

If this crashes, you need the gdb backtrace.

Please use pastebin for the logs.
Trying to fix that now, but I can't find the core file. Where is that file placed if I launch XBMC through the menu shortcut?

if I try to launch XBMC from the command line (to have the core file placed in the current directory), I get the following error:
http://pix.sonhult.se/weird.jpg

Note that I can launch XBMC by using the shortcut, so my graphics card should be okay =)

Thanks!
Your shortcut must not be using the xbmc script which checks for proper hardware support.

It very well could be the issue (lack of minimum requirements). Even though it may work properly sometimes, you may not have the min reqs and thus have some undefined behaviour.

Instead of running xbmc from cmdline, you could try directly invoking /usr/local/share/xbmc/xbmc.bin to overcome the min req check.
Interesting, that shortcut is the shortcut installed when installing xbmc with apt-get. Also, if I look at properties for the shortcut, it says "Command: xbmc" (same command that gives me the dialog I posted about earlier when I run it from the command line). I didn't have this problem on the 9.04.1 release, so I find it odd it should suddenly be the graphic card that's causing it.

Anyway, if you want to take a look at it I posted the gdb backtrace at http://pastebin.com/m47a53df1. I included the output before "thread apply all bt", was that necessary? The debug log for the same launch can be found here: http://pastebin.com/m52ba794

Thanks for the help!

EDIT: This is the graphics card I'm using: http://ati.amd.com/products/radeon9200/r...specs.html According to the specifications, it supports:

# 1.4 pixel shaders support up to 22 instructions and up to 6 textures per rendering pass
# 1.1 vertex shaders support vertex programs up to 128 instructions
# Complete feature set also supported in OpenGL ® via extensions
# Programmable shaders provide enhanced 3D effects in over 100 existing and upcoming game titles

But according to http://wiki.xbmc.org/?title=Supported_ha...aphic_card we need: "graphic controller which supports OpenGL 1.4 + GLSL or later (2.0 recommended)".

OpenGL 1.4 and 1.4 pixel shaders support isn't the same thing I guess? Actually, the specifications at ATI does not specify the supported OpenGL version... strange.

I'll see if I can find a nVidia AGP card which is supported, might prevent some (future) headache...
Are you sure you have the latest ATI drivers installed then?

I suggest making sure that you do.

Also, the version you have looks to be 1.3:

GL_VERSION = 1.3 Mesa 7.4

Try to make sure you have the latest graphics drivers as well.

Though, not sure why it crashes the 2nd time only.
Haven't touched the graphics drivers installed with Ubuntu Jaunty 9.04. Will see if there's any updated/other drivers available.

But as you're saying, it's strange XBMC runs fine the first time and crashes at the second launch! No matter how hard I try I can't make it crash at the first movie launch.
Well, I did some research on graphic drivers. Turns out there's a open source driver (which I'm using), and there are ATi's drivers. According to https://help.ubuntu.com/community/BinaryDriverHowto/ATI my graphic card is not supported with ATi's drivers: "The 'fglrx' driver does not support cards earlier than the 9500" (mine is 9200). But according to ATi it is supported.

I've had some battles with ATi graphic drivers in the past, and would if possible avoid trying to install something that MIGHT work Wink everything else is running so smooth now!
Well, you may have to try those drivers. It very well may be the drivers that are the problem.

I'll leave the decision upto you Wink
Heh, ok. Found it a bit confusing with the fglrx drivers vs. ATi's drivers, posted a question about this here: http://ubuntuforums.org/showthread.php?p...ost7691077. Depending on the answers there I might try ATi's driver.

Also, started looking for a "new" AGP based graphics card, found this http://ati.amd.com/products/radeonx1550/specs.html pretty cheap. Would that do? According to http://www.xbmc.org/wiki/?title=Supported_hardware anything over X800 is supported, but this time I want to make sure Wink
junk Wrote:Heh, ok. Found it a bit confusing with the fglrx drivers vs. ATi's drivers, posted a question about this here: http://ubuntuforums.org/showthread.php?p...ost7691077. Depending on the answers there I might try ATi's driver.

Also, started looking for a "new" AGP based graphics card, found this http://ati.amd.com/products/radeonx1550/specs.html pretty cheap. Would that do? According to http://www.xbmc.org/wiki/?title=Supported_hardware anything over X800 is supported, but this time I want to make sure Wink

If you're buying a new card grab an nvidia card and you will be able to take advantage of vdpau.
Thanks for the tip, but as I'm stuck with AGP I will probably have to go with a card without VDPAU =(
I can confirm this issue.

xbmc svn 21845
Ubuntu 9.10 karmic koala alpha whatever
nvidia 9400 / driver 185.18.14

It only happens when the render method is set to 'Software'.
When setting it to 'Auto detect' or 'VDPAU' all is fine.

Debug Log
backtrace
Hmm, probably because if you set it to Auto detect it automatically chooses VDPAU. As I don't have VDPAU support it crashes no matter if I set that setting to Auto detect or Software. Could that be it?
Maybe this same fix is needed for the trunk (I might be waaay off here!)?

http://trac.xbmc.org/changeset/21793/branches/xbox-test
Pages: 1 2