so, after some party ;-) here's the backtrace:
0xb7d0e4c0 in strcasecmp () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7d0e4c0 in strcasecmp () from /lib/tls/libc.so.6
#1 0x0806d698 in print_value_of (keyname=0xb71944c8 "ROOMPIC") at subst.c:169
#2 0x0806d97c in do_template (templatename=0x80a446c) at subst.c:236
#3 0x080579e5
in embed_room_banner (got=0xb7196104 "200 Lobby|0|0|0|2|0|0|0|0|0|0|0|0|", navbar_style=1) at roomops.c:368
#4 0x0804e8bc in output_headers (do_httpheaders=1, do_htmlhead=1, do_room_banner=1,
unset_cookies=0, suppress_check=0, cache=0)
at webcit.c:416
#5 0x08053e1f in display_main_menu () at mainmenu.c:15
#6 0x0805245d in session_loop (req=0x81717f0)
at webcit.c:1493
#7 0x0804cbf9 in context_loop (sock=9) at context_loop.c:409
#8 0x0804bf87 in worker_entry () at webserver.c:561
#9 0xb7ddccfd in start_thread () from
/lib/tls/libpthread.so.0
#10 0xb7d70f1e in clone () from /lib/tls/libc.so.6
this looks a bit strange to me:
(gdb) frame 1
#1 0x0806d698 in print_value_of
(keyname=0xb71944c8 "ROOMPIC") at subst.c:169
169 if (!strcasecmp(ptr->wcs_key,
keyname)) {
(gdb) print ptr
$1 = (struct wcsubst *) 0x110
(gdb)
(gdb) print ptr->wcs_key
Cannot access memory at address 0x118
indeed.
i'll let the debugger in that state, if there are further questions.
Willi
