Opened 12 years ago

Last modified 12 years ago

#4236 assigned defect

msGetMarkerSize() call generate SIGFPE crash

Reported by: woodbri Owned by: tbonfort
Priority: normal Milestone: 6.2 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc:

Description

Using trunk Updated to revision 13230. I trying to use the new label leader code and have generated the following SIGFPE crash. This is probably because I have some errors in the mapfile.

[Mon Mar 12 00:23:32 2012].648454 msStyleSetGeomTransform(): General error message. unknown transform expression
[Mon Mar 12 00:23:32 2012].648645 msStyleSetGeomTransform(): General error message. unknown transform expression
[Mon Mar 12 00:23:32 2012].648744 msStyleSetGeomTransform(): General error message. unknown transform expression
[Mon Mar 12 00:23:32 2012].677970 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/not-nt2/50m-admin-0-countries)
[Mon Mar 12 00:23:32 2012].720800 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/not-nt2/tidx-ForestBoundary)
[Mon Mar 12 00:23:32 2012].914320 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/not-nt2/50m-lakes)
[Mon Mar 12 00:23:32 2012].927105 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/not-nt2/50m-admin-0-boundary-lines-land)
[Mon Mar 12 00:23:32 2012].932514 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/not-nt2/10m-admin-1-states-provinces-lines-shp)
[Mon Mar 12 00:23:32 2012].984848 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/not-nt2/world/world-names)
[Mon Mar 12 00:23:32 2012].989242 msShapefileOpen(): Unable to access file. (/u/data/tgr2011-maps/STATE/tl_2011_us_state_pt)
[Mon Mar 12 00:23:32 2012].996751 msLoadMSRasterBufferFromFile(): General error message. unable to open file /u/data/tiger2011-maps/cicle for reading
[New Thread 0x7f034385e710 (LWP 2468)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7f034385e710 (LWP 2468)]
0x00007f03434af37f in msGetMarkerSize ()
   from /usr/local/lib/libmapserver-6.1-dev.so
Current language:  auto; currently asm
(gdb) bt
#0  0x00007f03434af37f in msGetMarkerSize ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#1  0x00007f034350477e in computeLabelMarkerPoly ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#2  0x00007f0343505f5e in msDrawLabelCache ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#3  0x00007f034350c5f5 in msDrawMap ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#4  0x00007f03434f40a2 in msWMSGetMap ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#5  0x00007f03434fa7cf in msWMSDispatch ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#6  0x00007f034352c972 in msOWSDispatch ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#7  0x00007f0343570baf in msCGIDispatchRequest ()
   from /usr/local/lib/libmapserver-6.1-dev.so
#8  0x0000000000401165 in main ()

Change History (3)

comment:1 by woodbri, 12 years ago

This appears to be caused because the symbol was not defined.

comment:2 by tbonfort, 12 years ago

can you provide a backtrace with debugging symbols enabled please?

comment:3 by tbonfort, 12 years ago

Owner: changed from sdlime to tbonfort
Status: newassigned
Note: See TracTickets for help on using tickets.