[IRCServices Coding] fill_read_buffer() problems with 5.0.40
Ballsy
ballsy at mystical.net
Thu Sep 30 15:56:56 PDT 2004
bahamut-1.8(02)
ircservices5.0.40
Fedora Core 1 (2.4.22-1.2199.nptl)
Moved our Services to another machine today, and also upgraded to 5.0.40
(from 5.0.28), and they seemed to run fine for a while. They then
disappeared. When I logged back into the shell from which they were
running, I noticed the ircservices.log file had filled my account (it has a
hard quota). When I restart them now, they only get so far (in -nofork
-debug mode) before a flood of fill_read_buffer() errors begins, and
proceeds to fill my log file. Since other applications run under my
account, I'm having difficulty getting proper backtraces/cores without
filling my quota, so I'll start with this. If more is needed, so be
it.....any help would be appreciated....I'll keep testing...
When starting with ./ircservices -nofork -debug ......
<snip tons of normal user/channel introduction, mode setting, etc>
[Sep 30 18:48:59.740485 2004] debug: Received: :someserver.mynetwork.net
TOPIC #OF Tanis 1095598852 :OF Staff Office: Everything is good for you,
even if it doesn't kill you -- (Tanis wonders) Including the Server??
[Sep 30 18:48:59.740623 2004] debug: Received: :someserver.mynetwork.net
TOPIC #winbolo Sticks 1095228982 :|| ftp://sticks.cyproject.net ||
http://www-personal.umd.umich.edu/~clesnies/kittens_3wks/ ||
[Sep 30 18:48:59.740683 2004] sockets: BUG: fill_read_buffer() returned 0!:
Success
[Sep 30 18:48:59.740754 2004] sockets: BUG: fill_read_buffer() returned 0!:
Success
(this repeats until disk quota is exceeded)
After loaded it in GDB
<snip>
[Sep 30 18:41:05.418523 2004] sockets: BUG: fill_read_buffer() returned 0!:
Success
[Sep 30 18:41:05.418566 2004] sockets: BUG: fill_read_buffer() returned 0!:
Success
[Sep 30 18:41:05.418609 2004] sockets: BUG: fill_read_buffer() returned 0!:
Success
[Sep 30 18:41:05.418651
(I had to issue a Ctrl-C to stop it)
Program received signal SIGINT, Interrupt.
0x0080bc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0 0x0080bc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x008f0fa3 in __write_nocancel () from /lib/tls/libc.so.6
#2 0x0088da8f in _IO_new_file_write () from /lib/tls/libc.so.6
#3 0x0088ca1e in new_do_write () from /lib/tls/libc.so.6
#4 0x0088dc20 in _IO_new_file_xsputn () from /lib/tls/libc.so.6
#5 0x0086a6fe in buffered_vfprintf () from /lib/tls/libc.so.6
#6 0x00866683 in vfprintf () from /lib/tls/libc.so.6
#7 0x0805df08 in hashlookup ()
(gdb) quit