[Solved] XBMC crashes whenever I interrupt video play after about 15 mins..
#1
I haven't been really scientific regarding how many minutes needs to pass when I play a video before it will crash if I try to move mouse pointer (ie: to bring up movie controls menu), but I know it's more than 5 minutes and less than 20 mins. The rate that I successfully reproduce this issue (hard-crashing XBMC app - all the way back to MacOSX desktop) is close to 95%, probably.

My setup: XBMC on MacOSX 10.6 (MacBook Pro), accessing library on NAS (Synology Diskstation 111) using NFS share and MySQL.

I also was able to reproduce the same issue on my work laptop (which is also MacBook Pro).

Previously, from my MacBook Pro, I do not have this issue when I was accessing the library from temporary location - my WindowsXP machine, using SMB share, and also using MySQL.

I was curious if this is a known issue with this particular setup (Mac <-> NFS <-> Synology NAS/MySQL)?

I have the logs - both xbmc.log (yes, DEBUG type, not regular type) and also the MacOSX crash log. I can also provide many more datapoints (logs) if needed. Just let me know if you'd like me to go ahead and paste the logs.
Reply
#2
I've loosely narrowed the time of crash to happen at some time before 6.5 minute mark after I begin playing a video.

Some observations/theories (all unconfirmed):

* Crashes seem to only occur when I'm running full-screen.
* If I recall, I am able to exit full-screen and then back without crashing XBMC.

It seems for all crashes so far (looking at logs), there's a "Qlock" line like the following line. What is "Qlock"?
01:03:59 T:2957156352 DEBUG: ### [Qlock] - Delaying 240 secs

Theory: In one case when it didn't crash (because I interrupted video bringing up menu before too long - like at 4 minute mark) - I noticed that it was accessing the NFS share for thumbs, which apparently is accessed every time I bring up menu, whereas in cases where crashes occurred, those NFS share thumb reads did not exist. Could it be failure to read NFS share thumbs quickly enough be causing XBMC to crash?

I will try to play some more confirming/ruling out some of my theories/observations so far.
Reply
#3
I'm kinda grasping at straws now (it's late Smile ) but I wonder if having multiple NFS shares (one for movies, one for tv shows, one for thumbs) could be the source of my problem? Granted, it's old post, and possibly unrelated to my issue, but see post here: http://openelec.tv/forum/47-development-...load#15621

Tomorrow's a new day, I'll be trying various experiments but any pointers/help from the XBMC team will be appreciated
Reply
#4
how about you post your logs (xbmc.log and crashlog).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
(2012-04-24, 10:25)Memphiz Wrote: how about you post your logs (xbmc.log and crashlog).

A quick clarification: pop the logs on http://pastebin.com/ and post the link here please. Don't post the logs in the forum.
Reply
#6
Will do - need to figure out the pastebin part, have 8 logs (2 logs for each of 4 crashes) just in case you need more datapoints
Reply
#7
Sorry, actually had data for 5 crashes. In respective order (ie: 3rd xbmc link goes with 3rd macosx link)

xbmc logs:
http://pastebin.com/abhg8kXV
http://pastebin.com/PY6VBedP
http://pastebin.com/qbTimBri
http://pastebin.com/e8FyrbjR
http://pastebin.com/zuSTWgkx

macosx logs:
http://pastebin.com/smUCnTay
http://pastebin.com/rkJBibeg
http://pastebin.com/f9Q5ETY1
http://pastebin.com/e8UZW8tX
http://pastebin.com/Ja1Q8xbq
Reply
#8
Going to hook up my ATV2 (finally got it today) and will see if I have the same issue there as well.

Anything jumps out in the logs to you guys?
Reply
#9
could you try to only use one nfs export for thumbs and movies? (you just can use subfolders in there for splitting thumbs and movies off of each other).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#10
Update: Hooked up my ATV2 for first time, and same type of issue occurs.

Going to try one-NFS-share shortly. If all fails, I will revert back to using SMB and hope the issue goes away - can only hope that I'd still be able to play three 720p streams at same time using SMB as I can with NFS (cuz I read that SMB has more overhead than NFS)
Reply
#11
Good news, my problem has gone away. It seems as indeed having multiple NFS shares is causing the problem. Previously, I had a NFS share for thumbs, another for movies, and another for TV.

Not sure if this is worth it, but maybe add a word of warning on the XBMC Wiki NFS page (http://wiki.xbmc.org/index.php?title=NFS) regarding using multiple NFS shares?

I can finally close this painful chapter and move on, thanks for the suggestion, much appreciated! You guys rock!
Reply
#12
I thought i fixed issues with multiple shares. Hence there is no entry in the wiki. Of course this is a bug and i want to fix it, but i'm unsure how to reproduce the issue Sad
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#13
Well, if there's anything I can do to help you reproduce the issue (ie: more details), let me know. I'm a software developer, so I know how it feels when there's a desire to be able to reproduce something that you genuinely believe the customers are having issues with but you're unable to reproduce it, thus unable to help out the customer either Smile

To be exact about my previous setup, I actually had 3 NFS shares:
Movies
TV
Thumbs

Not sure if going from 2 to 3 makes things worse (because I imagine I'm only accessing 2 NFS shares simultaneously whenever I try to bring up menu during playback, because that action will also access the thumbs share from my observation).

Able to reproduce on multiple MacBook Pro's, and also made my AppleTV2 crash. I wish I had an opportunity to test this out with my WindowsXP machine to see if I can reproduce the issue there as well.
Reply
#14
Well i would need the following:

1. the old exports file
2. your guisettings.xml
3. which skin are you using
4. advancedsettings.xml
5. sources.xml

I should be able to clone your setup then. Please ensure to remove any passwords from that files if there are any (most likely only in sources.xml, when u have samba shares or something like that).

Then i just play a file for at least 10 mins (or pause it) and after that i have to bring up the osd so the thumb gets loaded from nfs. I'm not sure if this will really access NFS. Normally the filecache would already have this thumb locally and fetch it from there.

I hope i get that crash then too.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#15
exports file (what I had previously when I had the issue):
http://pastebin.com/bVkDvfeG

guisettings.xml (unchanged since I had issue):
http://pastebin.com/u7BC3sKP

skin: Transparency (default options)

advancedsettings.xml (former one when i had issues, I now have new share name):
http://pastebin.com/SEdu6fq1

sources.xml:
http://pastebin.com/nZxCgcUt


You're correct, play video for at least 10 minutes, then pause it or whatever - in fact, just moving the mouse will be enough for me to crash it. I suspect it is when it's trying to access the nfs share I set up separately for thumbs.

I also observed that I'm able to go from full-size to windowed mode then back again (in Mac), using command+F, without crashing it. This makes me suspect it crashes whenever it's trying to bring up thumbs for the playback menu.
Making a separate post to ask my question now -

Really!? Normally filecache would be accessed locally!? I didn't know I can have that even if I have path substitution set up. Or is it assumed I have local thumb cache built BEFORE I add the path substitution section into advancedsettings.xml?

If I can have BOTH - have it default to thumbs stored locally, or use path substitution if thumbs are not found, that'd be great! Even better, if I change thumb/fanart, have it update my database, and it would force filecache update on my other devices.. is that possible? If I can do it that way at this moment, that would be SWEET!
Reply

Logout Mark Read Team Forum Stats Members Help
[Solved] XBMC crashes whenever I interrupt video play after about 15 mins..0