[mapserver-users] gmap demo segfault

Frank Warmerdam warmerdam at pobox.com
Sun Nov 24 22:09:12 EST 2002


Caffeinate The World wrote:
>     ...
>     Reading symbols from /usr/local/lib/libproj.so...done.
>     Reading symbols from /usr/pkg/lib/libtiff.so.3...done.
>     #0  0x16220d06c in drawTIFF (map=0x0, layer=0x1a5, img=0x120456000,
>         filename=0x0) at mapraster.c:828
>     ---Type <return> to continue, or q <return> to quit---
>     828               vv=buf[xi+boffset];
>     (gdb) bt
>     #0  0x16220d06c in drawTIFF (map=0x0, layer=0x1a5, img=0x120456000,
>         filename=0x0) at mapraster.c:828

Hi,

This is apparently not the the current 3.7 (cvs) source for mapraster.c
since line 828 is in drawJPEG().  If you can update to the latest it would
be easier to help you fix the problem (or are you working on 3.6.3?).

The crash is occuring while reading from the TIFF strip buffer.  If you
are interested in tracing the problem, I would suggest printing out
xi, boffset, and the value returned by TIFFStripSize(tif).  Also, could
you provide a tiffinfo report on the tiff file?  Alternatively, point me
to the data, and minimal file demonstrating the problem?

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the mapserver-users mailing list