[IRCServices Coding] services crashed

George Stamatiou master at xchat.gr
Wed Oct 23 14:00:48 PDT 2002


Services crashed and in gdb there the followings.

#0  0x280ee2dc in vfprintf () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280ee2dc in vfprintf () from /usr/lib/libc.so.4
#1  0x280b8dfc in vsnprintf () from /usr/lib/libc.so.4
#2  0x804e1f6 in my_vsnprintf (buf=0xbfbfe3bc "", len=4096, fmt=0x42
<Address 0x42 out of bounds>,
    args=0xbfbff3d0 "\200:!\b\001") at compat.c:51
#3  0x80559c8 in notice_lang (source=0x8213a80 "NickServ", dest=0x82a2100,
message=66) at send.c:211
#4  0x28163e96 in validate_user (u=0x82a2100) at util.c:383
#5  0x2815de01 in do_user_create (user=0x82a2100, ac=9, av=0x8290f80) at
main.c:223
#6  0x8054fb0 in call_callback_5 (module=0x0, id=8, arg1=0x82a2100,
arg2=0x9, arg3=0x8290f80, arg4=0x0,
    arg5=0x0) at modules.c:658
#7  0x8058e38 in do_nick (source=0xbfbffb7c "", ac=9, av=0x8290f80) at
users.c:258
#8  0x281192b0 in m_nick (source=0xbfbffb7c "", ac=10, av=0x8290f80) at
bahamut.c:166
#9  0x80555ca in process () at process.c:131
#10 0x80525bb in readline_callback (s=0x8289f80, param_unused=0x64) at
main.c:151
#11 0x8056e6d in check_sockets () at sockets.c:445
#12 0x8052860 in main (ac=1, av=0xbfbffda0, envp=0xbfbffda8) at main.c:248
#13 0x804c091 in _start ()

when i did first ./configure there was the following errors.

gcc  -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -g -c main.c -o
main.o
main.c: In function `disconnect_callback':
main.c:95: warning: passing arg 1 of `my_snprintf' discards qualifiers from
pointer target type

gcc  -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -g -c signals.c -o
signals.o
signals.c: In function `weirdsig_handler':
signals.c:117: warning: passing arg 1 of `my_snprintf' discards qualifiers
from pointer target type

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -g -I../.. -c
main.c -o main.o
main.c: In function `do_os_quit':
main.c:1212: warning: passing arg 1 of `sprintf' discards qualifiers from
pointer target type
main.c: In function `do_shutdown':
main.c:1224: warning: passing arg 1 of `sprintf' discards qualifiers from
pointer target type
main.c: In function `do_restart':
main.c:1237: warning: passing arg 1 of `sprintf' discards qualifiers from
pointer target type