Page 1 of 1
convert gives exit code 11
Posted: 2008-09-20T11:53:47-07:00
by Zimrilim
I get "exit code 11" returned whenever I try this command:
convert 'temp/something' -resize 1100x1100\> -quality 95 'name.png'
If someone can tell me what an exit code 11 means I would really appreciate it.
It is not in the manpages or any of the others files in the doc directory on sourceforge.
Re: convert gives exit code 11
Posted: 2008-09-20T15:05:11-07:00
by fmw42
I have no idea what exit code 11 means. But if you are on Windows, then you need to use ^ rather than \ as escapes
-resize 100x100^>
see
http://www.imagemagick.org/Usage/api/#windows
If you are not on Windows, then I am not sure what the problem might be. I tried something similar and it works fine.
convert './zelda3.jpg' -resize 110x110\> -quality 95 'test.png'
Is your input really in temp/ and not tmp/?
Re: convert gives exit code 11
Posted: 2008-09-21T00:16:32-07:00
by Zimrilim
I am pretty sure it isn't in tmp, although the settings might have changed since the hosting service migrated us. Maybe they migrated us from linux to windows, because it used to work. I could always try that, thanks.
Re: convert gives exit code 11
Posted: 2008-09-21T14:29:56-07:00
by fmw42
Definitely check where you ISP is placing images and also which OS you are using!
Re: convert gives exit code 11
Posted: 2008-09-22T07:45:19-07:00
by Zimrilim
Well I define where the images are placed myself and the OS I have verified is linux.
Could it be related that the same commands on my local machine the created files are usually half the size or smaller than when executed on the remote server?
Re: convert gives exit code 11
Posted: 2008-09-22T11:18:33-07:00
by fmw42
What IM version are you using?
identify -version
Where was it installed?
Are you using Q16 or Q8 IM?
Do you have permissions for the image directories?
Does IM know about your temp directory? Is it in your home path or the path where IM knows you work?
Try your command with input and output images in your home directory
Re: convert gives exit code 11
Posted: 2008-09-23T02:37:56-07:00
by Zimrilim
identify -version returns:
Version: ImageMagick 6.3.5 08/01/07 Q16
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
We have full access to the image directory and we define the temp directory ourselves and show that in our command.
However because the code we use it with is complex, it would help a lot if we knew what exit code 11 means. Then it would is easier to debug. I have already tried the man pages on the sourceforge page and found nothing.
Re: convert gives exit code 11
Posted: 2008-09-23T09:13:13-07:00
by fmw42
post a link to this message in the Bugs forum. perhaps someone there can tell you what that is. it might not be an IM error but your shell error or some other error on your system
Re: convert gives exit code 11
Posted: 2008-09-23T09:39:28-07:00
by el_supremo
I think that if the Linux versions exits with code 11 then the program had a segmentation fault which means it is trying to access a location outside its address space. This is generally caused by a bug in the program. A (much) less likely cause is that the ram is going bad.
Pete
Re: convert gives exit code 11
Posted: 2008-09-23T13:00:52-07:00
by Zimrilim
Thank you for the reply, I will post a message about this in the bugs forum.
If it is really a bug in the software or an error in the ram then I can get the appropriate support from my webhost.
Re: convert gives exit code 11
Posted: 2008-09-23T13:50:12-07:00
by fmw42
I suggest you modify your post on the Bugs forum to put a link back to this topic in the Users forum, so that whomever can follow the thread.