[Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. - Printable Version
+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: General Support (/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (/forumdisplay.php?fid=228)
+---- Thread: [Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. (/showthread.php?tid=129789)
Pages: 1 2
[Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-24 06:09
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.
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-24 07:15
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.
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-24 07:59
I'm kinda grasping at straws now (it's late ) 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-builds/11927-genericeden--libnfs-causing-xbmc-crash-and-reload#15621
Tomorrow's a new day, I'll be trying various experiments but any pointers/help from the XBMC team will be appreciated
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - Memphiz - 2012-04-24 10:25
how about you post your logs (xbmc.log and crashlog).
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - jhsrennie - 2012-04-24 11:47
A quick clarification: pop the logs on http://pastebin.com/ and post the link here please. Don't post the logs in the forum.
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-24 13:29
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
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-24 13:56
Sorry, actually had data for 5 crashes. In respective order (ie: 3rd xbmc link goes with 3rd macosx link)
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-24 22:49
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?
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - Memphiz - 2012-04-25 00:21
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).
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-25 02:30
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)
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-25 04: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!
RE: XBMC crashes whenever I interrupt video play after about 15 mins.. - Memphiz - 2012-04-25 15:24
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
RE: [Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-25 15:33
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
To be exact about my previous setup, I actually had 3 NFS shares:
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.
RE: [Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. - Memphiz - 2012-04-26 10:33
Well i would need the following:
1. the old exports file
2. your guisettings.xml
3. which skin are you using
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.
RE: [Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. - darthdiablo - 2012-04-27 00:58
exports file (what I had previously when I had the issue):
guisettings.xml (unchanged since I had issue):
skin: Transparency (default options)
advancedsettings.xml (former one when i had issues, I now have new share name):
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!