Apple TV 2 - random XBMC crashes

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
siris Offline
Junior Member
Posts: 12
Joined: Feb 2012
Reputation: 0
Post: #1
Hi there

I would appreciate some advice on random crashes I'm experiencing on my Apple TV. There is no discernible pattern, it happens whenever I select a function on any XBMC menu e.g. going to settings or adding a new video location or opening music library. It hasn't happened whilst I'm playing/viewing a movie though.

I've spent many hours reading through these forums, but I'm new to XBMC (and Apple TV, jailbreaking) and I can't figure out the problem. :o

Platform - Apple TV 2
Version of iOS/ATV - Version 5.0.1 (Build 9A406a)
XBMC Build version and date compiled - (11.0-BETA3 Git:20120207-1fef727) Built on Feb 8 2012

I bought the unit already jailbroken, but I updated it to XBMC Eden Beta 3 via NitoTV updater. The crashes are the same before and after the update.

Here is the DEBUG log -

http://pastebin.com/DYFzjYCM

and another one -

http://pastebin.com/yakb95w8

Please help this noob. Thanks!

EDIT/

Sorry, but just to be safe I'm posting another xbmc.log. With the previous two I also had an issue with doing a music library scan, deleting the library content halfway through the scan, it continuing to scan and keeping crashing. I've since deleted the databases via putty. This debug log is the "standard" random crash information.


http://pastebin.com/aE24n3aQ

EXTRA INFO -

siris Wrote:OK, here goes. Apologies for the syslog, but one day (Feb 13) was 1.6mb so I had to split it up in four parts due to the pastebin size limitation -

Syslog Part 1 - http://pastebin.com/cMWi1BPD
Syslog Part 2 - http://pastebin.com/p3KfThyM
Syslog Part 3 - http://pastebin.com/KZ2q44y5
Syslog Part 4 - http://pastebin.com/z69CW9R1

CrashReporter 1 - http://pastebin.com/AHc4RPjU
CrashReporter 2 - http://pastebin.com/jYshs0YD

XBMC log from OP - http://pastebin.com/aE24n3aQ

Thanks!
(This post was last modified: 2012-02-19 16:07 by siris.)
find quote
chowdarygm Offline
Junior Member
Posts: 5
Joined: Jan 2012
Reputation: 0
Post: #2
i am also having the same issue with my new atv2 bought yesterday. keeps crashing randomly like explained above....

any help please....
find quote
triplesilk Offline
Junior Member
Posts: 34
Joined: Oct 2011
Reputation: 0
Post: #3
The experts will chime in no doubt, but I think it may be an unexplained issue with the ATV2 running 4.4x. Something to do with power consumption. Anyway, this is why there is a recommendation to use 4.3 if possible.

It's an issue I have, but generally only when in the XBMC menus and not whilst playing something (and it's not happened for a while, thinking about it).
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #4
xbmc.log, crashreporter.log, without posting these, you have no hope of getting help it is futile to guess.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
siris Offline
Junior Member
Posts: 12
Joined: Feb 2012
Reputation: 0
Post: #5
davilla Wrote:xbmc.log, crashreporter.log, without posting these, you have no hope of getting help it is futile to guess.

I have posted the xbmc.log. :confused2: I can't find the crashreporter.log - looked in the relevant directory, but there's nothing?

*update*

I've disabled library scanning on startup and I haven't yet had a crash. Testing some more to see if it holds.
find quote
Stokie Mac Offline
Junior Member
Posts: 9
Joined: Jan 2012
Reputation: 0
Post: #6
chowdarygm Wrote:i am also having the same issue with my new atv2 bought yesterday. keeps crashing randomly like explained above....

any help please....

Me too..
Only since i updated to Eden 3..
Might go back to Eden 2 & see if that helps..
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,624
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #7
last time if we don't get a crashreporter and syslog we are unable to do anything. First link in my signature...

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
Burbulence Offline
Senior Member
Posts: 218
Joined: Jul 2011
Reputation: 0
Post: #8
Hi guys,

I dont know if you can call my crashes random... xbmc seems to crash whenever it is left for a while, when i come back to it i have the error message 'addon has been marked as broken in the repository' and xbmc is frozen.

My system:
ATV2 iOS 4.3 build 8F305 /w Apple TV software 4.2.2
Xbmc Beta 3 20120207
installed via nitoTV.

http://pastebin.com/fLXibE9h (xbmc.log)

No crashlog generated

syslog installed but none generated

The specific forum for Constellation can be found Here.

If anyone is looking for a usenet account try here, great unlimited service!
find quote
siris Offline
Junior Member
Posts: 12
Joined: Feb 2012
Reputation: 0
Post: #9
Memphiz Wrote:last time if we don't get a crashreporter and syslog we are unable to do anything. First link in my signature...

OK...will try again when I get home. Can't seem to find a crashreport - the only plist files start with BTServer, mediaserverd etc. - nothing like explained in your links. And they're all dated 1970/01/01.

Pastebin is refusing my syslog - 500kb limit. Tried only one day (13 Feb), but still too large. Will try to find an alternative.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,624
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #10
Burbulence Wrote:Hi guys,

I dont know if you can call my crashes random... xbmc seems to crash whenever it is left for a while, when i come back to it i have the error message 'addon has been marked as broken in the repository' and xbmc is frozen.

My system:
ATV2 iOS 4.3 build 8F305 /w Apple TV software 4.2.2
Xbmc Beta 3 20120207
installed via nitoTV.

http://pastebin.com/fLXibE9h (xbmc.log)

No crashlog generated

syslog installed but none generated


You have to fix your permissions - have a look into the IOS FAQ in the wiki (link in my signature) for a howto. Your problem is unrelated to this thread.

A crash is when your XBMC disappears. What you describe is a freeze.

Code:
138.12:32:55 T:96808960   ERROR: SQL: Attempt to write a readonly database

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
Burbulence Offline
Senior Member
Posts: 218
Joined: Jul 2011
Reputation: 0
Post: #11
Memphiz Wrote:You have to fix your permissions - have a look into the IOS FAQ in the wiki (link in my signature) for a howto. Your problem is unrelated to this thread.

A crash is when your XBMC disappears. What you describe is a freeze.

Code:
138.12:32:55 T:96808960   ERROR: SQL: Attempt to write a readonly database

Ok great so Xbmc stores the addon data in the SQL database, I don't get why my permissions have changed with updating b2 to b3? The .db permissions should still be all to user xbmc, hang on do I need to grant all to that user for the new database that would have been created?

Apologies for the confusion between crash and freeze... It differs depending on who you talk to... I will try to find a better thread for this post and ask you to move it later, cheers

The specific forum for Constellation can be found Here.

If anyone is looking for a usenet account try here, great unlimited service!
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,948
Joined: Jan 2011
Reputation: 292
Location: Arizona, USA
Post: #12
Burbulence Wrote:Ok great so Xbmc stores the addon data in the SQL database, I don't get why my permissions have changed with updating b2 to b3? The .db permissions should still be all to user xbmc, hang on do I need to grant all to that user for the new database that would have been created?


That is what should happen. The permissions getting messed up could be something with the beta or something weird with the iOS jailbreak, or something else entirely.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,624
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #13
Nah confusion is getting bigger and bigger here. Gimme a sec.

@Burbulence:

You are using mysql. This is used for the video and music db only. All other db stuff is still saved local (like the addon database for example). The error i posted from your log file says "SQL" which in that case means "SQLite". The permission you have to fix are the file system permissions in that case - not the mysql permissions.

Just follow the permission fix on the faq and your addons should work again.

And for beeing a smart-ass again: The definition of freeze and crash is totally clear. Whoever it is you talk to who doesn't get that right is untaught.

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
(This post was last modified: 2012-02-16 16:17 by Memphiz.)
find quote
Burbulence Offline
Senior Member
Posts: 218
Joined: Jul 2011
Reputation: 0
Post: #14
Memphiz Wrote:And for beeing a smart-ass again: The definition of freeze and crash is totally clear. Whoever it is you talk to who doesn't get that right is untaught.

Without getting in to a fight I'm gonna thank you for the support.

At work when a machine freezes we have to log it as a crash, this is the confusion.

The specific forum for Constellation can be found Here.

If anyone is looking for a usenet account try here, great unlimited service!
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,624
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #15
I'm fighting against this meaning at work too. With great success Smile

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
Post Reply