[tpop3d-discuss]Crash in ioabs_tcp_post_select

Martin Blapp mb at imp.ch
Tue, 22 Feb 2005 00:36:18 +0100 (CET)


Hi Chris,

Do you have an idea what went wrong ?

#0  0x0805315b in ioabs_tcp_post_select (c=0x806c100, readfds=0xbfbfeb60, writefds=0xbfbfeae0, exceptfds=0x0)
    at ioabs_tcp.c:86
86          if (FD_ISSET(c->s, readfds)) {
(gdb) bt
#0  0x0805315b in ioabs_tcp_post_select (c=0x806c100, readfds=0xbfbfeb60,
writefds=0xbfbfeae0, exceptfds=0x0)
    at ioabs_tcp.c:86
#1  0x08059d2a in connections_post_select (readfds=0xbfbfeb60, writefds=0xbfbfeae0, exceptfds=0x0) at netloop.c:408
#2  0x0805a284 in net_loop () at netloop.c:578
#3  0x080582d9 in main (argc=1, argv=0xbfbfecb8, envp=0xbfbfecc0) at main.c:566
(gdb) p c->s
$1 = -1
(gdb) p readfds
$2 = (fd_set *) 0xbfbfeb60
(gdb) p *readfds
$3 = {__fds_bits = {0 <repeats 32 times>}}
(gdb) p *writefds
$4 = {__fds_bits = {0 <repeats 32 times>}}
(gdb)

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------