Hangs and errors

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
stevenb46
Posts: 40
Joined: 2014-08-20T08:47:18-07:00
Authentication code: 6789

Hangs and errors

Post by stevenb46 »

I have some questions. I've never had ImageMagick hang on me. Is it possible or will it just time out. Is there a way to control its behaviour?

What is the best way to grab errors? Are there a list of errors? I'm looking for reasons for failure to generate a "convert" file. Is there a resource (or webpage(s)) that explains this?

TIA!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Hangs and errors

Post by fmw42 »

I have mostly no idea. But you could put one of the -debug commands in your command line. See
http://www.imagemagick.org/Usage/basics/#controls

My guess would be that your tmp directory may be full.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Hangs and errors

Post by snibgo »

I'm not sure what you are asking. In the code, exception.h defines the exceptions that can be raised. Bugs sometimes cause IM to get stuck in loops that consume CPU cycles and memory. These bugs get reported and fixed.

When "convert" fails, it should send text to stderr that describes the problem, including the C-function and line number.
snibgo's IM pages: im.snibgo.com
Post Reply