[IRCServices Coding] Services 5.0a22 Segfault on unlink
Russell Garrett
rg at tcslon.com
Sat Feb 23 09:09:30 PST 2002
OK, I've just compiled gdb 5.1 on the server and the backtrace it
produces is somewhat different, so here it is (running off the actual
binaries this time) - it seems to make a bit more sense:
(gdb) bt
#0 0x40063431 in _IO_vfprintf (s=0xbfffce58, format=0x4015d900
"%s!%s@%s unlinked nick %s from %s", ap=0xbffff60c) at
vfprintf.c:1259
#1 0x40066724 in buffered_vfprintf (s=0x8079790, format=0x4015d900
"%s!%s@%s unlinked nick %s from %s", args=0xbffff5f8) at
vfprintf.c:1758
#2 0x40061966 in _IO_vfprintf (s=0x8079790, format=0x4015d900
"%s!%s@%s unlinked nick %s from %s", ap=0xbffff5f8) at
vfprintf.c:1029
#3 0x08051430 in vlogprintf (fmt=0x4015d900 "%s!%s@%s unlinked nick
%s from %s", args=0xbffff5f8) at log.c:34
#4 0x08051727 in _module_log (modname=0x81220c0 "nickserv/link",
fmt=0x4015d900 "%s!%s@%s unlinked nick %s from %s") at log.c:189
#5 0x4015d3dd in do_unlink (u=0x812ece0) at link.c:152
#6 0x0804df7a in run_cmd (service=0x8120df0 "NickServ", u=0x812ece0,
id=0x811d1c8, cmd=0xbffff72e "unlink") at commands.c:175
#7 0x4014f377 in nickserv (source=0xbffff95c "Russ",
target=0xbffff724 "nickserv", buf=0xbffff72e "unlink") at main.c:177
#8 0x08053f1d in call_callback_5 (module=0x0, id=26,
arg1=0xbffff95c, arg2=0xbffff724, arg3=0xbffff72e, arg4=0x0,
arg5=0x0)
at modules.c:623
#9 0x080521c5 in m_privmsg (source=0xbffff95c "Russ", ac=2,
av=0x812e838) at messages.c:170
#10 0x0805447c in process () at process.c:131
#11 0x08051a31 in readline_callback (s=0x812bb70, param_unused=0x24)
at main.c:158
#12 0x080557bf in check_sockets () at sockets.c:375
#13 0x08051c8d in main (ac=1, av=0xbffffb54, envp=0xbffffb5c) at
main.c:255
#14 0x400349cb in __libc_start_main (main=0x8051a34 <main>, argc=1,
argv=0xbffffb54, init=0x804bc88 <_init>, fini=0x805821c <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb4c) at
../sysdeps/generic/libc-start.c:92
Russ Garrett (russ at garrett.co.uk)