Opened 17 years ago

Closed 17 years ago

#2218 closed defect (fixed)

Segmentation fault with some of the Chameleon samples (Chameleon 2.4.1/2.6-beta1)

Reported by: nsavard Owned by: dmorissette
Priority: normal Milestone: 5.0 release
Component: MapScript-PHP Version: 5.0
Severity: blocker Keywords:
Cc: nsavard@…, mgleahy@…, jmckenna@…

Description (last modified by dmorissette)

I reproduced the problem originally reported by Mike Leahy where some of the Chameleon samples cause a segmentation fault of MapServer(Chameleon 2.4.1 and MapServer 5.0.0-beta3).

The appache error log is: [Thu Aug 9 10:25:42 2007] [notice] child pid 8273 exit signal Segmentation fault (11)

It works for the samples listed below, while the rest choke:

Sample using simple images for buttons
Sample using multi-state buttons
Sample using multi-state buttons generated by buttonizer
Sample using XML Theme Legend
Basic Sample using the JSAPI mode

Change History (5)

comment:1 by dmorissette, 17 years ago

Owner: changed from mapserverbugs to dmorissette

For the record, Normand was testing using the 5.0.0-beta3 FGS build at http://mapserver.gis.umn.edu/development/release_plans/mapserver_5_0/fgs-msx-5.0

I'll try to have a look at this one early next week (unless someone else's got time to do it sooner?)

comment:2 by mgleahy, 17 years ago

Cc: mgleahy@… added
Summary: Segmentation fault with some of the Chameleon samples (Chameleon 2.4.1)Segmentation fault with some of the Chameleon samples (Chameleon 2.4.1/2.6-beta1)

comment:3 by jmckenna, 17 years ago

Cc: jmckenna@… added

I also notice this error, with beta3 and chameleon 2.4.1, on windows

comment:4 by dmorissette, 17 years ago

Description: modified (diff)
Status: newassigned

Checking now...

comment:5 by dmorissette, 17 years ago

Resolution: fixed
Status: assignedclosed

The problem was that all those samples had legends with layers with no classes (e.g. WMS layers).

I have verified that this was the same issue as ticket #2228 and the fixes in r6583 also fix this crash.

Note: See TracTickets for help on using tickets.