XBMC (B2) crashes on music scan/music dir access

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
elcaballo Offline
Junior Member
Posts: 20
Joined: Feb 2011
Reputation: 0
Post: #1
I did some reading and saw some threads about this problem in B1 but I'm on B2 and XBMC is still crashing 100% of the time that I go into a particular album folder on my music share. It can also happen (less frequently and very randomly) when I go into the main music share from the Music>Files screen. (I do not use a music library database.)

Oddly, I can sometimes queue the album with the menu "right click" and the album will play. But when go to the Now Playing menu and attempt to move through the tracklist, XBMC will crash. It will also crash if I do not go to Now Playing and try to skip tracks forward.

I am pretty sure this was not an issue before the Eden releases.

xbmc log: http://pastebin.com/JY4Tnn4d

Syslog: http://pastebin.com/Xtqj2Tj4

Crashreporter: http://pastebin.com/dEf56NN8
(This post was last modified: 2012-01-23 07:43 by elcaballo.)
find quote
g-off Offline
Fan
Posts: 631
Joined: Aug 2011
Reputation: 3
Post: #2
You are doing a library update in the logfile. You are pushing your luck to try and too much else at the same time as that. Also it can be dodgy using names instead of ip addresses in your sources. Sometimes the name resolution can be flaky.
find quote
Maetrik Offline
Donor
Posts: 418
Joined: Jan 2011
Reputation: 1
Location: Berlin, Germany
Post: #3
I'm not sure if thats really solving the problem as i had a similar issue when accessing my music folder, even with or without reading tag information activated. I use ip adresses instead. As i could not reproduce this error (it occoured randomly 3 times within the last two days in absolutely different music folders, all in file mode), i did not further investigate yet. Also, no crashreporter was created, what reminds me of OOM. Sorry for hijacking, i just want to confirm a similar issue with accessing movie folders on b2.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,651
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #4
elcaballo Wrote:I did some reading and saw some threads about this problem in B1 but I'm on B2 and XBMC is still crashing 100% of the time that I go into a particular album folder on my music share. It can also happen (less frequently and very randomly) when I go into the main music share from the Music>Files screen. (I do not use a music library database.)

Oddly, I can sometimes queue the album with the menu "right click" and the album will play. But when go to the Now Playing menu and attempt to move through the tracklist, XBMC will crash. It will also crash if I do not go to Now Playing and try to skip tracks forward.

I am pretty sure this was not an issue before the Eden releases.

xbmc log: http://pastebin.com/JY4Tnn4d

Syslog: http://pastebin.com/Xtqj2Tj4

Crashreporter: http://pastebin.com/dEf56NN8

Mhhh fixing one id3tag crash and getting another one? What the fuck is the matter with murphy *grrr*

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
elcaballo Offline
Junior Member
Posts: 20
Joined: Feb 2011
Reputation: 0
Post: #5
g-off Wrote:You are doing a library update in the logfile. You are pushing your luck to try and too much else at the same time as that. Also it can be dodgy using names instead of ip addresses in your sources. Sometimes the name resolution can be flaky.

That's what I thought at first too, but it makes no difference if the update is running or not. Even if I cancel the scan, I can reliably crash XBMC by going into a particular folder and I can crash it 50% of the time just by accessing my music share.

I should say that this crash happens over SMB (my usual method) as well as FTP.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,651
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #6
it states

Code:
Jan 22 22:39:48 Apple-TV ReportCrash[93]: Not saving crash log because we have reached the limit for logs to store on disk.  Sync or otherwise clear logs from /var/mobile/Library/Logs/CrashReporter to save new logs.

Could you please delete thos old logs and give me a new crashreport? Atm it prints the crashreports in the syslog, but they are incomplete that way Sad.

So i really need a complete crashlog from

/var/mobile/Library/Logs/CrashReporter

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
Memphiz Offline
Team-Kodi Developer
Posts: 11,651
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #7
Well this one is hard to trackdown again. I doubt a crashreporter file will do it. Could you isolate a mp3 which causes the crash somehow? And if so it would be great if you could provide us with such a sample...

Even if its not crashing on a special mp3 then please try to find out if it is the same folder allways or so.

here a symbolicated log for the devs:

http://pastebin.com/p6dnyTtD

Its 7 layers deep in libid3tag on id3_file_open. Decoded the first 2 layers by hand - the other 5 are missing the symbolication.

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-01-23 21:04 by Memphiz.)
find quote
Tompie Offline
Junior Member
Posts: 20
Joined: Jan 2011
Reputation: 0
Post: #8
I had the same problem with some albums, both on B1 and B2 on my ATV2. Turns out that it is choking on mp3 with a v2.2 ID3 tag. Check it in iTunes and convert it to v2.3 and see whether it passes this way. Had to do it for a dozen albums in my collection. Quite silly bug and have a hard time determining why it would be iOS only... Let us know.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,651
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #9
I fixed a bug according to id3tag 2.2 in b2 ... so this is another crash here - different from the one i fixed ... so if you have such an mp3 - don't convert the id3tag before giving it to us. Otherwise we don't have a chance to fix this new crash here...

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
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #10
@elcabello: Can you confirm this was not a problem in Dharma?

If so, that might help isolate the issue (eg to a function added to libid3tag since then)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
elcaballo Offline
Junior Member
Posts: 20
Joined: Feb 2011
Reputation: 0
Post: #11
Once I get home, I'll try your suggestions, guys. Thanks for the response.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,651
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #12
jmarshall Wrote:@elcabello: Can you confirm this was not a problem in Dharma?

If so, that might help isolate the issue (eg to a function added to libid3tag since then)

There was no dharma for iOS. And as the bug i fixed in b1 already these libid3tag issues only seem to appear on iOS so far. No clue why - the last one was a real bad pointer access - might be the mp3tags only the atv2 users are using Wink

Come on guys. I'm willing to track that bug down for b3 - but i need your help (in form of sample media which triggers the crash)

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
Tompie Offline
Junior Member
Posts: 20
Joined: Jan 2011
Reputation: 0
Post: #13
Memphiz, same folders come back and the tags are still v2.2 ones! What is strange is that I seem to be able to manually add them to the library, only a full update request of the library crashes XBMC.
I'm uploading the crashing mp3 folder to Dropbox, I will include the log files as well. Note however that I noticed that my syslog is over 800Mb (is this normal?) so I've had to exclude this one.

Edit by Memphiz: - thx - i removed the link and will download it later today after work...
(This post was last modified: 2012-01-25 11:07 by Memphiz.)
find quote
Tompie Offline
Junior Member
Posts: 20
Joined: Jan 2011
Reputation: 0
Post: #14
And here's the correct debug log: ...
(This post was last modified: 2012-01-25 02:38 by Tompie.)
find quote
pTeronaut Offline
Junior Member
Posts: 37
Joined: Dec 2011
Reputation: 0
Post: #15
Hi,

I too am finding that XBMC Eden b1 & b2 crashing during a library update or scanning the source into the library. This does not happen in the Windows version of XBMC eden b1 as, due to scanning the source into XBMC ATV2 was causing it to crash, I installed XBMC onto my W7 x64 laptop, copied the preferences into that installation, scanned the source successfully into that, imported the library back into the ATV2 and CHOWN'd the preferences to mobile:mobile

Logs:

Crashreporter Plist. - http://pastebin.com/HkYbyBMD
Syslog - http://pastebin.ubuntu.com/818234/
XBMC.log - http://pastebin.ubuntu.com/818236/
(This post was last modified: 2012-01-27 00:39 by pTeronaut.)
find quote
Post Reply