[Solved] XBMC crashes whenever I interrupt video play after about 15 mins..

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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.
(This post was last modified: 2012-04-25 15:27 by Memphiz.)
find quote
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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.
find quote
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,691
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #4
how about you post your logs (xbmc.log and crashlog).

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #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.
find quote
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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
find quote
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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
find quote
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,691
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #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).

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
darthdiablo Offline
Senior Member
Posts: 110
Joined: Apr 2012
Reputation: 0
Post: #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)
find quote
Post Reply