View Issue Details

IDProjectCategoryView StatusLast Update
0003699GNUnetfile-sharing servicepublic2018-06-07 00:32
Reporteramatus Assigned To 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product VersionGit master 
Summary0003699: assertion failed in GNUNET_PEER_change_rc: id < size
DescriptionI got this assertion from my peer running rev 35318. It has a similar backtrace to 0003615 but fails a little earlier in a different way.
Additional InformationProgram terminated with signal SIGABRT, Aborted.
#0 0xb74bfddc in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0xb74bfddc in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0xb74c1463 in __GI_abort () at abort.c:89
#2 0xb766aa25 in GNUNET_abort_ () at common_logging.c:289
#3 0xb7698de0 in GNUNET_PEER_change_rc (id=364335056, delta=1) at peer.c:201
#4 0x0805a345 in transmit_content (peer=0x9a3f6e8, block=0xf578aa8)
    at gnunet-service-fs_push.c:284
#5 0x0805abcd in process_migration_content (cls=0x0, key=0xbfaa20f0,
    size=30736, data=0xbfaa2130, type=GNUNET_BLOCK_TYPE_FS_UBLOCK, priority=0,
    anonymity=1, expiration=..., uid=8907) at gnunet-service-fs_push.c:559
#6 0xb76ee3dc in process_result_message (cls=0x8d1b158, msg=0xbfaa20c0)
    at datastore_api.c:1260
#7 0xb76ec6dc in receive_cb (cls=0x8d1b158, msg=0xbfaa20c0)
    at datastore_api.c:592
#8 0xb7666a42 in receive_task (cls=0x8d0c098, tc=0xbfaa99a4) at client.c:618
#9 0xb769e3f0 in run_ready (rs=0x8d1ac68, ws=0x8d0b8c8) at scheduler.c:587
#10 0xb769ec91 in GNUNET_SCHEDULER_run (task=0xb76a97f5 <service_task>,
    task_cls=0xbfaa9bd0) at scheduler.c:816
#11 0xb76ab393 in GNUNET_SERVICE_run (argc=3, argv=0xbfaa9db4,
    service_name=0x805e43b "fs", options=GNUNET_SERVICE_OPTION_NONE,
    task=0x804c692 <run>, task_cls=0x0) at service.c:1503
#12 0x0804c8e4 in main (argc=3, argv=0xbfaa9db4) at gnunet-service-fs.c:827
(gdb) frame 4
#4 0x0805a345 in transmit_content (peer=0x9a3f6e8, block=0xf578aa8)
    at gnunet-service-fs_push.c:284
284 gnunet-service-fs_push.c: No such file or directory.
(gdb) p *block
$1 = {next = 0x0, prev = 0x14e4ec30, query = {bits = {3641974302, 537011604,
      3572529800, 63664300, 2354711981, 2536041422, 2856189447, 1788701076,
      3155670179, 944444326, 3417518517, 2695768284, 63244386, 1761362608,
      1223486411, 3640666853}}, expiration = {
    abs_value_us = 1453642462882843}, target_list = {2, 364335056},
  size = 30736, used_targets = 0, type = GNUNET_BLOCK_TYPE_FS_UBLOCK}
TagsNo tags attached.

Relationships

related to 0003615 closedChristian Grothoff assertion failed in schedule_transmission, GNUNET_assert (NULL != cp->cth); 

Activities

amatus

2015-03-02 18:17

developer   ~0008963

Looks like ppd got corrupted

(gdb) p *ppd
$11 = {last_client_replies = {0xaa77650f, 0xffccd74d, 0x601640e1, 0xc6e28958,
    0x6b7b520a, 0x6a98d1f3, 0xd7f6aa26, 0x28c8b89e}, last_p2p_replies = {
    834931580, 903963563, 0, 174813592, 174813592, 3192748891, 331824,
    381566491}, avg_reply_delay = {rel_value_us = 4295299145},
  migration_delay = {rel_value_us = 0}, migration_blocked_until = {
    abs_value_us = 0}, last_request_times = {{abs_value_us = 8589934592}, {
      abs_value_us = 4294967296}, {abs_value_us = 695046070656303104}, {
      abs_value_us = 0}, {abs_value_us = 154874416}, {abs_value_us = 0}, {
      abs_value_us = 0}, {abs_value_us = 1}, {
      abs_value_us = 1638817146282704904}, {abs_value_us = 331849}, {
      abs_value_us = 6689709783394369334}, {abs_value_us = 34878}, {
      abs_value_us = 0}, {abs_value_us = 0}, {abs_value_us = 141733920769}, {
      abs_value_us = 151830824}}, transmission_delay = 0xc0e8078,
  avg_priority = 5.3788905981656659e-263, pid = 364335056,
  respect = 1920295680, pending_queries = 33, pending_replies = 151830856}

amatus

2015-04-27 05:23

developer   ~0009105

Another instance:

Program terminated with signal SIGABRT, Aborted.
#0 0xb753eddc in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0xb753eddc in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0xb7540463 in __GI_abort () at abort.c:89
#2 0xb76e8b6b in GNUNET_abort_ () at common_logging.c:289
#3 0xb77170ba in GNUNET_PEER_change_rc (id=149857016, delta=1) at peer.c:201
#4 0x0805a626 in transmit_content (peer=0x9356610, block=0x8e0fb78)
    at gnunet-service-fs_push.c:284
#5 0x0805aeae in process_migration_content (cls=0x0, key=0xbfd274a0,
    size=32768, data=0xbfd274e0, type=GNUNET_BLOCK_TYPE_FS_DBLOCK, priority=0,
    anonymity=1, expiration=..., uid=22047) at gnunet-service-fs_push.c:559
#6 0xb776c3dc in process_result_message (cls=0x89b4340, msg=0xbfd27470)
    at datastore_api.c:1260
#7 0xb776a6dc in receive_cb (cls=0x89b4340, msg=0xbfd27470)
    at datastore_api.c:592
#8 0xb76e4b88 in receive_task (cls=0x89a5178, tc=0xbfd2f544) at client.c:618
#9 0xb771c6ca in run_ready (rs=0x89b3e90, ws=0x89a4ab0) at scheduler.c:587
#10 0xb771cf58 in GNUNET_SCHEDULER_run (task=0xb7727ae6 <service_task>,
    task_cls=0xbfd2f770) at scheduler.c:867
#11 0xb7729684 in GNUNET_SERVICE_run (argc=7, argv=0xbfd2f954,
    service_name=0x805e73b "fs", options=GNUNET_SERVICE_OPTION_NONE,
    task=0x804c692 <run>, task_cls=0x0) at service.c:1503
#12 0x0804c8e4 in main (argc=7, argv=0xbfd2f954) at gnunet-service-fs.c:827
(gdb) fr 4
#4 0x0805a626 in transmit_content (peer=0x9356610, block=0x8e0fb78)
    at gnunet-service-fs_push.c:284
284 gnunet-service-fs_push.c: No such file or directory.
(gdb) p *ppd
$1 = {last_client_replies = {0x0, 0x0, 0x90de170, 0x92fd258, 0x90de298,
    0x90de100, 0x1516392c, 0x51297}, last_p2p_replies = {0, 0, 0, 0, 0, 33, 0,
    0}, avg_reply_delay = {rel_value_us = 652425563989868544},
  migration_delay = {rel_value_us = 727153562685923528},
  migration_blocked_until = {abs_value_us = 348121408224},
  last_request_times = {{abs_value_us = 151904456}, {
      abs_value_us = 2755127007262121624}, {
      abs_value_us = 14303070464520737438}, {
      abs_value_us = 12129180322378809313}, {
      abs_value_us = 16537748292345339002}, {
      abs_value_us = 9070436788228190791}, {
      abs_value_us = 12061515130569177093}, {
      abs_value_us = 12173367794299004389}, {
      abs_value_us = 3653295905792099250}, {abs_value_us = 176440364468}, {
      abs_value_us = 727018631987433304}, {abs_value_us = 0}, {
      abs_value_us = 151904456}, {abs_value_us = 0}, {
      abs_value_us = 142080627743}, {abs_value_us = 0}, {
      abs_value_us = 652425701580726528}, {abs_value_us = 784673654499565768},
    {abs_value_us = 142080629086}, {abs_value_us = 0}, {
      abs_value_us = 652425839019680152}, {abs_value_us = 746309838380589256},
    {abs_value_us = 142080630418}, {abs_value_us = 0}},
  transmission_delay = 0x90de1b8, avg_priority = 4.6330406618984311e-265,
  pid = 149857016, respect = 0, pending_queries = 33, pending_replies = 0}

Issue History

Date Modified Username Field Change
2015-03-02 17:42 amatus New Issue
2015-03-02 17:42 amatus Relationship added related to 0003615
2015-03-02 18:17 amatus Note Added: 0008963
2015-03-08 20:25 Christian Grothoff Status new => acknowledged
2015-03-21 00:36 Christian Grothoff Target Version => 0.11.0
2015-04-27 05:23 amatus Note Added: 0009105
2018-06-07 00:32 Christian Grothoff Target Version 0.11.0 =>