mapserver segfaults on x68_64 intel xeon
Alessandro Pasotti
ale.pas at TISCALI.IT
Fri Mar 2 08:03:28 PST 2007
Il 15:58, venerdì 2 marzo 2007, Umberto Nicoletti ha scritto:
> Recompile mapserver with --enable-debug and then use gdb to discover
> which string is causing the crash when passed to
> OGRStyleTool::GetRGBFromString.
Thanks for the hint, I'm trying right now (and took a look at the gdb manual),
but I'm not so skilled with gdb, the output makes no sense to me...
(gdb) bt
#0 0x00002aaaac693e40 in rawmemchr () from /lib64/tls/libc.so.6
#1 0x00002aaaac6882ba in _IO_str_init_static_internal ()
from /lib64/tls/libc.so.6
#2 0x00002aaaac67dd95 in vsscanf () from /lib64/tls/libc.so.6
#3 0x00002aaaac679488 in sscanf () from /lib64/tls/libc.so.6
#4 0x00002aaaab4fd7fc in OGRStyleTool::GetRGBFromString ()
from /usr/local/lib/libgdal.so.1
(gdb) info f 4
Stack frame at 0x7fffff96f890:
rip = 0x2aaaab4fd7fc in OGRStyleTool::GetRGBFromString(char const*, int&,
int&, int&, int&); saved rip 0x424013
called by frame at 0x7fffff96f960, caller of frame at 0x7fffff96f880
Arglist at 0x7fffff96f878, args:
Locals at 0x7fffff96f878, Previous frame's sp is 0x7fffff96f890
Saved registers:
rbx at 0x7fffff96f778, rbp at 0x7fffff96f660, r12 at 0x7fffff96f780, r13 at
0x7fffff96f788, r14 at 0x7fffff96f790,
rip at 0x7fffff96f888
0x7fffff96f878: "�*"
(gdb) x/8b 0x7fffff96f878
0x7fffff96f878: "�*"
0x7fffff96f87f: ""
0x7fffff96f880: "\220c"
0x7fffff96f884: ""
0x7fffff96f885: ""
0x7fffff96f886: ""
0x7fffff96f887: ""
0x7fffff96f888: "\023 at B"
Thanks
PS: I can give you a shell access to the server if you wish
--
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3: www.itopen.it
Linux User# 167502
More information about the MapServer-users
mailing list