Hi, gtk-gnutella crashed here on exit. This happened twice and the uptime was only a few seconds or minutes. UDP was disabled.
(gdb) bt full
#0 0x00000000 in ?? ()
No symbol table info available.
#1 0x08067278 in bio_sendto (bio=0x8689000, to=0xbfbfddc8, data=0x85dc1d4,
len=23) at bsched.c:1344
available = 23
r = 140362196
__PRETTY_FUNCTION__ = "bio_sendto"
#2 0x080c8e15 in tx_dgram_sendto (tx=0x865f8e0, to=0xbfbfddc8,
data=0x85dc1d4, len=23) at tx_dgram.c:204
r = 140362196
#3 0x080c7a82 in tx_sendto (tx=0x82fd02c, to=0xbfbfddc8, data=0x85dc1d4,
len=23) at tx.c:126
No locals.
#4 0x080d5725 in mq_udp_putq (q=0x868c000, mb=0x82f80dc, to=0xbfbfddc8)
at mq_udp.c:305
written = 140362196
size = 23
mbs = (gchar *) 0x85dc1d4 "\237b��\206�)��Ww��c\232\003"
function = 0 '\0'
hops = 0 '\0'
mbe = (pmsg_t *) 0x82fd02c
__PRETTY_FUNCTION__ = "mq_udp_putq"
#5 0x080d5872 in mq_udp_node_putq (q=0x868c000, mb=0x82f80dc, n=0x85ce000)
at mq_udp.c:381
to = {ip = 3493541794, port = 4241}
__PRETTY_FUNCTION__ = "mq_udp_node_putq"
#6 0x080c9799 in udp_send_msg (n=0x85ce000, buf=0x81c4b80, len=23)
at udp.c:186
__PRETTY_FUNCTION__ = "udp_send_msg"
#7 0x080c986e in udp_send_ping (ip=3493541794, port=4241) at udp.c:226
m = (struct gnutella_msg_init *) 0x82fd02c
n = (struct gnutella_node *) 0x85ce000
size = 23
#8 0x0809a776 in node_is_now_connected (n=0x88a6634) at nodes.c:2895
s = (struct gnutella_socket *) 0x8f5a000
tx = (txdrv_t *) 0x87772c0
peermode_changed = 0
__PRETTY_FUNCTION__ = "node_is_now_connected"
#9 0x0809bcb5 in node_process_handshake_ack (n=0x88a6634, head=0x897e800)
at nodes.c:3777
s = (struct gnutella_socket *) 0x8f5a000
ack_ok = 1
field = (
const gchar *) 0x17 <Error reading address 0x17: Invalid argument>
qrp_final_set = 0
__PRETTY_FUNCTION__ = "node_process_handshake_ack"
#10 0x0809d89c in call_node_process_handshake_ack (obj=0x88a6634,
header=0x897e800) at nodes.c:4778
No locals.
#11 0x08093d0d in io_header_parse (ih=0x8689814) at ioheader.c:330
s = (struct gnutella_socket *) 0x8f5a000
getline = (getline_t *) 0x862eea0
header = (header_t *) 0x897e800
parsed = 2
error = 8
__PRETTY_FUNCTION__ = "io_header_parse"
#12 0x08093eb7 in io_read_data (data=0x8689814, unused_source=34,
cond=INPUT_EVENT_READ) at ioheader.c:409
ih = (struct io_header *) 0x8689814
s = (struct gnutella_socket *) 0x8f5a000
count = 137351212
r = 137351212
__PRETTY_FUNCTION__ = "io_read_data"
#13 0x0814e640 in inputevt_dispatch (source=0x87c6f20, condition=23,
data=0x874b264) at inputevt.c:92
cond = 137351212
relay = (inputevt_relay_t *) 0x874b264
(gdb) p *bio
$4 = {bs = 0x85c7780, wio = 0x82fd02c, io_tag = 0, io_flags = 0,
io_callback = 0, io_arg = 0x0, flags = 2, bw_actual = 0, bw_last_bps = 0,
bw_fast_ema = 0, bw_slow_ema = 0}
(gdb) p *to
$5 = {ip = 3493541794, port = 4241}
(gdb) p *bio->wio
$6 = {ctx = 0x0, write = 0, read = 0, writev = 0, readv = 0, sendto = 0,
fd = 0}
(gdb) p *bio->bs
$7 = {last_period = {tv_sec = 1100568632, tv_usec = 537669},
sources = 0x864acbc, stealers = 0x859b3f0, name = 0x855b3d0 "G UDP out",
count = 1, type = 1, flags = 4, period = 1000, min_period = 500,
max_period = 2000, period_ema = 1023, bw_per_second = 9728, bw_max = 9805,
bw_actual = 0, bw_last_period = 0, bw_last_capped = 0, bw_slot = 9805,
bw_ema = 3, bw_stolen = 0, bw_stolen_ema = 662, bw_delta = -844389,
bw_unwritten = 0, bw_capped = 0, last_used = 1, current_used = 0, looped = 0}
--
Christian
pgpHnD9eyng3p.pgp
Description: PGP signature
