da.mihi.sis.bubulae.frustrum.assae.solana.tuberosa.in.modo.gallico.fricta.ac.quassum.lactatum.coagulatum.cras...@imagemagick.org
wrote on 10-OCT-2011 13:46:49.65

>> I'm running a program linked against ImageMagick SVN version 5365.
>
>The Subversion trunk is alpha level code. You probably want the stable
>version of ImageMagick @ ImageMagick-6.7.3.

I know, but it is part of testing the software. I'm running this on a
OpenVMS machine, but running the same program linked against a stable
version of Imagemagick on a linux system The program seems to behave
correctly.

>If you do use ImageMagick-7.0.0-0,
>use the MagickCore/MagickCore.h header rather than magick/api.h.
Good tip, I'll try this one

>Also check
>to insure *pic_ is not negative or exceeds 256 for this line of code:
>
>  SetPixelRed( imageData , imageData->colormap[ *pic_ ].red  ...
I'm prety sure its in the range from 0 to 255.

>Finally, use gdb to identify the source line where the program faults.
When the program finally crashes is crashes at the line 
 SetPixelRed( imageData , imageData->colormap[ *pic_ ].red
but already before that the program stopped working correctly, which can be
seen by writeing this large file python-magick-xxxxx in my home directory.
So the line at which is crashes has probably no meaning at all

                   Jouk


Pax, vel iniusta, utilior est quam iustissimum bellum.
    (free after Marcus Tullius Cicero (106 b.Chr.-46 b.Chr.)
     Epistularum ad Atticum 7.1.4.3)

>------------------------------------------------------------------------------<

  Jouk Jansen
                 
  [email protected]

  Technische Universiteit Delft        tttttttttt  uu     uu  ddddddd
  Kavli Institute of Nanoscience       tttttttttt  uu     uu  dd    dd
  Nationaal centrum voor HREM              tt      uu     uu  dd     dd
  Lorentzweg 1                             tt      uu     uu  dd     dd
  2628 CJ Delft                            tt      uu     uu  dd     dd
  Nederland                                tt      uu     uu  dd    dd
  tel. 31-15-2782272                       tt       uuuuuuu   ddddddd

>------------------------------------------------------------------------------<

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users
  • ... Jouk Jansen
    • ... da . mihi . sis . bubulae . frustrum . assae . solana . tuberosa . in . modo . gallico . fricta . ac . quassum . lactatum . coagulatum . crassum
    • ... Jouk Jansen

Reply via email to