View Issue Details

IDProjectCategoryView StatusLast Update
0003871GNUnetATS servicepublic2018-06-07 00:25
ReporterChristian GrothoffAssigned ToChristian Grothoff 
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionSVN HEAD 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003871: ats service assertion failure
Description(gdb) ba
#0 0x00007f6dc7f6a107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f6dc7f6b4e8 in __GI_abort () at abort.c:89
#2 0x00007f6dc88040b0 in GNUNET_abort_ () at common_logging.c:290
#3 0x00007f6dc6cf76d3 in update_active_address (s=0xafbde0, current_address=0xb1a930, peer=0xb1a930) at plugin_ats_proportional.c:756
#4 0x00007f6dc6cf7bb0 in update_active_address (s=0xafbde0, current_address=0x0, peer=0x7ffd2b116708) at plugin_ats_proportional.c:837
#5 0x00007f6dc6cf7c69 in GAS_proportional_start_get_address (solver=0xafbde0, peer=0x7ffd2b116708) at plugin_ats_proportional.c:903
#6 0x00000000004065b6 in GAS_plugin_request_connect_start (pid=0x7ffd2b116708) at gnunet-service-ats_plugins.c:559
#7 0x0000000000403d21 in GAS_handle_request_address (cls=0x0, client=0xafd700, message=0x7ffd2b116700) at gnunet-service-ats_connectivity.c:101
#8 0x00007f6dc884384a in GNUNET_SERVER_inject (server=0xafb0e0, sender=0xafd700, message=0x7ffd2b116700) at server.c:997
#9 0x00007f6dc884451b in client_message_tokenizer_callback (cls=0xafb0e0, client=0xafd700, message=0x7ffd2b116700) at server.c:1256
#10 0x00007f6dc8846c96 in GNUNET_SERVER_mst_receive (mst=0xafd7a0, client_identity=0xafd700, buf=0x7ffd2b116700 "", size=40, purge=0, one_shot=-1) at server_mst.c:262
#11 0x00007f6dc8844131 in process_incoming (cls=0xafd700, buf=0x7ffd2b116700, available=40, addr=0xafd5f0, addrlen=2, errCode=0) at server.c:1178
#12 0x00007f6dc880d84e in receive_ready (cls=0xafd610, tc=0x7ffd2b126780) at connection.c:1139
#13 0x00007f6dc883ee1c in run_ready (rs=0xb10e30, ws=0xb10ec0) at scheduler.c:587
#14 0x00007f6dc883f727 in GNUNET_SCHEDULER_run (task=0x7f6dc884c202 <service_task>, task_cls=0x7ffd2b126b10) at scheduler.c:867
#15 0x00007f6dc884df3b in GNUNET_SERVICE_run (argc=3, argv=0x7ffd2b126d98, service_name=0x40905c "ats", options=GNUNET_SERVICE_OPTION_NONE, task=0x402336 <run>, task_cls=0x0) at service.c:1503
#16 0x0000000000402502 in main (argc=3, argv=0x7ffd2b126d98) at gnunet-service-ats.c:241

(gdb) print *current_address
$2 = {peer = {public_key = {q_y = "u2\207\017\251\300&G/0\252\300\325\316ǯLW{ڮ\375\065\302\315\315q\305'\341\325a"}}, addr = 0xb1aa78, plugin = 0xb002f0 "tcp", solver_information = 0xb12550, properties = {delay = {rel_value_us = 0},
    utilization_out = 0, utilization_in = 0, distance = 0, scope = GNUNET_ATS_NET_WAN}, t_last_activity = {abs_value_us = 1435413446758073}, t_added = {abs_value_us = 1435413446758073}, addr_len = 12, session_id = 24928,
  local_address_info = GNUNET_HELLO_ADDRESS_INFO_INBOUND, atsi_count = 0, assigned_bw_in = 0, assigned_bw_out = 0, last_notified_bw_in = 0, last_notified_bw_out = 0, active = 0, norm_delay = {avg_queue_index = 1, atsi_abs = {0,
      18446744073709551615, 18446744073709551615}, avg = 0, norm = 1}, norm_distance = {avg_queue_index = 1, atsi_abs = {0, 18446744073709551615, 18446744073709551615}, avg = 0, norm = 1}, norm_utilization_in = {avg_queue_index = 1,
    atsi_abs = {0, 18446744073709551615, 18446744073709551615}, avg = 0, norm = 1}, norm_utilization_out = {avg_queue_index = 1, atsi_abs = {0, 18446744073709551615, 18446744073709551615}, avg = 0, norm = 1}}

Steps To ReproduceWas just running a peer for a while.
Additional Information(gdb) bt full
#0 0x00007f6dc7f6a107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 25255
        selftid = 25255
#1 0x00007f6dc7f6b4e8 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 140725326013232, 140109496712711, 140724603453441, 0, 1, 140109482802472, 11617840, 140725326013232, 140725326079744, 140109496738597,
              1, 140109483664928, 0, 140109486598032, 140109486592096}}, sa_flags = -924391680, sa_restorer = 0x7f6dc7f809fa <_IO_vfprintf_internal+22490>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f6dc88040b0 in GNUNET_abort_ () at common_logging.c:290
No locals.
#3 0x00007f6dc6cf76d3 in update_active_address (s=0xafbde0, current_address=0xb1a930, peer=0xb1a930) at plugin_ats_proportional.c:756
        best_address = 0x0
        asi_cur = 0xb12550
        asi_best = 0x0
        aw = 0x7ffd2b1163c0
        aw_min = 0xb14630
        a_con = 0
        con_min = 32765
        __FUNCTION__ = "update_active_address"
#4 0x00007f6dc6cf7bb0 in update_active_address (s=0xafbde0, current_address=0x0, peer=0x7ffd2b116708) at plugin_ats_proportional.c:837
        best_address = 0xb15cb0
        asi_cur = 0x3938700
        asi_best = 0xb14630
        aw = 0xb12550
        aw_min = 0xb12550
        a_con = 0
        con_min = 0
        __FUNCTION__ = "update_active_address"
#5 0x00007f6dc6cf7c69 in GAS_proportional_start_get_address (solver=0xafbde0, peer=0x7ffd2b116708) at plugin_ats_proportional.c:903
        s = 0xafbde0
#6 0x00000000004065b6 in GAS_plugin_request_connect_start (pid=0x7ffd2b116708) at gnunet-service-ats_plugins.c:559
No locals.
#7 0x0000000000403d21 in GAS_handle_request_address (cls=0x0, client=0xafd700, message=0x7ffd2b116700) at gnunet-service-ats_connectivity.c:101
        msg = 0x7ffd2b116700
        cr = 0xb17d00
        __FUNCTION__ = "GAS_handle_request_address"
#8 0x00007f6dc884384a in GNUNET_SERVER_inject (server=0xafb0e0, sender=0xafd700, message=0x7ffd2b116700) at server.c:997
        pos = 0xafc140
        mh = 0x409098 <handlers+24>
        i = 1
        type = 341
        size = 40
        found = 0
        __FUNCTION__ = "GNUNET_SERVER_inject"
#9 0x00007f6dc884451b in client_message_tokenizer_callback (cls=0xafb0e0, client=0xafd700, message=0x7ffd2b116700) at server.c:1256
        server = 0xafb0e0
        sender = 0xafd700
        ret = -930792346
        __FUNCTION__ = "client_message_tokenizer_callback"
#10 0x00007f6dc8846c96 in GNUNET_SERVER_mst_receive (mst=0xafd7a0, client_identity=0xafd700, buf=0x7ffd2b116700 "", size=40, purge=0, one_shot=-1) at server_mst.c:262
        hdr = 0x7ffd2b116700
        delta = 140725326081424
        want = 40
        ibuf = 0xafe4d0 ""
        need_align = 0
        offset = 140725326014208
        ret = 1
        __FUNCTION__ = "GNUNET_SERVER_mst_receive"
#11 0x00007f6dc8844131 in process_incoming (cls=0xafd700, buf=0x7ffd2b116700, available=40, addr=0xafd5f0, addrlen=2, errCode=0) at server.c:1178
        client = 0xafd700
        server = 0xafb0e0
        end = {abs_value_us = 18446744073709551615}
        now = {abs_value_us = 1435413727712584}
        ret = 64
        __FUNCTION__ = "process_incoming"
#12 0x00007f6dc880d84e in receive_ready (cls=0xafd610, tc=0x7ffd2b126780) at connection.c:1139
        connection = 0xafd610
        buffer = 0x7ffd2b116700 ""
        ret = 40
        receiver = 0x7f6dc8843ccb <process_incoming>
---Type <return> to continue, or q <return> to quit---.
        __FUNCTION__ = "receive_ready"
#13 0x00007f6dc883ee1c in run_ready (rs=0xb10e30, ws=0xb10ec0) at scheduler.c:587
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0xafecb0
        tc = {reason = (GNUNET_SCHEDULER_REASON_READ_READY | GNUNET_SCHEDULER_REASON_PREREQ_DONE), read_ready = 0xb10e30, write_ready = 0xb10ec0}
        __FUNCTION__ = "run_ready"
#14 0x00007f6dc883f727 in GNUNET_SCHEDULER_run (task=0x7f6dc884c202 <service_task>, task_cls=0x7ffd2b126b10) at scheduler.c:867
        rs = 0xb10e30
        ws = 0xb10ec0
        timeout = {rel_value_us = 1456449}
        ret = 1
        shc_int = 0xafaaf0
        shc_term = 0xafabb0
        shc_quit = 0xafad30
        shc_hup = 0xafadf0
        shc_pipe = 0xafac70
        last_tr = 12761769
        busy_wait_warning = 0
        pr = 0xb10db0
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#15 0x00007f6dc884df3b in GNUNET_SERVICE_run (argc=3, argv=0x7ffd2b126d98, service_name=0x40905c "ats", options=GNUNET_SERVICE_OPTION_NONE, task=0x402336 <run>, task_cls=0x0) at service.c:1503
        err = 0
        ret = 3
        cfg_fn = 0xaf7700 "/home/grothoff/.config/gnunet.conf"
        opt_cfg_fn = 0xaf7860 "/home/grothoff/.config/gnunet.conf"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = 4203318
        skew_offset = 140109498892712
        skew_variance = 140725326081288
        clock_offset = 4202432
        sctx = {cfg = 0xaf7730, server = 0xafb0e0, addrs = 0x0, service_name = 0x40905c "ats", task = 0x402336 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0xb112a0, v6_allowed = 0xb10dd0,
          my_handlers = 0xb10630, addrlens = 0x0, lsocks = 0xaf9460, shutdown_task = 0xafb170, timeout = {rel_value_us = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 0, match_gid = 1,
          options = GNUNET_SERVICE_OPTION_NONE}
        cfg = 0xaf7730
        xdg = 0x7ffd2b127db2 "/home/grothoff/.config"
        service_options = {{shortName = 99 'c', name = 0x7f6dc885c7cd "config", argumentHelp = 0x7f6dc885c7d4 "FILENAME", description = 0x7f6dc885c7e0 "use configuration file FILENAME", require_argument = 1,
            processor = 0x7f6dc882c179 <GNUNET_GETOPT_set_string>, scls = 0x7ffd2b126bc8}, {shortName = 100 'd', name = 0x7f6dc885c800 "daemonize", argumentHelp = 0x0, description = 0x7f6dc885c810 "do daemonize (detach from terminal)",
            require_argument = 0, processor = 0x7f6dc882c14c <GNUNET_GETOPT_set_one>, scls = 0x7ffd2b126bb4}, {shortName = 104 'h', name = 0x7f6dc885c834 "help", argumentHelp = 0x0, description = 0x7f6dc885c839 "print this help",
            require_argument = 0, processor = 0x7f6dc882bc17 <GNUNET_GETOPT_format_help_>, scls = 0x0}, {shortName = 76 'L', name = 0x7f6dc885c849 "log", argumentHelp = 0x7f6dc885c84d "LOGLEVEL",
            description = 0x7f6dc885c858 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7f6dc882c179 <GNUNET_GETOPT_set_string>, scls = 0x7ffd2b126bc0}, {shortName = 108 'l', name = 0x7f6dc885c87a "logfile",
            argumentHelp = 0x7f6dc885c882 "LOGFILE", description = 0x7f6dc885c890 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x7f6dc882c179 <GNUNET_GETOPT_set_string>, scls = 0x7ffd2b126bb8}, {
            shortName = 118 'v', name = 0x7f6dc885c8bb "version", argumentHelp = 0x0, description = 0x7f6dc885c8c3 "print the version number", require_argument = 0, processor = 0x7f6dc882bbd1 <GNUNET_GETOPT_print_version_>,
            scls = 0x7f6dc885c8dc}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0x0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#16 0x0000000000402502 in main (argc=3, argv=0x7ffd2b126d98) at gnunet-service-ats.c:241
No locals.
TagsNo tags attached.

Activities

Christian Grothoff

2015-06-29 10:11

manager   ~0009365

Should be fixed in SVN 36021.

Issue History

Date Modified Username Field Change
2015-06-29 09:29 Christian Grothoff New Issue
2015-06-29 09:29 Christian Grothoff Status new => assigned
2015-06-29 09:29 Christian Grothoff Assigned To => Matthias Wachs
2015-06-29 10:11 Christian Grothoff Note Added: 0009365
2015-06-29 10:11 Christian Grothoff Status assigned => resolved
2015-06-29 10:11 Christian Grothoff Fixed in Version => 0.11.0pre66
2015-06-29 10:11 Christian Grothoff Resolution open => fixed
2015-06-29 10:11 Christian Grothoff Assigned To Matthias Wachs => Christian Grothoff
2018-06-07 00:25 Christian Grothoff Status resolved => closed