Hi all.
I didn't implement ImageMagick on our site, so I don't know much about it, but hopefully I can give enough relevant information.
My site has been going down periodically every week, and my hosting provider hasn't been able to give me a straight answer as to why.
The error logs seem to point to our ImageMagick code:
convert: Corrupt JPEG data: premature end of data segment `/home/wwwtrend/public_html/uploads/c41756aa2124727ffc48e68382a70477-72016939?ts=1402016939130-2a.jpg' @ warning/jpeg.c/JPEGWarningHandler/348.
convert: Premature end of JPEG file `/home/wwwtrend/public_html/uploads/c41756aa2124727ffc48e68382a70477-72016939?ts=1402016939130-2a.jpg' @ warning/jpeg.c/JPEGWarningHandler/348.
convert: Corrupt JPEG data: premature end of data segment `/home/wwwtrend/public_html/uploads/c41756aa2124727ffc48e68382a70477-72016939?ts=1402016939130-2a.jpg' @ warning/jpeg.c/JPEGWarningHandler/348.
I looked for information about JPEGWarningHandler and this page: http://xforce.iss.net/xforce/xfdb/74658
Which say something about a vulnerability that causes memory exaustion. I dont know if this is related to my problem, if this can happen on accedent, or if some one out there is making a concious effort.
Please help.
JPEGWarningHandler() bringing down site?
-
- Posts: 3
- Joined: 2014-07-03T07:07:53-07:00
- Authentication code: 6789
Re: JPEGWarningHandler() bringing down site?
What is your ImageMagick version?
-
- Posts: 3
- Joined: 2014-07-03T07:07:53-07:00
- Authentication code: 6789
Re: JPEGWarningHandler() bringing down site?
ImageMagick 6.7.9-10
-
- Posts: 3
- Joined: 2014-07-03T07:07:53-07:00
- Authentication code: 6789
Re: JPEGWarningHandler() bringing down site?
Does anyone have any information on what could be causing this??
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: JPEGWarningHandler() bringing down site?
What was the exact command used when this failed? What platform?
Can you post a link to an example JPEG file that fails or is this failing upon creation of a jpeg file?
This may have been fixed by later releases of IM. Your version of IM is almost 200 versions old. You should probably upgrade you delegate libraries, especially, libjpeg and then upgrade IM.
I do not know if this is related, but there was vulnerability issue that I believe has a patch. See viewtopic.php?f=4&t=20629
Can you post a link to an example JPEG file that fails or is this failing upon creation of a jpeg file?
This may have been fixed by later releases of IM. Your version of IM is almost 200 versions old. You should probably upgrade you delegate libraries, especially, libjpeg and then upgrade IM.
I do not know if this is related, but there was vulnerability issue that I believe has a patch. See viewtopic.php?f=4&t=20629