AppleTV 2 (black) - Nightly (07-14) Crashing on Movie scan during scaling

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #16
I just did a quick install of the same nightly on win32, doesn't crash on the same movie......

Maybe they changed the image remotely as this is de win32 debug log of the file pull
or you don't see the scaling working in win32 ?? as you can see it's saved down scaled (529x720)



Code:
DEBUG: XFILE::CCurlFile::Stat - curl filetime: 1331633086
13:15:39 T:3924   DEBUG: CurlFile::Open(07C52D20) http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg
13:15:39 T:3924   DEBUG: Caching image 'http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg' to '0/05cb47bf.jpg':
13:15:39 T:3924   DEBUG: cached image 'special://masterprofile/Thumbnails/0/05cb47bf.jpg' size 529x720

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
(This post was last modified: 2012-07-17 13:22 by Jester.)
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #17
Might even be arm / neon specific because ffmpeg (which is used for scaling) has multiple arm specific optimisations (so they only would affect arm platforms).

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,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #18
Code:
20:08:24 T:157929472   DEBUG: Caching image 'http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg' to '0/05cb47bf.jpg':                                                                                                    
20:08:24 T:157929472   DEBUG: DllSwScale: Using libswscale system library                                                                                                                                                                  
20:08:24 T:157929472   DEBUG: cached image 'special://masterprofile/Thumbnails/0/05cb47bf.jpg' size 529x720

This is from my atv2 - didn't crash with that image...

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,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #19
Ohh and crashed on my ipad ... lets see if i find something...

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,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #20
Prevent source images with odd number of pixels in width Wink. Looks like a bug in ffmpeg. Pinged JM in the hope i knows something...

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
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #21
Ahh, thanks for that.

weird that you didn't get in on ATV2 but same issue on ipad.

In any case, odd ones out Tongue

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #22
Yeah but it also crashes on osx. Still doing some test series which maybe result in a possible workaround.

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,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #23
Watch the bugfix progress here

https://github.com/xbmc/xbmc/pull/1181

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
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #24
(2012-07-18 23:39)Memphiz Wrote:  Watch the bugfix progress here

https://github.com/xbmc/xbmc/pull/1181

Thanks,

does this help ? (although it upscaling and CPU instruction related)
http://ffmpeg.org/trac/ffmpeg/ticket/397

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #25
Nope its unrelated Wink - but thx.

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
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #26
(ignore, just for documentation if more people get crashes on certain movies)
Current list of crashing movies:

Star Wars Episode IV - A New Hope (1977)
Star Wars Episode V - The Empire Strikes Back (1980)
Cars (2006)

(maybe it's time to pull this PR, even if it's "hacky" or else we might bump into more and more people crashing on rebuilding of databases (or just updating them due to the movie sets feature)

P.S.
@Memphiz
What I don't get, is that it doesn't crash on your ATV2, which iOS are you running?

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
(This post was last modified: 2012-07-21 13:41 by Jester.)
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #27
Didn't get a sign-off yet ...

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
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #28
(2012-07-21 13:29)Memphiz Wrote:  Didn't get a sign-off yet ...

Understood....just thinking for the rest here, I pull it in works fine on my own compile Wink but make sense to get it in there, but no rush.

u running iOS < 4.3 on your atv2 ?

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 11,584
Joined: Feb 2011
Reputation: 116
Location: germany
Post: #29
nope 5.01

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
Jester Offline
XBMC for iOS* forums Moderator
Posts: 980
Joined: Oct 2008
Reputation: 10
Post: #30
(2012-07-22 00:53)Memphiz Wrote:  nope 5.01
?
Thanks, any reason to think why yours doesn't crash on 5.01 and mine on 4.3 does crash ? (I could upgrade and try of course)
or just coincidence ?

Current XBMC Platform: ATV2
Extra XBMC Platform: Raspberry Pi
Read the iOS FAQ
find quote