Opened 17 years ago

Closed 17 years ago

#2155 closed defect (fixed)

shp2img crashes on ogr_wkt.map in misc

Reported by: unicoletti Owned by: warmerdam
Priority: normal Milestone:
Component: msautotest Version:
Severity: normal Keywords:
Cc:

Description

Running the msautotest suite shp2img crashes on the said map. The output of gdb follows:

unicoletti@ziggy ~/Workspace/eclipse/subversion/msautotest/misc $gdb shp2img GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run -m ogr_wkt.map -o ~/Desktop/map.png Starting program: /home/unicoletti/Workspace/eclipse/subversion/mapserver/shp2img -m ogr_wkt.map -o ~/Desktop/map.png [Thread debugging using libthread_db enabled] [New Thread -1245681968 (LWP 21515)] warning: Lowest section in /usr/lib/libicudata.so.36 is .hash at 000000b4

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1245681968 (LWP 21515)] 0xb77e03f7 in geos::GeometryFactory::getPrecisionModel () from /usr/lib/libgeos.so.2

Change History (2)

comment:2 by unicoletti, 17 years ago

Resolution: fixed
Status: newclosed

I've modified shp2img to call msSetup and the segfault has gone away.

Note: See TracTickets for help on using tickets.