AppleTV 2 (black) MySQL Causes Crash

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
automaton Offline
Junior Member
Posts: 22
Joined: Jun 2012
Reputation: 0
Post: #21
I think we have managed to get our wires crossed somewhere.

The timeline is something like the below.

I only have one ATV2. I also have an ATV1 and lots of other boxes running various operating systems :-)

I had problems with crashing on SMB access on my ATV2, I started a thread, you posted the dropbox link, I replaced the running version of libsmbclient.dylib with the one that you posted and I could scan a network share.

I then thought I would try and get the shared MySQL with shared sources working. I initially tested on Ubuntu 12.04 and it worked perfectly, then I tried with my ATV2 and it failed. In case it was a problem with the MySQL database, I dumped the database and tried again with the ATV2, this also failed and I started a new thread.

I have tried as per [post #5 of this thread using an IPv4 address instead of a f.q.d.n., I haven't tried IPv6, but I do have IPv6 running, but as the ATV1 doesn't have IPv6...

I know that name resolution is working on the ATV2, as if I add path substitution for thumbnails into advancedsettings.xml the requisite folders are created on the server. The same server is running the file shares and a MySQL instance.

So at the moment, I have two issues

1/ with just the MySQL settings in advancedsettings.xml (using f.q.d.n. or IPv4 address) the ATV2 shows the Eden "boot" logo and then "crashes" back to the Apple screen
2/ playing VIDEO_TS rips the ATV2 frequently pauses and goes to "buffering"

The initial issue of not being able to scan an SMB share has been resolved with the copy of libsmbclient.dylib from the dropbox link that you posted.

I think that's about it :-)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #22
And i just didn't realise that you are one and the same person. Apologize :/

Just as a hint. Only because of name resolution is working with path substitution doesn't automatically mean that it works on other places too. Its because i'm just unsure if the resolution is hooked up on every place in the code where network stuff is done. But as it seems this isn't the cause for your mysql problems.

I'm not sure what to tell you. Mysql was never an issue on iOS for me.

Could you please post another crashlog though? I want to be sure that its allways the same crash. As i said the old crashlog wasn't related to mysql.

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
automaton Offline
Junior Member
Posts: 22
Joined: Jun 2012
Reputation: 0
Post: #23
I thought that might be the case, no need to apologise :-)

Short name resolution doesn't appear to work on my ATV2, unless I add the host to /etc/hosts, but f.q.d.n.does work, at least for doing "ping f.q.d.n."

With advanced settings.xml like this http://xbmclogs.com/show.php?id=4417

debug log http://xbmclogs.com/show.php?id=4418
crashlog http://xbmclogs.com/show.php?id=4419

sources.xml had no entries in it
(This post was last modified: 2012-07-03 13:01 by automaton.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #24
Muhh i'm blind ... it was libmysqlclient all the time - not libsmbclient. This is definitly not the bug for me as it seems ...

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
automaton Offline
Junior Member
Posts: 22
Joined: Jun 2012
Reputation: 0
Post: #25
yes, I was fairly sure that this one wasn't an SMB issue :-)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #26
could you try http://mirrors.xbmc.org/test-builds/darw...5-atv2.deb please?

With that post another crashlog please. I don't have the needed dsym files anymore for the version you are using (long story...) needed for symbolicating that crashlog.

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
automaton Offline
Junior Member
Posts: 22
Joined: Jun 2012
Reputation: 0
Post: #27
sorry, been out for two days.

that link 404s
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,665
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #28
yep because this is our official versoin now. You should see it in nitotv/apt-get the next days (called 11.0-4).

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
automaton Offline
Junior Member
Posts: 22
Joined: Jun 2012
Reputation: 0
Post: #29
Not a problem :-)
find quote
automaton Offline
Junior Member
Posts: 22
Joined: Jun 2012
Reputation: 0
Post: #30
one apt-get update and apt-get upgrade later, its happy with MySQL :-)

Thanks!
find quote
Post Reply