Re: [Lurker-users] SIGSEGV in service.c (CVS 20030409)
Brought to you by:
terpstra
|
From: Wesley W. T. <we...@te...> - 2003-04-12 14:36:50
|
On Sat, Apr 12, 2003 at 06:46:07PM +0800, Federico Sevilla III wrote: > I don't know if this will still be useful considering Wesley's plan to > redo the codebase Since that will take significant time, I will continue to maintain 0.1* for a while yet. :-) > but here goes anyway: > > (gdb) run -n > Starting program: /usr/sbin/lurkerd -n > lurkerd[21243]: Unknown coding: X-UNKNOWN > lurkerd[21243]: Unknown coding: x-user-defined > > Program received signal SIGSEGV, Segmentation fault. > 0x08056ba3 in my_service_traverse (h=0x91fb19c0, in=0x91fb18f0, body=0x80b9670, count=3, draw=1) at service.c:832 > 832 service.c: Permission denied. > in service.c > (gdb) bt > #0 0x08056ba3 in my_service_traverse (h=0x91fb19c0, in=0x91fb18f0, body=0x80b9670, count=3, draw=1) at service.c:832 > #1 0x08056b78 in my_service_traverse (h=0x91fb19c0, in=0x91fb18f0, body=0x80b8398, count=2, draw=1) at service.c:821 > #2 0x08059319 in my_service_message (h=0x91fb19c0, request=0x91fb1a08 "199...@zo...", > ext=0x91fb1a2e "html") at service.c:1848 > #3 0x0805b15f in lu_service_connection (fd=0x80b9b90) at service.c:2665 > #4 0x0805caa2 in my_main_handle_client (arg=0x80b9b90) at main.c:137 > #5 0x40019b02 in st_thread_create () from /usr/lib/libst.so.1 > #6 0x000f4240 in ?? () > (gdb) continue > Continuing. > lurkerd[21243]: Program Fault (signal 11) - attempting to salvage db > lurkerd[21243]: syncing databases to disk ... Fixed in CVS. :-) This is that message with the corrupt body again. First time the crash was from import, this was from someone viewing it. I hope to keep as much of the current code as possible during transition, so it is important to keep nailing down corner-cases like this. -- Wesley W. Terpstra <we...@te...> |