Here is the stderr,
15:53:58 (MESSAGE): peer 24.15.98.10 sent 1 pong in Listen-Ip header
15:53:58 (WARNING): mq_udp_putq: queue 0x40bf6930 [UDP remote node
86.128.237.18:18067] (0 items, 0 bytes) recursion detected (32230 already
pending)
15:53:59 (WARNING): mq_udp_putq: queue 0x40bf6930 [UDP remote node
86.128.237.18:18067] (0 items, 0 bytes) recursion detected (32231 already
pending)
15:53:59 (WARNING): mq_udp_putq: queue 0x40bf6930 [UDP remote node
67.82.146.34:15831] (0 items, 0 bytes) recursion detected (32232 already
pending)
Assertion failure (oob.c:171) "!g_hash_table_lookup(results_by_muid, r->muid)"
gtk-gnutella seems to be returning an OOB result to a BearShare
client. I think that the mq_udp_putq is showing a recursion count?
Perhaps the stack is smashed? I have killed the task as my GTKG is
far behind SVN and I am rebuilding.
Anyways, here is my twiddling with gdb...
Current directory is /home/bpringle/gtk-gnutella/test.headless/
GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu".
Attaching to process xxxxx
Reading symbols from /home/bpringle/gtk-gnutella/test.headless/gtk-gnutella...
done.
[snip libraries, deemed useless]
0x4046a70d in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0 0x4046a70d in sigsuspend () from /lib/libc.so.6
#1 0x08121225 in crash_handler (signo=6) at crash.c:131
#2 0x4046a3a8 in killpg () from /lib/libc.so.6
#3 0x4046b80b in abort () from /lib/libc.so.6
#4 0x08121f70 in assertion_failure (data=Variable "data" is not available.
) at fast_assert.c:97
#5 0x080bfc99 in oob_got_results (n=0x41d7050c, files=0x8e29090, count=1,
secure=0) at oob.c:171
#6 0x080ee8ae in search_request (n=0x41d7050c, qhv=0x405fb450) at share.c:2520
#7 0x080b73f0 in node_parse (node=Variable "node" is not available.
) at nodes.c:6615
#8 0x080b87b7 in node_data_ind (rx=0x45415090, mb=0x41f19e40) at nodes.c:7379
#9 0x080de7f1 in rx_inflate_recv (rx=0x45415090, mb=0x421c9f98)
at rx_inflate.c:217
#10 0x080debd1 in is_readable (data=0x420a4ed0, unused_source=26, cond=Variable
"cond" is not available.
)
at rx_link.c:142
#11 0x0812b44d in dispatch_poll (unused_source=0x4001c000,
unused_cond=G_IO_IN, udata=0x8238920) at inputevt.c:722
#12 0x400b89be in g_io_unix_dispatch (source=Variable "source" is not available.
) at giounix.c:162
#13 0x4008fb61 in IA__g_main_context_dispatch (context=Variable "context" is
not available.
) at gmain.c:2043
#14 0x40092c86 in g_main_context_iterate (context=Variable "context" is not
available.
) at gmain.c:2675
#15 0x40092ff7 in IA__g_main_loop_run (loop=Variable "loop" is not available.
) at gmain.c:2879
#16 0x0804de89 in main (argc=Cannot access memory at address 0x8
) at gui.h:63
(gdb) up 5
#5 0x080bfc99 in oob_got_results (n=0x41d7050c, files=0x8e29090, count=1,
secure=0) at oob.c:171
(gdb) p *muid
No symbol "muid" in current context.
(gdb) p files
$1 = (GSList *) 0x8e29090
(gdb) p count
$2 = 1
(gdb) p to
$3 = {data = {port = "\030Ì", ha = {net = 4 '\004',
addr = "[EMAIL PROTECTED]"}}}
(gdb) p *r
Variable "r" is not available.
(gdb) p results_by_muid
$7 = (GHashTable *) 0x8251960
(gdb) p *results_by_muid
$8 = {size = 17, nnodes = 147211600, nodes = 0x82a1e48, hash_func = 0x50,
key_equal_func = 0xff1, ref_count = 147241552, key_destroy_func = 0x8c676f0,
value_destroy_func = 0x82d38e8}
(gdb) up
#6 0x080ee8ae in search_request (n=0x41d7050c, qhv=0x405fb450) at share.c:2520
(gdb) p n
$9 = (struct gnutella_node *) 0x41d7050c
(gdb) p *n
$10 = {magic = NODE_MAGIC, node_handle = 2573578636, peermode = NODE_P_ULTRA,
start_peermode = NODE_P_ULTRA, error_str = '\0' <repeats 255 times>,
socket = 0x8e7d778, proto_major = 0 '\0', proto_minor = 6 '\006',
qrp_major = 0 '\0', qrp_minor = 1 '\001', uqrp_major = 0 '\0',
uqrp_minor = 1 '\001', vendor = 0x421c7b3c "BearShare 5.0.2.3",
country = 442, vcode = {be32 = 1380009282}, io_opaque = 0x0,
header = "Eæ \\\005øÊK¯L3ç\bÌ\030w\200\000\0048\000\000", extvec = {{
ext_name = 0x8168129 "VC", ext_token = EXT_T_GGEP_VC,
ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x8168126 "UP",
ext_token = EXT_T_GGEP_UP, ext_type = EXT_GGEP, opaque = 0x0}, {
ext_name = 0x0, ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP,
opaque = 0x0}, {ext_name = 0x81680d7 "DU", ext_token = EXT_T_GGEP_DU,
ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x816ed3d "IP",
ext_token = EXT_T_GGEP_IP, ext_type = EXT_GGEP, opaque = 0x0}, {
ext_name = 0x0, ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP,
opaque = 0x0}, {ext_name = 0x0, ext_token = EXT_T_UNKNOWN_GGEP,
ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x0,
ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP, opaque = 0x0}, {
ext_name = 0x0, ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP,
opaque = 0x0}, {ext_name = 0x0, ext_token = EXT_T_UNKNOWN_GGEP,
ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x0,
ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP, opaque = 0x0}, {
ext_name = 0x0, ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP,
opaque = 0x0}, {ext_name = 0x0, ext_token = EXT_T_UNKNOWN,
ext_type = EXT_UNKNOWN, opaque = 0x0} <repeats 20 times>}, extcount = 0,
size = 56, header_flags = 0, data = 0x45b3b000 "\204", pos = 56,
status = GTA_NODE_CONNECTED, flags = 524508, attrs = 1839986,
hops_flow = 255 'ÿ', max_ttl = 4 '\004', degree = 26, qseen = 0x0,
qrelayed = 0x8b69a60, qrelayed_old = 0x915df80,
qrelayed_created = 1173905636, sent = 354159, received = 641194,
tx_dropped = 29, rx_dropped = 88741, n_bad = 0, n_dups = 2147,
n_hard_ttl = 0, n_weird = 0, n_hostile = 8039, n_spam = 3961, n_evil = 3,
allocated = 65536, have_header = 1, last_update = 1173905639,
last_tx = 1173905634, last_rx = 1173905639, connect_date = 1173665544,
tx_flowc_date = 0, rxfc = 0x0, shutdown_date = 0, up_date = 0,
leaf_flowc_start = 0, shutdown_delay = 0, remove_msg = 0x0, addr = {net = 4,
addr = {ipv6 = "\236\203PFÈ\214\216A\004á\eB(z¨C", ipv4 = 1179681694,
u8 = "\236\203PFÈ\214\216A\004á\eB(z¨C", u16 = {33694, 18000, 36040,
16782, 57604, 16923, 31272, 17320}, u32 = {1179681694, 1099861192,
1109123332, 1135114792}}}, port = 3607, proxy_addr = {net = 0, addr = {
ipv6 = '\0' <repeats 15 times>, ipv4 = 0, u8 = '\0' <repeats 15 times>,
u16 = {0, 0, 0, 0, 0, 0, 0, 0}, u32 = {0, 0, 0, 0}}}, proxy_port = 0,
outq = 0x413fe070, searchq = 0x0, rx = 0x45415090,
routing_data = 0x41079220, sent_query_table = 0x412f8ec4,
recv_query_table = 0x440a3a8c, qrt_update = 0x0, qrt_receive = 0x0,
qrt_info = 0x405fd430, alive_pings = 0x442aa440,
last_alive_ping = 1173665544, alive_period = 20, hello = {pos = 0, len = 0,
size = 0, ptr = 0x0}, tcp_rtt = 0, udp_rtt = 0, tsync_ev = 0x0,
id = 0x40d20b64, ping_throttle = 3, ping_accept = 1173905637, next_ping = 0,
ping_guid = '\0' <repeats 15 times>,
pong_needed = "\000\000\000\000\000\000", pong_missing = 0 '\0',
gnet_addr = {net = 4, addr = {ipv6 = "\236\203PFã¤aC<[EMAIL PROTECTED]",
ipv4 = 1179681694, u8 = "\236\203PFã¤aC<[EMAIL PROTECTED]", u16 = {33694,
18000, 42211, 17249, 1340, 16597, 51256, 49124}, u32 = {1179681694,
1130472675, 1087702332, 3219441720}}}, gnet_port = 6346,
gnet_files_count = 787, gnet_kbytes_count = 1964995, gnet_pong_addr = {
net = 4, addr = {ipv6 = "[EMAIL PROTECTED]",
ipv4 = 1179681694, u8 = "[EMAIL PROTECTED]", u16 = {
33694, 18000, 30642, 16394, 32864, 156, 32864, 156}, u32 = {
1179681694, 1074427826, 10256480, 10256480}}}, gnet_qhit_addr = {
net = 0, addr = {ipv6 = '\0' <repeats 15 times>, ipv4 = 0,
u8 = '\0' <repeats 15 times>, u16 = {0, 0, 0, 0, 0, 0, 0, 0}, u32 = {0,
0, 0, 0}}}, guid = 0x4408d5fc "Å¿éWÕ$S¢ë\032\034qBÚÂI",
n_ping_throttle = 283, n_ping_accepted = 24632, n_ping_special = 1,
n_ping_sent = 2420, n_pong_received = 101011, n_pong_sent = 270711,
tx_given = 33274933, tx_deflated = 15319225, tx_written = 15319225,
rx_given = 35594330, rx_inflated = 66381694, rx_read = 66381694,
qrp_queries = 74424, qrp_matches = 19853, rx_queries = 472991,
tx_queries = 29336, rx_qhits = 17928, tx_qhits = 20055, hsep = 0x0}
(gdb) p qhv
$11 = (query_hashvec_t *) 0x405fb450
(gdb) p *qhv
$12 = {count = 3, size = 128, has_urn = 1, vec = 0x40b46000}
(gdb) p qhv->vec
$13 = (struct query_hash *) 0x40b46000
(gdb) p *qhv->vec
$14 = {hashcode = 2485652620, source = QUERY_H_URN}
(gdb) up
#6 0x080ee8ae in search_request (n=0x41d7050c, qhv=0x405fb450) at share.c:2520
(gdb) p n
$15 = (struct gnutella_node *) 0x41d7050c
(gdb) p qctx->files
No symbol "qctx" in current context.
(gdb) down
#5 0x080bfc99 in oob_got_results (n=0x41d7050c, files=0x8e29090, count=1,
secure=0) at oob.c:171
(gdb) p secure
$17 = 0
(gdb) p count
$18 = 1
(gdb) p to
$19 = {data = {port = "\030Ì", ha = {net = 4 '\004',
addr = "[EMAIL PROTECTED]"}}}
(gdb) p muid
No symbol "muid" in current context.
(gdb) p r
Variable "r" is not available.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel