Re: Issue with GM through JNI

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
I should mention that if you set

   export MAGICK_DEBUG=configure

in the environment before starting a GraphicsMagick based program that 
you will then get configuration tracing which includes much of what is 
done in InitializeMagick().  If it is not crashing immediately based 
on the argument passed to InitializeMagick() then there is likely to 
be useful debug tracing.

For example:

% MAGICK_DEBUG=configure gm -version
15:43:08 0:01 0.000u 13692 log.c/SetLogEventMask/1170/Configure:
   Set log event mask: configure
15:43:08 0:01 0.000u 13692 blob.c/GetConfigureBlob/1877/Configure:
   Searching for file "log.mgk" in path 
"/usr/local/share/GraphicsMagick-1.4/config/:/usr/local/lib/GraphicsMagick-1.4/config/"
15:43:08 0:01 0.000u 13692 blob.c/GetConfigureBlob/1900/Configure:
   Found: /usr/local/share/GraphicsMagick-1.4/config/log.mgk
15:43:08 0:01 0.000u 13692 log.c/SetLogEventMask/1170/Configure:
   Set log event mask: configure
15:43:08 0:01 0.000u 13692 magick.c/InitializeMagick/1122/Configure:
   Initialize Magick
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 1
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 2
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 3
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 6
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 8
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 15
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 7
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 11
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 24
15:43:08 0:01 0.000u 13692 magick.c/MagickCondSignal/670/Configure:
   Registered signal handler for signal ID 25
15:43:08 0:01 0.000u 13692 magick.c/InitializeMagick/1197/Configure:
   Path: "" Name: "Magick" Filename: ""
15:43:08 0:01 0.000u 13692 utility.c/SetClientName/4774/Configure:
   Client Name was set to: gm
15:43:08 0:01 0.000u 13692 utility.c/SetClientName/4774/Configure:
   Client Name was set to: gm version

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.