Hi, here's some debug output: ** ERROR **: file /home/clients/cvs/gtk-gnutella-current/src/qrp.c: line 2483 (qrt_handle_patch): assertion failed: (qrcv->current_index == rt->slots) aborting...
Program received signal SIGTRAP, Trace/breakpoint trap.
0x48577890 in g_logv () from /usr/pkg/lib/libglib-2.0.so.200
(gdb) bt
#0 0x48577890 in g_logv () from /usr/pkg/lib/libglib-2.0.so.200
#1 0x48577931 in g_log () from /usr/pkg/lib/libglib-2.0.so.200
#2 0x08108c76 in qrt_handle_patch (n=0x8f636a8, qrcv=0x8c28c08,
patch=0xbfbfb610, done=0xbfbfb670)
at /home/clients/cvs/gtk-gnutella-current/src/qrp.c:2483
#3 0x08108edf in qrt_receive_next (handle=0x8c28c08, done=0xbfbfb670)
at /home/clients/cvs/gtk-gnutella-current/src/qrp.c:2564
#4 0x080cf668 in node_parse (node=0x8f636a8)
at /home/clients/cvs/gtk-gnutella-current/src/nodes.c:3506
#5 0x080d0349 in node_read (n=0x8f636a8, mb=0x9631d80)
at /home/clients/cvs/gtk-gnutella-current/src/nodes.c:3934
#6 0x080d040b in node_data_ind (rx=0x8ac6480, mb=0x9631d80)
at /home/clients/cvs/gtk-gnutella-current/src/nodes.c:3963
#7 0x08100150 in is_readable (data=0x8ac6480, source=69,
cond=INPUT_EVENT_READ)
at /home/clients/cvs/gtk-gnutella-current/src/rx_link.c:105
#8 0x0811b851 in inputevt_dispatch (source=0x95d6c40,
#condition=G_IO_IN,
data=0x966b160) at
/home/clients/cvs/gtk-gnutella-current/src/inputevt.c:88
#9 0x4858d03c in g_io_unix_dispatch () from
#/usr/pkg/lib/libglib-2.0.so.200 10 0x4857088b in g_main_dispatch ()
#from /usr/pkg/lib/libglib-2.0.so.200 11 0x48571627 in
#g_main_context_dispatch ()
from /usr/pkg/lib/libglib-2.0.so.200
#12 0x485719fa in g_main_context_iterate ()
#13 0x485720c7 in g_main_loop_run () from
#/usr/pkg/lib/libglib-2.0.so.200 14 0x4825131d in gtk_main () from
#/usr/pkg/lib/libgtk-x11-2.0.so.200 15 0x080b5dc6 in main_gui_run ()
at /home/clients/cvs/gtk-gnutella-current/src/main_gui.c:472
#16 0x080f405c in main (argc=1, argv=0xbfbfb994)
at /home/clients/cvs/gtk-gnutella-current/src/main.c:378
#17 0x08051da0 in ___start ()
(gdb) p *qrcv
$1 = {magic = 368032516, node = 0x8f636a8, table = 0x8c28a48,
shrink_factor = 1, seqsize = 1, seqno = 2, entry_bits = 8, inz =
0x9521188, data = 0x9650000 "", len = 4096, current_slot = 32768,
current_index = 32768, expansion = 0x9342970 "", deflated = 1}
(gdb) p *rt
$2 = {magic = 805378737, refcnt = 1, generation = 0, arena = 0x9675000
"", slots = 65536, infinity = 2, client_slots = 65536, bits = 16,
set_count = 15, fill_ratio = 4096, pass_throw = 65536, digest = 0x0,
compacted = 1}
(gdb) p *n
$3 = {node_handle = 68, peermode = NODE_P_LEAF,
error_str = '\0' <repeats 255 times>, socket = 0x9636000,
proto_major = 0 '\0', proto_minor = 6 '\006', qrp_major = 0 '\0',
qrp_minor = 1 '\001', vendor = 0x9262b54 "Ares 1.7.1", vcode =
"\0\0\0", io_opaque = 0x0, header = {muid =
"�%\020_�e^\f�^B\216�\027�", function = 48 '0', ttl = 1 '\001', hops
= 0 '\0', size = "�\0\0"}, size = 168,
data = 0xa038000 "\001\001\001\001\bx\234���\025\200
\b\005P�_�6�#A\022�\235�:�C\034\203\025O�\003$��^", pos = 168, status =
4 '\004', hops_flow = 255 '�', flags = 16596, attrs = 1610612736, sent
= 2, received = 3, tx_dropped = 0, rx_dropped = 0, n_bad = 0, n_dups =
0, n_hard_ttl = 0, n_weird = 0, allocated = 65536, have_header = 1,
last_update = 1044209676, connect_date = 1044209676, tx_flowc_date =
0, rxfc = 0x0, shutdown_date = 0, up_date = 1044200849, shutdown_delay
= 0, remove_msg = 0x0, ip = 3578477337, port = 3922, outq = 0x95b4240,
searchq = 0x899eb58, rx = 0x8ac6480, routing_data = 0x0, query_table =
0x0, qrt_update = 0x0, qrt_receive = 0x8c28c08, alive_pings =
0x92affa0, last_alive_ping = 1044209676, alive_period = 60, id = 5740,
ping_accept = 0, next_ping = 0, ping_guid = '\0' <repeats 15 times>,
pong_needed = "\0\0\0\0\0\0\0\0\0", pong_missing = 0 '\0', gnet_ip =
0, gnet_port = 0, gnet_files_count = 0, gnet_kbytes_count = 0,
gnet_pong_ip = 0, gnet_qhit_ip = 0, gnet_guid = 0x0, n_ping_throttle =
0, n_ping_accepted = 0, n_ping_special = 1, n_ping_sent = 1,
n_pong_received = 0, n_pong_sent = 1, tx_given = 60, tx_deflated = 0,
tx_written = 60, rx_given = 320, rx_inflated = 0, rx_read = 243}
(gdb) p *patch
$4 = {seq_no = 1 '\001', seq_size = 1 '\001', compressor = 1 '\001',
entry_bits = 8 '\b',
data = 0xa038005 "x\234���\025\200
\b\005P�_�6�#A\022�\235�:�C\034\203\025O�\003$��^", len = 163}
(gdb) p *done
$5 = 1
$ ident gtk-gnutella|grep qrp
$Id: qrp.c,v 1.36 2003/01/30 22:32:54 rmanfredi Exp $
Christian
msg00042/pgp00000.pgp
Description: PGP signature
