On 14 Aug 2008, [EMAIL PROTECTED] wrote:

> I found a missing refcount thanks to additional assertions.  That could
> explain your symptoms. Please update and let me know how it goes.

That certainly did seem to fix the problem.  Previously runs were only
averaging 1/2 hour or less until an assertion.  With revision 15637, I
was running for over 10 hours before an assertion [the trace is
completely different].  I am not even sure it is DHT related; maybe it
is a side effect?

fwiw,
Bill Pringlemeir.

08-08-16 09:54:33 (MESSAGE): DHT traffic from new firewalled node 
cad39d14f7b216bb28851c70e80314117211e630 at 98.213.136.92:0 (LIME v0.0)
08-08-16 09:54:33 (MESSAGE): DHT STORE valid security token from 
98.213.136.92:0 (LIME v0.0) [cad39d14f7b216bb28851c70e80314117211e630] 
"unknown", ref=1
08-08-16 09:54:33 (MESSAGE): DHT STORE a2ef95b4f7246f335f43838ecc29500ea432b713 
as ALOC v0.1 (66 bytes) created by 98.213.136.92:0 (LIME v0.0) 
[cad39d14f7b216bb28851c70e80314117211e630] "unknown", ref=1 (original)
08-08-16 09:54:33 (MESSAGE): DHT STORE status for 
a2ef95b4f7246f335f43838ecc29500ea432b713 is 8 (Creator is not acceptable)
08-08-16 09:54:34 (MESSAGE): DHT traffic from new firewalled node 
a2e92ea485ff09f668c0fbbe83aa04f63a66c557 at 12.205.249.123:0 (LIME v0.0)
08-08-16 09:54:34 (MESSAGE): DHT traffic from new firewalled node 
70352a09dd779a287339da1d58b6ad8cde722294 at 127.0.0.1:0 (LIME v0.0)
08-08-16 09:54:34 (MESSAGE): DHT STORE valid security token from 127.0.0.1:0 
(LIME v0.0) [70352a09dd779a287339da1d58b6ad8cde722294] "unknown", ref=1
08-08-16 09:54:34 (MESSAGE): DHT STORE a2efd568ac71fc342be8bbcf543eaefc372e9663 
as ALOC v0.1 (65 bytes) created by 127.0.0.1:0 (LIME v0.0) 
[70352a09dd779a287339da1d58b6ad8cde722294] "unknown", ref=1 (original)
08-08-16 09:54:34 (MESSAGE): DHT STORE status for 
a2efd568ac71fc342be8bbcf543eaefc372e9663 is 8 (Creator is not acceptable)
08-08-16 09:54:34 (MESSAGE): DHT starting alive check on k-bucket 
a2a0000000000000000000000000000000000000 (depth 11) (good: 16, stale: 12, 
pending: 0)
08-08-16 09:54:34 (MESSAGE): DHT traffic from known good node 
57c8d5e37a67c42b64a7501f9b1ffe753efa5709 at 61.203.68.233:50165 (LIME v0.0)
08-08-16 09:54:34 (MESSAGE): DHT traffic from known good node 
a2e8af1fe8412556ea23d6f7ec23d9ecc2a57347 at 24.17.236.147:9455 (LIME v0.0)
08-08-16 09:54:34 (MESSAGE): DHT STORE valid security token from 
24.17.236.147:9455 (LIME v0.0) [a2e8af1fe8412556ea23d6f7ec23d9ecc2a57347] 
"good", ref=2
08-08-16 09:54:34 (MESSAGE): DHT STORE a2e8adb2d63bafb9d6aa6c6e36f2cc86085ea629 
as PROX v0.0 (97 bytes) created by 82.36.60.119:3312 (LIME v0.0) 
[5abc39e898573ddff379fc0f26a8c8555d1f72d5] "unknown", ref=1 (copy)
08-08-16 09:54:34 (MESSAGE): DHT STORE status for 
a2e8adb2d63bafb9d6aa6c6e36f2cc86085ea629 is 12 (Replicated data is different)
FATAL: Assertion failure in gnet_stats.c:373: "i != 0"
CRASH (pid=14304) by SIGABRT


(gdb) where
#0  0x4034e967 in sigsuspend () from /lib/libc.so.6
#1  0x08153240 in crash_handler (signo=6) at crash.c:173
#2  <signal handler called>
#3  0x4034e566 in raise () from /lib/libc.so.6
#4  0x4034fd88 in abort () from /lib/libc.so.6
#5  0x08156193 in assertion_failure (data=<value optimized out>)
    at fast_assert.c:96
#6  0x080aac3c in gnet_stats_count_flowc (head=0x4233173c) at gnet_stats.c:373
#7  0x080bb4d7 in make_room_header (q=0x4156ca10, 
    header=0x42870564 "\004TC~©\212oã#a\026s\005SÜ", prio=0, needed=124, 
    offset=0xbf864e98) at mq.c:1164
#8  0x080bb838 in make_room (q=0x4156ca10, mb=0x41abeb40, needed=252, 
    offset=0xbf864e98) at mq.c:1025
#9  0x080bbe61 in mq_puthere (q=0x4156ca10, mb=0x41abeb40, msize=252)
    at mq.c:1233
#10 0x08137179 in mq_udp_putq (q=0x4156ca10, mb=0x41e44990, to=0xbf864f5d)
    at mq_udp.c:410
#11 0x0813752c in mq_udp_node_putq (q=0x4156ca10, mb=0x41e44990, n=0x407af000)
    at mq_udp.c:469
#12 0x080e12c7 in send_pong (n=0x407af000, control=0, 
    flags=<value optimized out>, hops=0 '\0', ttl=1 '\001', 
    muid=0x407af124 "\004TC~©\212oã#a\026s\005SÜ", info=0xbf865398, 
    meta=0x8265740) at pcache.c:471
#13 0x080e1b24 in send_personal_info (n=0x407af000, control=0, 
    flags=<value optimized out>) at pcache.c:643
#14 0x080e250d in pcache_ping_received (n=0x407af000) at pcache.c:1868
#15 0x080c756e in node_parse (node=0x407af000) at nodes.c:6755
#16 0x080c8254 in node_udp_process (s=0x4073d240) at nodes.c:7120
#17 0x0811d3ce in udp_received (s=0x4073d240, truncated=0) at udp.c:266
#18 0x0810e3a1 in socket_udp_event (data=0x4073d240, unused_source=8, 
    cond=<value optimized out>) at sockets.c:2393
#19 0x0815f6ae in dispatch_poll (unused_source=0x82b0288, 
    unused_cond=G_IO_IN, udata=0x8294c00) at inputevt.c:714
#20 0x400d87cd in g_io_channel_unix_get_fd () from /usr/lib/libglib-2.0.so.0
#21 0x400a22f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x400a5983 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#23 0x400a5ea2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x08119dca in topless_main_run () at topless.c:49
#25 0x0804e3eb in main (argc=6, argv=0xbf8659f4) at main.c:1435
(gdb) frame 15
(gdb) p *node
$1 = {magic = NODE_MAGIC, peermode = NODE_P_UDP, 
  start_peermode = NODE_P_LEAF, error_str = '\0' <repeats 255 times>, 
  socket = 0x4073d240, country = 442, proto_major = 0 '\0', 
  proto_minor = 6 '\006', qrp_major = 0 '\0', qrp_minor = 0 '\0', 
  uqrp_major = 0 '\0', uqrp_minor = 0 '\0', 
  vendor = 0x4078f524 "Pseudo UDP node (IPv4)", vcode = {u32 = 0}, 
  io_opaque = 0x0, 
  header = "\004TC~©\212oã#a\026s\005SÜ\000\000\001\000\b\000\000", extvec = {
    {ext_name = 0x81a2768 "SCP", ext_token = EXT_T_GGEP_SCP, 
      ext_type = EXT_GGEP, opaque = 0x424e4268}, {ext_name = 0x0, 
      ext_token = EXT_T_UNKNOWN_GGEP, ext_type = EXT_GGEP, opaque = 0x0}, {
      ext_name = 0x81a274b "LOC", ext_token = EXT_T_GGEP_LOC, 
      ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x81a277b "UP", 
      ext_token = EXT_T_GGEP_UP, ext_type = EXT_GGEP, opaque = 0x0}, {
      ext_name = 0x81a277e "VC", ext_token = EXT_T_GGEP_VC, 
      ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x81a277b "UP", 
      ext_token = EXT_T_GGEP_UP, ext_type = EXT_GGEP, opaque = 0x0}, {
      ext_name = 0x81a277e "VC", ext_token = EXT_T_GGEP_VC, 
      ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x81a277b "UP", 
      ext_token = EXT_T_GGEP_UP, ext_type = EXT_GGEP, opaque = 0x0}, {
      ext_name = 0x81a277e "VC", ext_token = EXT_T_GGEP_VC, 
      ext_type = EXT_GGEP, opaque = 0x0}, {ext_name = 0x0, 
      ext_token = EXT_T_UNKNOWN, ext_type = EXT_UNKNOWN, 
      opaque = 0x0} <repeats 23 times>}, extcount = 1, size = 8, 
  header_flags = 0, data = 0x8355317 "Ã\203SCPA", pos = 0, 
  status = GTA_NODE_CONNECTED, flags = 216, attrs = 0, hops_flow = 255 'ÿ', 
  max_ttl = 0 '\0', degree = 0, qseen = 0x0, qrelayed = 0x0, 
  qrelayed_old = 0x0, qrelayed_created = 0, sent = 215417, received = 436019, 
  tx_dropped = 57, rx_dropped = 24912, n_bad = 0, n_dups = 0, n_hard_ttl = 0, 
  n_weird = 0, n_hostile = 16666, n_spam = 2331, n_evil = 0, allocated = 0, 
  have_header = 0, last_update = 1218898474, last_tx = 1218898474, 
  last_rx = 1218861290, connect_date = 1218858012, 
  tx_flowc_date = 1218898459, rxfc = 0x0, shutdown_date = 0, 
  up_date = 1218858012, leaf_flowc_start = 0, shutdown_delay = 0, 
  remove_msg = 0x0, addr = {net = 4, addr = {
      ipv6 = "¤Ü\204y\220IäA8ë*\b\000\000\000", ipv4 = 2038750372}}, 
  port = 4585, proxy_addr = {net = 0, addr = {ipv6 = '\0' <repeats 15 times>, 
      ipv4 = 0}}, proxy_port = 0, outq = 0x4156ca10, searchq = 0x0, rx = 0x0, 
  routing_data = 0x4163a800, sent_query_table = 0x0, recv_query_table = 0x0, 
  qrt_update = 0x0, qrt_receive = 0x0, qrt_info = 0x0, 
  alive_pings = 0x840a5d8, last_alive_ping = 0, alive_period = 0, hello = {
    pos = 0, len = 0, size = 0, ptr = 0x0}, tcp_rtt = 0, udp_rtt = 0, 
  tsync_ev = 0x0, id = 0x407f56e4, ping_throttle = 0, ping_accept = 0, 
  next_ping = 0, ping_guid = '\0' <repeats 15 times>, 
  pong_needed = "\000\000\000\000\000\000", pong_missing = 0 '\0', 
  gnet_addr = {net = 0, addr = {ipv6 = '\0' <repeats 15 times>, ipv4 = 0}}, 
  gnet_port = 0, gnet_files_count = 0, gnet_kbytes_count = 0, 
  gnet_pong_addr = {net = 0, addr = {ipv6 = '\0' <repeats 15 times>, 
      ipv4 = 0}}, gnet_qhit_addr = {net = 0, addr = {
      ipv6 = '\0' <repeats 15 times>, ipv4 = 0}}, guid = 0x0, 
  svn_release_revision = 0, n_ping_throttle = 0, n_ping_accepted = 0, 
  n_ping_special = 0, n_ping_sent = 0, n_pong_received = 744, 
  n_pong_sent = 6481, tx_given = 40094253, tx_deflated = 0, 
  tx_written = 40094253, rx_given = 64185665, rx_inflated = 0, rx_read = 0, 
  qrp_queries = 0, qrp_matches = 0, rx_queries = 0, tx_queries = 0, 
  rx_qhits = 100101, tx_qhits = 6758, hsep = 0x0}

(gdb) frame 10
#10 0x08137179 in mq_udp_putq (q=0x4156ca10, mb=0x41e44990, to=0xbf864f5d)
    at mq_udp.c:410
(gdb) p *to
$8 = {data = {port = "\021é", ha = {net = 4 '\004', 
      addr = "y\204ܤ O\206¿\004\000\000\000øN\206¿"}}}



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to