Opened 14 years ago
Closed 14 years ago
#3548 closed defect (fixed)
newSFWBitmapFillStyle: not a valid Bitmap FillStyle: 0
Reported by: | strk | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Output-SWF | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | dmorissette, assefa |
Description
mapswf.c doesnt' check returns from libming functions and segfaults. See http://bugs.libming.org/show_bug.cgi?id=107
Attachments (1)
Change History (7)
comment:1 by , 14 years ago
by , 14 years ago
Attachment: | mapswf_bitmapFill.patch added |
---|
comment:3 by , 14 years ago
FYI: you can also use git to try the patch:
$ git clone git://github.com/strk/mapserver.git $ cd mapserver && ./autogen.sh && ./configure --with-ming && make
comment:4 by , 14 years ago
Owner: | changed from | to
---|
comment:5 by , 14 years ago
Cc: | added |
---|
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed and committed in r10519. Thanks strk!
Note:
See TracTickets
for help on using tickets.
newSWFBitmapFillStyle: not a valid Bitmap FillStyle: 0
Program received signal SIGSEGV, Segmentation fault. destroySWFFill (fill=0x0) at fill.c:65 65 destroySWFPosition(fill->position); (gdb) (gdb) backtrace #0 destroySWFFill (fill=0x0) at fill.c:65 #1 0x080fff6b in bitmap2shape (data=dwarf2_read_address: Corrupted DWARF expression. ) at mapswf.c:519 #2 0x0810046f in gdImage2Shape (img=0x2954c000, image=0x295462c0)
#3 0x08105ab6 in msDrawLabelCacheSWF (image=0x295462c0, map=0x29536000)
#4 0x080b7c79 in msDrawLabelCache (image=0x295462c0, map=0x29536000)
#5 0x080ae242 in msDrawMap (map=0x29536000, querymap=0) at mapdraw.c:505 #6 0x08068bdf in msGenerateImages (mapserv=0x2952f1c0, bQueryMap=0,
#7 0x08056d3c in main (argc=3, argv=0xbfbfec44) at mapserv.c:1376 (gdb)