Last modified: 2014-01-06 13:06:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61668, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59668 - "Error generating thumbnail" for a specific PDF file (gs OOM'ing?)
"Error generating thumbnail" for a specific PDF file (gs OOM'ing?)
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
PdfHandler (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-05 10:07 UTC by Dmytro Dziuma
Modified: 2014-01-06 13:06 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dmytro Dziuma 2014-01-05 10:07:47 UTC
The following link gives an error instead of a thumbnail:
https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Етнографічний_збірник_Т.28.pdf/page1-7625px-Етнографічний_збірник_Т.28.pdf.jpg

The error message is:

Error creating thumbnail: /bin/bash: line 1: 6515 Done 'gs' -sDEVICE=jpeg -sOutputFile=- -dFirstPage=1 -dLastPage=1 -r150 -dBATCH -dNOPAUSE -q '/tmp/localcopy_e0efc8af0d37-1.pdf'
6516 Killed | 'convert' -depth 8 -resize 7625 - '/tmp/transform_6808bfed72ec-1.jpg'
Comment 1 db [inactive,noenotif] 2014-01-05 12:34:32 UTC
This can also be a problem in or with the PdfHandler extensions.
Comment 2 Bryan Tong Minh 2014-01-05 14:16:59 UTC
My guess would be out-of-memory. Is ImageMagick able to to its memory efficient jpeg resizing algorithm when reading from stdin?
Comment 3 Bawolff (Brian Wolff) 2014-01-05 15:28:53 UTC
Id guess gs being the thing oom.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links