Bug 6272 - Server crash attempting to do album art thumbnail
: Server crash attempting to do album art thumbnail
Status: RESOLVED DUPLICATE of bug 4699
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.0
: PC Windows Vista
: P2 critical (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-04 18:31 UTC by Hugh Pyle
Modified: 2007-12-04 19:21 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hugh Pyle 2007-12-04 18:31:42 UTC
SqueezeCenter_trunk_v2007-12-04, Windows.

I added cover.jpg for an album, and SqueezeCenter crashes when trying to show thumbnail.

[21:22:19.0846] Slim::Web::Graphics::processCoverArtRequest (88) this is a transparent png request
[21:22:19.0930] Slim::Web::Graphics::processCoverArtRequest (155) Asking for trackid: 2778 - cover at size 50x50
[21:22:19.0949] Slim::Web::Graphics::processCoverArtRequest (164)   artwork cache key: 2778-pad-50-50-0-.png
[21:22:19.0975] Slim::Schema::Track::coverArt (271) Retrieving artwork for: file:///D:/Music-FLAC/David%20Grisman%20With%20Bob%20Brozman%20&%20Mike%20Auldridge%
20-%20Tone%20Poems%20III/01%20-%20Nostalgia%20Prelude.flac
[21:22:19.1072] Slim::Schema::Track::coverArt (287) Found cached file: D:\Music-FLAC\David Grisman With Bob Brozman & Mike Auldridge - Tone Poems III\cover.jpg
[21:22:19.1157] Slim::Web::Graphics::processCoverArtRequest (178)   The variable $actualContentType, which attempts to understand what image type the original f
ile is, is set to image/jpeg
[21:22:19.1229] Slim::Web::Graphics::processCoverArtRequest (208)   got cover art image image/jpeg of 41792 bytes
[21:22:19.1270] Slim::Utils::Misc::msg (1214) Warning: [21:22:19.1267] Perl interpreter failed at /<C:\Program Files\SqueezeCenter\server\squeezecenter.exe>Slim
/Web/Graphics.pm line 227.


Here's the image:
http://www.inguzaudio.com/Data/cover.jpg


(Problem goes away after replacing this with a smaller image, http://ecx.images-amazon.com/images/I/41P11A9SHJL._AA240_.jpg)
Comment 1 KDF 2007-12-04 19:01:45 UTC
see bug 4699.  submitted artwork also contains JFIF comment in header, per comment #27 of that report.
removing the comment is the workaround.  

*** This bug has been marked as a duplicate of 4699 ***
Comment 2 Hugh Pyle 2007-12-04 19:21:01 UTC
thanks!