#3828 closed defect (duplicate)
imagetype gif causes segmentation fault in trunk
Reported by: | havatv | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | havatv |
Description (last modified by )
(gdb) run -m test.map -o test.gif Starting program: svn/mapserver/shp2img -m test.map -o test.gif [Thread debugging using libthread_db enabled] [New Thread 0x7ffd707a4710 (LWP 16305)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffd707a4710 (LWP 16305)] 0x000000000050c582 in msFreeSymbol (s=0x27be3b0) at mapsymbol.c:128 128 s->renderer->freeSymbol(s); (gdb) bt #0 0x000000000050c582 in msFreeSymbol (s=0x27be3b0) at mapsymbol.c:128 #1 0x000000000050d59d in msFreeSymbolSet (symbolset=0x27bbca0) at mapsymbol.c:397 #2 0x00000000004a4e43 in msFreeMap (map=0x27bbc70) at mapobject.c:102 #3 0x0000000000414d6a in main (argc=5, argv=0x7fffbfffc058) at shp2img.c:314
Attachments (1)
Change History (8)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
comment:3 by , 13 years ago
Cc: | added |
---|
comment:4 by , 13 years ago
Havard, can you test the attached patch to see if it resolves your issue please ?
comment:6 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
I've created #3834 which contains the reason for this bug. closing this one as it is only a side effect of 3834.
Note:
See TracTickets
for help on using tickets.
This one seems to be more difficult to isolate. In my complex mapfile, I can hinder the seg fault by for instance removing a class with simple polygon fill. It does not seem to be tied to one specific class, because if I remove another class with simple polygon fill, that can also hinder the seg fault.
It does not seem to be tied to the dimensionality of the features either, because if I render only polygons, or only lines, there is no crash.