[mapserver-users] Segmentation Fault on Solaris parsing Template

Oliver Wesp oliver.wesp at gmail.com
Thu Apr 24 05:44:48 EDT 2008


Dear List,

I had a running installation of mapserver 4.8.1 on a solaris box which
suddenly stopped working. I'm using mapserver as cgi and everything
was fine until suddenly mapserver crashes with a segmentation fault. I
made a few tests and what it comes down to is that mapserver crashes
parsing the template in mode=browse. If I make a request with mode=map
everything is fine. With mode=browse mapserver generate the images,
returns the template just before the line where the first variable
substitution appears and crashes. Here is some more information from
the core dump:

gdb mapserv_481 core

#0  0xfe633218 in strlen () from /usr/lib/libc.so.1
#1  0xfe686530 in _doprnt () from /usr/lib/libc.so.1
#2  0xfe6882d8 in snprintf () from /usr/lib/libc.so.1
#3  0x00029cbc in processLine (msObj=0xecb48, instr=0xffbe9a30
"/tmp/map_sb120895549616000.png", mode=0) at maptemplate.c:2384
#4  0x0002c26c in msReturnURL (msObj=0xecb48, url=0x1023a0
"..//html/error.html", mode=0) at maptemplate.c:2918
#5  0x0001f244 in writeError () at mapserv.c:200
#6  0x00023bf8 in main (argc=2, argv=0xffbeb5a4) at mapserv.c:1276

I don't have direct access to the machine but there have been some
software installation and I don't now if some libs have changed. Maybe
someone can give me some hints...

best regards,
Oliver


More information about the mapserver-users mailing list