[CURRENT-20021016] innfeed dumps core
Bettina Fink
laura at hydrophil.de
Thu Oct 17 15:49:42 UTC 2002
Katsuhiro Kondou <Katsuhiro_Kondou at isc.org> wrote:
> } #0 0x2 in ?? ()
> } (gdb) bt
> } #0 0x2 in ?? ()
> } #1 0x805e44b in responseTimeoutCbk (id=164, data=0x809e9d0) at connection.c:2547
> } #2 0x80504d7 in doTimeout () at endpoint.c:1397
> } #3 0x804f9e2 in Run () at endpoint.c:838
> } #4 0x8057ef7 in main (argc=1, argv=0xbffffea4) at main.c:477
> } (gdb)
> }
> } System is CURRENT-20021016 on Linux 2.2.22.
> }
> } If you need additional information, just let me know.
>
> How about 'print peerName' at 'frame 1'?
(gdb) frame 1
#1 0x805e44b in responseTimeoutCbk (id=29, data=0x809e9d0) at connection.c:2547
2547 warn ("%s:%d cxnsleep non-responsive connection", peerName, cxn->ident) ;
(gdb) print peerName
$2 = 0x2 <Address 0x2 out of bounds>
And this is from the newest core (innfeed currently dumps core every
few minutes):
(gdb) bt
#0 0x2 in ?? ()
#1 0x805dcc3 in responseIsRead (e=0x80a43c8, i=IoDone, b=0x80ab720, d=0x809b8a8) at connection.c:2141
#2 0x804f784 in Run () at endpoint.c:758
#3 0x8057ef7 in main (argc=1, argv=0xbffffea4) at main.c:477
(gdb) frame 1
#1 0x805dcc3 in responseIsRead (e=0x80a43c8, i=IoDone, b=0x80ab720, d=0x809b8a8) at connection.c:2141
2141 warn ("%s:%d cxnsleep response unknown: %d %s", peerName,
(gdb) print peerName
$1 = 0x809b218 "fub"
(If I used gdb wrong, please just tell me, my experience with gdb
is limited.)
Bye,
Bettina
More information about the inn-workers
mailing list