[AppleTV2] Crashes (LIBAFPCLIENT: I have no idea what this is a reply to)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
CruS Offline
Junior Member
Posts: 5
Joined: Jan 2012
Reputation: 0
Post: #1
I thought my crashes had stopped, but that's not the case.

XBMC, Platform: Darwin iOS (11.0.0 AppleTV2,1, Version 5.0.1 (Build 9A406a)). Built on Dec 24 2011 (Git:20111222-22ad8e4)
ATV2 4.4.4 (tethered JB)

Streaming movies from my Macbook air (SSD Drives), APF-protocol, Airport Express WIFI.

Sometimes it just crashes and throws me back to main menu. Seems random, because I can rewatch the same clip immediately after the crash w/o problems.


Crash Reporter

http://pastebin.com/kxEBLrLJ latest
http://pastebin.com/VW6QNLAk 2
http://pastebin.com/jDnx5Jk9 1

XBMC.logs

http://pastebin.com/XP3LuMFh latest
http://pastebin.com/tqfHBLg0 2


syslog
http://pastebin.com/n4wsK2WH lastest
http://pastebin.com/BimLueYc 2

I tried the troubleshoot's for crashes in the FAQ with no success. What does the logs indicate?

Thank you in advance!
Emanuel
find quote
g-off Offline
Fan
Posts: 631
Joined: Aug 2011
Reputation: 3
Post: #2
Have you tried unraring the files before playing them? The strain of doing that on the fly over wireless is causing problems with data delivery.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,669
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #3
Frist - thx for the complete report.

Sadly this crash is known and we are not able to fix it for eden. Sorry - you only have a chance to use something else beside AFP (which works for 50% of users and doesn't for the others).

I would go with NFS (though there is a crash bug in beta2 under some circumstances which will be fixed in beta3).

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
CruS Offline
Junior Member
Posts: 5
Joined: Jan 2012
Reputation: 0
Post: #4
Memphiz Wrote:Sadly this crash is known and we are not able to fix it for eden.

Oh, I see. Does that mean you are not looking into it or that you think it's too big of a time investment and it will be looked upon for v12?

Memphiz Wrote:Sorry - you only have a chance to use something else beside AFP (which works for 50% of users and doesn't for the others).

Why does it not work for 50%? Could you share some insight here?
find quote
g-off Offline
Fan
Posts: 631
Joined: Aug 2011
Reputation: 3
Post: #5
CruS Wrote:Oh, I see. Does that mean you are not looking into it or that you think it's too big of a time investment and it will be looked upon for v12?



Why does it not work for 50%? Could you share some insight here?

The original developer of the library is no longer working on it. This puts it into the too hard basket for the moment.
find quote
iRoey Offline
Junior Member
Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #6
Hi,

I have the same problem because everytime the clock will check the date my ATV2 crashes XBMC.

In the last line I always see:
AppleTV timed[270]: (Error) CoreTime: Can't set time zone to nil!


Here is my complete log: http://pastie.org/private/qb4zdbvpgllomttvfflfyq
I also see the "I have no idea what this is a reply to" in the XBMC log.

And the XBMC Logfile: http://pastie.org/private/b5ee1eqkjx6cdy8wulg2xw

So the first time I started the ATV after the jailbreak everything works so fine!!
Next day I started the AppleTV I just saw the startscreen and:
"Updating date and time".

This was the breaking point. After this date-and-time-update I can't play movies in XBMC and everytime I tryed to start a movie via SMB or AFP I got this error you can see in the logfile above.

So I think there is a little or big problem with the timeserver?
I tryed to using NTP except of localtime in the ATV Settings.
But this don't helped me.

I hope you can help me a little Smile

Greetings,
iRoey
(This post was last modified: 2012-02-13 18:39 by iRoey.)
find quote
iRoey Offline
Junior Member
Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #7
g-off Wrote:The original developer of the library is no longer working on it. This puts it into the too hard basket for the moment.

What lib do you mean? And is there the source code out now?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,669
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #8
iRoey Wrote:What lib do you mean? And is there the source code out now?

http://afpfs-ng.cvs.sourceforge.net/view.../afpfs-ng/ <- original code

https://github.com/xbmc/xbmc/tree/master/lib/afpfs-ng <- our patches already done to it.

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
iRoey Offline
Junior Member
Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #9
Thanks..

so after doing this fix: http://charlestendell.com/os-x-lion-afp-...error-fix/

I got the error:

20:18:12 T:112373760 ERROR: LIBAFPCLIENT: I have no idea what this is a reply to, id 910.

Now its id 910. This is new for me, for you too?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,669
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #10
we are mostly authenticating with DHX2 UAM against lion servers - i doubt that "fix" didn't anything in that xbmc scenario. Beside that the id is dynamically - could be any other number there though its allway the same bug i think...

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