Kodi Community Forum
Nightly (07-14) Crashing on Movie scan during scaling - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: Nightly (07-14) Crashing on Movie scan during scaling (/showthread.php?tid=136153)

Pages: 1 2 3


Nightly (07-14) Crashing on Movie scan during scaling - Jester - 2012-07-15

Platform: Apple TV2
Version of iOS: 4.3
Build: running nightly of 14-07-2012

Everything stable for months, first crash in a long while, in this case on scanning a new movie (Cars 2006) into the xbmc database (local)

XBMC Debug Log:
http://xbmclogs.com/show.php?id=5030

/var/mobile/Library/Logs/CrashReporter/AppleTV_2012-07-15-160835_xbmc.plist
http://xbmclogs.com/show.php?id=5031

Syslog entry thats strange ??
Jul 15 16:08:45 xbmc AppleTV[80]: Appliance com.apple.frontrow.appliance.tv not loaded because it doesn't have any categories.



I'm still playing around to get more details, but let me know whats needed if any



P.S. might be unrelated, as I think this crash was there before the beigelist update:

Quote:The following packages will be upgraded:
beigelist
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.8kB of archives.
After this operation, 4096B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://apt.awkwardtv.org stable/main beigelist 2.2.4-8 [14.8kB]
Fetched 14.8kB in 0s (20.4kB/s)
(Reading database ... 3210 files and directories currently installed.)
Preparing to replace beigelist 2.2.3-3 (using .../beigelist_2.2.4-8_iphoneos-arm.deb) ...
Unpacking replacement beigelist ...
Setting up beigelist (2.2.4-8) ...



RE: Nightly (07-14) Crashing on Movie scan - Jester - 2012-07-15

EDIT:

Is this maybe related to:

Code:
16:34:19 T:132620288   DEBUG: VideoInfoScanner: Adding new item to movies:smb://NAS/share/videos/Movies/Cars (2006)/Cars.mkv
16:34:19 T:148090880   DEBUG: Stat - curl filetime: 1340854415
16:34:19 T:148090880   DEBUG: CurlFile::Open(0x233e9bd0) http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg
16:34:19 T:148090880   DEBUG: Caching image 'http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg' to '0/05cb47bf.jpg':
16:34:19 T:148090880   DEBUG: DllSwScale: Using libswscale system library


and me using :
Code:
<imageres>480</imageres>
<fanartres>720</fanartres>

in advancedsettings ?

EDIT2:

Uhm, nope, as it still crashes even if I remove the above advancedsettings



RE: Nightly (07-14) Crashing on Movie scan - Memphiz - 2012-07-15

need the first lines of the xbmc.log for knowing which git revision this is.


RE: Nightly (07-14) Crashing on Movie scan - Jester - 2012-07-16

(2012-07-15, 23:29)Memphiz Wrote: need the first lines of the xbmc.log for knowing which git revision this is.

Sorry about that.
12.0-ALPHA4 Git:20120714-d4e069b

or this one if you need the full line Tongue
d4e069b3f3bf48f9d821fd5955aeccb5d7d10dff


RE: Nightly (07-14) Crashing on Movie scan - Jester - 2012-07-16

I've added another random movie, no problem at all.

Could it be that it's crashing due to a "corrupt" image on the TMDB site for this particular movie (Cars 2006) as thats one of the last things it's doing in the debug log?


RE: Nightly (07-14) Crashing on Movie scan - Memphiz - 2012-07-16

I have to wait until i get the requested DSYM file for getting usefull information out of the crashlog (already informed davilla who will grab it from the buildbot and send it to me).


RE: Nightly (07-14) Crashing on Movie scan - Jester - 2012-07-16

(2012-07-16, 16:46)Memphiz Wrote: I have to wait until i get the requested DSYM file for getting usefull information out of the crashlog (already informed davilla who will grab it from the buildbot and send it to me).

Ah ok, understood.

Danke


RE: Nightly (07-14) Crashing on Movie scan - Memphiz - 2012-07-16

Bitte Smile

here the symbolicated crashlog for the devs:

http://pastebin.com/p0qeQm1C

Its definitly crashing during scalling of the fanart/thumb. If its allways crashing on the same fanart - could you provide me with that pic?


RE: Nightly (07-14) Crashing on Movie scan - Jester - 2012-07-16

(2012-07-16, 18:02)Memphiz Wrote: Bitte Smile

here the symbolicated crashlog for the devs:

http://pastebin.com/p0qeQm1C

Its definitly crashing during scalling of the fanart/thumb. If its allways crashing on the same fanart - could you provide me with that pic?

Toll, wir konnen auf deutsch reden Wink

I'm assuming it's this one as thats the last one easy_aquire gets (see attachment)

easy_aquire - Created session to http://cf2.imgobject.com
Caching image 'http://cf2.imgobject.com/t/p/original/5WSoAFzPlu1ZpKB3O8mqfIGOXB.jpg' to '0/05cb47bf.jpg':

P.S.
I checked, the cached/scaled thumbnail ('0/05cb47bf.jpg') is never created


RE: Nightly (07-14) Crashing on Movie scan during scaling - Memphiz - 2012-07-16

Now i only need to figure how i get a fake movie which triggers this resize ... not into it (didn't follow jm's latest changes according to auto resize on import). Hints? ^^


RE: Nightly (07-14) Crashing on Movie scan during scaling - Jester - 2012-07-16

(2012-07-16, 21:19)Memphiz Wrote: Now i only need to figure how i get a fake movie which triggers this resize ... not into it (didn't follow jm's latest changes according to auto resize on import). Hints? ^^

you mean the recent work related to the advancedsettings stuff? as I still get it when disabled, or you mean it auto resizes anyway on recent nightlies regardless of settings ?

fake movie, just created a Cars (2006) folder with a test.mkv file and let it scrape




RE: Nightly (07-14) Crashing on Movie scan during scaling - g-off - 2012-07-17

I nuked my database and rescraped and had this problem until I turned off actor thumbnail downloading. I normally have this turned off but the wonky guisettings not being retained problem has turned it back on.

I guess it freaks out trying to do too much while scraping


RE: Nightly (07-14) Crashing on Movie scan during scaling - Jester - 2012-07-17

(2012-07-17, 02:58)g-off Wrote: I nuked my database and rescraped and had this problem until I turned off actor thumbnail downloading. I normally have this turned off but the wonky guisettings not being retained problem has turned it back on.

I guess it freaks out trying to do too much while scraping

No, it "freaks out" during scaling of a picture (in this case one of the actors linked) nothing to do with doing too much as movies with bigger details set have no issue.



RE: Nightly (07-14) Crashing on Movie scan during scaling - Memphiz - 2012-07-17

Yep thats the issue than - scaling this actore pic.

I hope i can get to it later today (and hopefully it crashes on osx aswell)...


RE: Nightly (07-14) Crashing on Movie scan during scaling - Cranial - 2012-07-17

Memphiz,

If it helps, all images are now cached at no larger than 720p, except for fanart which will cache at 1080p if the image is that big.

The linked problem image is 753x1024 pixels, so it's being resized for cache, independent of <imageres> or <fanartres> in advancedsettings.xml .


Beyond that I can't help, I'm not sure how to test to scaling in a helpful way.