wms raster rquest crash!

Frank Warmerdam warmerdam at POBOX.COM
Wed Sep 15 10:15:21 EDT 2004


Haiyan Liu wrote:
  >>From this list, we noticed some postings on this problem. As some folks
> suggested that SegFault problem could be traced to mapserver's shp2img, so
> we tried shp2img and did get that segfault crash. When we tried using gdb to
> 'debug' the shp2img util with the same mapfile, we found it crashed on
> tif_read, here is the message before it died,
>
> ##########################################################################
> (gdb) run -m /var/www/html/zoom2it_mapserver/map_file/test_wms.map
> Starting program: /root/build/mapserver-4.0.1/shp2img
> -m/var/www/html/zoom2it_mapserver/map_file/test_wms.map
> (no debugging symbols found)...
> (no debugging symbols found)...
> (no debugging symbols found)...
> (no debugging symbols found)...
> (no debugging symbols found)...[Thread debugging using libthread_dbenabled]
> [New Thread -1084655424 (LWP 5180)]
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1084655424 (LWP 5180)]0x00a036ad in TIFFFillStrip
> (tif=0x8863628, strip=1) at tif_read.c:252252
> bytecount = td->td_stripbytecount[strip];
> ##########################################################################
>
> I hope i have explained my problem clearly. Any help/hint will be greatly
> appreciated! By the way, almost all mapserver versions above 4.0.1 have been
> triedwith the same configs as below and failed exactly the same way.

Haiyan,

When reporting crashes within gdb it is also helpful to do a "where" command
so we can see the whole call stack.

This seems like it might be a bug in GDAL.  I would encourage you to report
it in the MapServer Bugzilla and ensure it is assigned to me.  You will need
to provide a dataset (ideally a smallish raster file that also demonstrates
the problem). Also, ensure you provide details on the version of GDAL you
are using.

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