XBMC Playback causes ATV2 to reset (Updated Logs with new Info)
#1
Here is the requested information. Please let me know if anything is missing/lacking and I'll snag it.

Platform/Version - Darwin iOS (11.0.0 AppleTV2,1, Version 5.1.1 (Build 9B830))
XBMC Build XBMC - (11.0 Git:20120702-f3cd288), Built on Jul 2 2012
Install Method - Putty(Shh) and installed through command line
Gui - Transparency

Debug Logs

XBMC Log - http://pastebin.com/FDBZc5H3
Apple TV Crash Log Log - http://pastebin.com/sEuZZaxt
Syslog - http://pastebin.com/tX3gFzyu


What causes crash:

The crash itself is a crash to the ATV2 dashboard. It is pretty random when it happens, so i've been leaving movies running with debug up until it crashes. The most recent crash was with Dark Knight. I use and smb connection to an unraid server. It is a wired connection. In general I do not have crashes often, but enough that it is annoying. All that happens is, when playing a movie (1080p, 720p, it varies) ATV2 just resets. There is no warning, error message or boot back to xbmc home. It is a full reset of ATV2.

It does not occur at the same point in a video nor does it always occur with a specific video. A video may crash one time and then, if I let it play again to recreate the issue, it doesn't crash. My assumption is it may be my network, but I'd like some confirmation before I purchase any additional hardware. I was reading up on the last line Warning line in my xbmc Log and it sounds like that might support my guess. But, I figured 'd consult the experts. If you need additional info, I will check back regularly to add it. Hopefully I've answered everything you needed. I checked the wiki and I think I covered it.

Thanks!
Reply
#2
Here are some additional logs from a crash tonight. I was watching Battleship (1080p, DTS 5.1 H264) and it was playing fine until I got to a really heavy, high volume/action scene. At that point, the movie began to stutter, almost as if the sound became too much for ATV to process of something. Shorty after it reset to ATV2 dash. I had debug up the entire tim and watched memory and I was barely 50% of max, so I was surprised to find the low memory log, but I figured I'd post it.

New XBMC Log - http://pastebin.com/v6hYx9rD
Apple TV Crash Log - http://pastebin.com/YGhmH59f
Low Memory Log - http://pastebin.com/2QbsXKr8
Reply
#3
Looks like your remote app keeps spamming XBMC while you where watching. The carsh log and low memory log seem to be from different issues. Not much i can tell you about it though. Read through the iOS FAQ and try the suggestions there.
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
#4
Have you tried testing it with a different skin? Transparency is sometimes pretty harsh on the ATV2, depending on hows it's configured. And you're running Qlock in Transparency, which is constantly running and using resources. That, and as Memphiz mentioned, your remote app is going nuts with JSONRPC calls. All of that combined could really be contributing to your low memory issues, which might be causing the crashes.

You also mention playing 1080p movies. Depending on how it's encoded, that alone can crash XBMC. I always avoid 1080p on ATV2, and stick with 720p.

Try switching back to Confluence for a while, and test it. And I'd recommend doing so without your remote app running, just use the normal Apple remote and see if it acts differently.
Reply
#5
Thank you for the responses and tips! I'm going to implement them in stages to see if I can isolate where the problem is specifically. So far I have eliminated using the app, other than to just get the movie started (my ATV2 is in a place I can't access with the regular remote). I then complete exit out of the app (hard close it, not minimize) and then let the movie run. It played one completely (Act fo Valor) but then crashed on another. I just switched to Confluence now and I'm letting it run again. We'll see how that goes.

As a follow-up, I looked at the qlock option on transparency and it said the script was disabled. Is there another area I need to disable it globally?

I'll update with the results of my next crash (or shouts of success) once the movie finishes.

Thansk again guys!
Reply
#6
So I have been running movies regularly for the past 8 hours or so and just experienced another crash. Ironically, it was when I was actually watching vs. just when I had it running in the background to see if it would crash. I am now running the confluence skin, no mobile app (just ATV remote)


I'm attaching the XBMC log in a few parts since pastebin said it was too big. I tried pasting it and it was going to take upwards of 10 pastebins, so I pulled the relevant areas where I saw a bunch of warnings.

XBMC Log - pt1 - http://pastebin.com/3vkm0ErU
XBMC Log - pt2 - http://pastebin.com/RS5CzMAa
XBMC Log - pt3 - http://pastebin.com/Ebx7ZQst

LowMemory Log - http://pastebin.com/Awn02SEV


Log 3 starts from when I load MI:3 (it's 720/h264 and I've watched to completion previously). I did temporarily use my phone app to turn off subtitles at the very start (since I can't do it normally through the ATV remote) but I quit out of the program immediately afterwards and the movie ran for quite some time before crashing. In Log 2 and other areas, the following keeps popping up:

18:15:08 T:173211648 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
18:15:09 T:172679168 WARNING: Previous line repeats 5 times.
18:15:09 T:172679168 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
18:15:09 T:173211648 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
18:15:10 T:172679168 WARNING: Previous line repeats 5 times.
18:15:10 T:172679168 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
18:15:10 T:173211648 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
18:15:11 T:172679168 WARNING: Previous line repeats 7 times.


I also keep seeing pings from "JSONRPC" Is that related to the mobile app? I don't have the app on at all so I can't figure that out.


Any ideas? This is driving me nuts. I have no idea what could be causing the low memory issues


Reply
#7
I had similar problems, then I un-installed the Firecore Media Player from the main dashboard. While I have still have playback issues (720p works on XViD, but hit or miss on MKV), it has yet to reset on me.
Reply
#8
Sorry. Misinformation.
Reply
#9
crawl ... you should double check before you write 3 wrong information in one post. Users will pick this up and spread it like the truth.

1. CDVDMessageQueue <- wrong conclusion. Of course we call stuff dozens of times in a second - "we are a videoplayer". What you see there are errors getting anything from the network. (happens when cpu is overloaded for example)
2. QLock is a script which provides a wordclock to other scripts (means just a clock in words). Normally skins use it. Its unproblematic.
3. These cpluff messages are normal and don't indicate any problem with a database.
4. I agree with the re jailbreak but not because of points 1. - 3. but for getting a clean start.

@crawl no offense ment - i appreciate any help when it comes to forum support. But if unsure - better indicate it or just don't post. Wink
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

Logout Mark Read Team Forum Stats Members Help
XBMC Playback causes ATV2 to reset (Updated Logs with new Info)0