new AFPClient for iOS/OSX <--SOLUTION FOR LION USERS

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
skippr Offline
Member
Posts: 84
Joined: Feb 2011
Reputation: 0
Location: Old Europe
Post: #181
Memphiz Wrote:There are alot of known crashes with AFP and there is no known fix for it. You could give some logs so that i can verify if it its one of the known crashs...

No offence, but I'm thinking about the other way round:

is there a user-readable list of known afp-crash-bugs? Might be easier for all, Users wouldn't have to post logs to these problems, and devs wouldn't have to check them.

Posting a log each time my Xbmc crashes would be spam-like, I tell you ;-)
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,056
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #182
skippr Wrote:No offence, but I'm thinking about the other way round:

is there a user-readable list of known afp-crash-bugs? Might be easier for all, Users wouldn't have to post logs to these problems, and devs wouldn't have to check them.

Posting a log each time my Xbmc crashes would be spam-like, I tell you ;-)

Thats the wrong thinking. I can't formulate a crash like something like "Click button 1 and click button 2 and in that order it will crash".

Its more like "When changing the volume context while a file on context 1 is open - afp will crash on unmounting contexts". To trigger this crash a user could do 1000 different things in XBMC Wink.

I even don't know what to do to trigger a special crash. I just can have a look in the crashlog and see "right - crash in unmount - seen this before already ...".

Hope this makes things clearer ...

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
skippr Offline
Member
Posts: 84
Joined: Feb 2011
Reputation: 0
Location: Old Europe
Post: #183
Memphiz Wrote:[...] Hope this makes things clearer ...

Yep it does, thanks.

It also makes clear what an amazing job you devs have done so far!
find quote
emmision Offline
Junior Member
Posts: 15
Joined: Aug 2010
Reputation: 0
Location: Milton, Ontario
Post: #184
Can someone take a look at my log file please....

Using AFP from iMac to ATV2 - playback of movies crash after random playtime and boots me straight back to ATV menu - happens every time now.

This is driving my CRAZY!!

Apple tv 2 software 4.3(2557)
iOS 4.3 (8f455)

Operating system: Darwin 11.0.0 Darwin Kernal Version 11.0.0
XBMC pre-11.0 Built on Oct 26 2011 (Git:20111025-cfa1a05) (compiled: Oct 26th, 2011)
Installed with dpkg -i latest_atv2.deb from http://mirrors.xbmc.org/nightlies/darwin...r-atv2.deb

Logs:
XBMC Log - http://pastebin.com/55ihShhH

Kindly let me know if you need any more information. I'd love to help find a fix to this continiuing AFP issue Sad
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,056
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #185
emmision Wrote:Can someone take a look at my log file please....

Using AFP from iMac to ATV2 - playback of movies crash after random playtime and boots me straight back to ATV menu - happens every time now.

This is driving my CRAZY!!

Apple tv 2 software 4.3(2557)
iOS 4.3 (8f455)

Operating system: Darwin 11.0.0 Darwin Kernal Version 11.0.0
XBMC pre-11.0 Built on Oct 26 2011 (Git:20111025-cfa1a05) (compiled: Oct 26th, 2011)
Installed with dpkg -i latest_atv2.deb from http://mirrors.xbmc.org/nightlies/darwin...r-atv2.deb

Logs:
XBMC Log - http://pastebin.com/55ihShhH

Kindly let me know if you need any more information. I'd love to help find a fix to this continiuing AFP issue Sad

This is one of the nice crashes inside of AFP we already have seen. Just a simple "LIBAFPCLIENT: I have no idea what this is a reply to, id 4486." and then bye bye.

Sorry to say that ... but thats just bad luck. But if you want to have the feeling of doing something usefull you could post the syslog and the crashreporter log (see first link in my sig)...

Beside that - this film is lame and AFP seems to know it ... Wink

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
emmision Offline
Junior Member
Posts: 15
Joined: Aug 2010
Reputation: 0
Location: Milton, Ontario
Post: #186
Memphiz Wrote:This is one of the nice crashes inside of AFP we already have seen. Just a simple "LIBAFPCLIENT: I have no idea what this is a reply to, id 4486." and then bye bye.

Sorry to say that ... but thats just bad luck. But if you want to have the feeling of doing something usefull you could post the syslog and the crashreporter log (see first link in my sig)...

Beside that - this film is lame and AFP seems to know it ... Wink

Thanks for taking a look Memphiz...

Is there something I can do to prevent or fix the "LIBAFPCLIENT" error? What's causing it? Maybe it is the crappy movies I play LOL!!! Rolleyes

Syslog - http://pastebin.com/SN8DDL4W
crashreporter log - http://pastebin.com/fAHpyA30

Do you think it's time for me to give up using AFP and use something else?

Many thanks for your help on this one Memphiz!
find quote
xor2000 Offline
Donor
Posts: 3
Joined: Jun 2011
Reputation: 0
Post: #187
Hi,

unfortunately, I also run into crashes when watching movies via AFP. Here is the latest example:

Running XBMC:
xbmc-20111028-34ab2d3-master-atv2.deb

xbmc.log: http://pastebin.com/2tx5izRZ
syslog: http://pastebin.com/ySAiWr31
Crashreport: http://pastebin.com/GGVfx1R5

uname -a:
Darwin Apple-TV 11.0.0 Darwin Kernel Version 11.0.0: Thu Feb 10 21:46:56 PST 2011; root:xnu-1735.46~2/RELEASE_ARM_S5L8930X AppleTV2,1 arm K66AP Darwin

Any help is appreciated!

Thanks!
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,056
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #188
xor2000 Wrote:Hi,

unfortunately, I also run into crashes when watching movies via AFP. Here is the latest example:

Running XBMC:
xbmc-20111028-34ab2d3-master-atv2.deb

xbmc.log: http://pastebin.com/2tx5izRZ
syslog: http://pastebin.com/ySAiWr31
Crashreport: http://pastebin.com/GGVfx1R5

uname -a:
Darwin Apple-TV 11.0.0 Darwin Kernel Version 11.0.0: Thu Feb 10 21:46:56 PST 2011; root:xnu-1735.46~2/RELEASE_ARM_S5L8930X AppleTV2,1 arm K66AP Darwin

Any help is appreciated!

Thanks!

Same like for emmision...

@emmision and xor2000
what kind of afp server are u using - and what kind of media and stuff (pathes and so on)... as long as i can't reproduce this crash there is no possibility to fix it ... and even when i can reproduce it chances are pretty low aswell. But one step after another. One of you both guys need to develope a reproduction procedure for me which crashes on your side 100% when doing the same stuff ... if you are able to, post it here (even by using a short sample of a special movie when its needed)

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
xor2000 Offline
Donor
Posts: 3
Joined: Jun 2011
Reputation: 0
Post: #189
Hi Memphiz,

thanks for looking into this!

Memphiz Wrote:@emmision and xor2000
what kind of afp server are u using - and what kind of media and stuff (pathes and so on)... as long as i can't reproduce this crash there is no possibility to fix it ... and even when i can reproduce it chances are pretty low aswell. But one step after another. One of you both guys need to develope a reproduction procedure for me which crashes on your side 100% when doing the same stuff ... if you are able to, post it here (even by using a short sample of a special movie when its needed)

Unfortunately, when re-watching the same scene that crashed XBMC before, then it will not cause a crash again. So it seems the movie scene does not really matter and the issue can not be reproduced at will. The only reproducible thing seems to be that I never manage to get through any movie via AFP on XBMC without at least one crash.

I am running OS X Lion 10.7.2 on a Mac Mini 2011 model. I have shared the usual "Movies" folder in my home directory with password protection using Lions build in file sharing.

The nice thing about using AFP shares on the Mac Mini is that that Mac wakes up from the hibernate state automatically once these shares are accessed via XBMC.

I wonder: is the AFP client coded into iOS by Apple or does it come with XBMC? I am asking because the Firecore aTV Mediaplayer seems to be able to use AFP just fine (and I wonder if both players share the same client base).
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #190
xor2000 Wrote:I wonder: is the AFP client coded into iOS by Apple or does it come with XBMC? I am asking because the Firecore aTV Mediaplayer seems to be able to use AFP just fine (and I wonder if both players share the same client base).

AFP comes from libafpclient which comes from afpfs-ng. Firecore uses it in a different way than we do.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,056
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #191
and before someone asks ... no we can't ...

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
lawardy Offline
Junior Member
Posts: 10
Joined: Oct 2011
Reputation: 0
Post: #192
Hi guys,

Need help here. I think it has something to do with AFP, Seas0nPass and XBMC Nighly buiild.

Stroy Short:

aTV2(iOS4.3.3) is jailbroken using Seas0npass
Installed XBMC nightly build (xbmc-20111018-832ca62-master-atv2.deb)
Connecting to my iMAc using AFP (through ZeroConf)

It worked like a charm for few days, and then it started crashing.

So I installed updatebegone and it seems like it fixed the problem for 1 day.

However, after that, some movies do not even start. Even if it starts, it will crash out after 2 mins

Here is the log files

xbmc.log
CrashReports

It seems like to work fine using WebDav though. So I suspect it must be something to do with AFP, XBMC version that I used, AFP on OSX and Seas0npass.

Any idea guys?Can you please help?
find quote
jd2157 Offline
Fan
Posts: 642
Joined: Jan 2011
Reputation: 0
Location: Nova Scotia
Post: #193
lawardy Wrote:aTV2(iOS4.3.3) is jailbroken using Seas0npass

There's an FAQ on finding your iOS version here. There is no iOS 4.3.3 for Apple TV2.

I'm guessing you're on iOS 4.3 and Apple TV software 4.2.2 (2203) or Apple TV software 4.3 (2557).
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,056
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #194
lawardy Wrote:Hi guys,

Need help here. I think it has something to do with AFP, Seas0nPass and XBMC Nighly buiild.

Stroy Short:

aTV2(iOS4.3.3) is jailbroken using Seas0npass
Installed XBMC nightly build (xbmc-20111018-832ca62-master-atv2.deb)
Connecting to my iMAc using AFP (through ZeroConf)

It worked like a charm for few days, and then it started crashing.

So I installed updatebegone and it seems like it fixed the problem for 1 day.

However, after that, some movies do not even start. Even if it starts, it will crash out after 2 mins

Here is the log files

xbmc.log
CrashReports

It seems like to work fine using WebDav though. So I suspect it must be something to do with AFP, XBMC version that I used, AFP on OSX and Seas0npass.

Any idea guys?Can you please help?

nope you don't crash in afp but in opengles ... odd - do you use any subtitles?

- for the devs - symbolicated crashlog:

http://pastebin.com/3nrvEDrc

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: 2011-10-31 20:02 by Memphiz.)
find quote
lawardy Offline
Junior Member
Posts: 10
Joined: Oct 2011
Reputation: 0
Thumbs Up   
Post: #195
Memphiz Wrote:nope you don't crash in afp but in opengles ... odd - do you use any subtitles?

- for the devs - symbolicated crashlog:

http://pastebin.com/3nrvEDrc

Hi Memphis,

Thanks for your help.

Yes - I have subtitle on whenever there is a subtitle for the movie
But It keep crashing regardless Subtitle is on or not.

Is there a way to fix it? or Can I disable this opengles (Subtitles)?

Thanks in advance guys.

Regards,

lawardy
find quote
Post Reply