XBMC Community Forum
[Solved] XBMC crashes whenever I interrupt video play after about 15 mins.. - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+--- 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 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-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

(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.


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)

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


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)