View Issue Details

IDProjectCategoryView StatusLast Update
0003082GNUnettransport servicepublic2013-12-24 20:54
ReporterBart Polot Assigned ToMatthias Wachs  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003082: Transport crash in mesh testcase
DescriptionProgram terminated with signal 11, Segmentation fault.
#0 0x000000000041283f in GST_neighbours_notify_data_sent (peer=0xcc6190, address=0x7fffcd91ede0, session=0xcc6190,
    size=27648) at gnunet-service-transport_neighbours.c:2495


(gdb) bt full
#0 0x000000000041283f in GST_neighbours_notify_data_sent (peer=0xcc6190, address=0x7fffcd91ede0, session=0xcc6190,
    size=27648) at gnunet-service-transport_neighbours.c:2495
        n = 0x0
#1 0x00000000004199dd in GST_validation_handle_ping (sender=0xcc6190, hdr=0xcc5370, sender_address=0x7fffcd91ede0,
    session=0xcc6190) at gnunet-service-transport_validation.c:1111
        ping = 0xcc5370
        pong = 0xcc6760
        papi = 0xcb1f30
        sig_cache = 0xcb2090
        sig_cache_exp = 0xcb2088
        addr = 0xcc53b8 "tcp"
        addrend = 0xcc53bc ""
        plugin_name = 0xcb4510 "transport"
        pos = 0x40c6a9 <lookup_neighbour+53> "\311\303UH\211\345H\203\354 \211}\354\203}\354\017\017\207\255"
        alen = 12
        slen = 4
        ret = 108
        buggy = 0
        address = {peer = {public_key = {
              q_x = "L\244#k\345L&-\322}\002a\335\265\312\026\323\332\314\257\236l^\375-\003\273\031\254\257b\356",
              q_y = "S\370\300m\351\332W\031\300v\317\070y\222\371u\237\321p\305\070uek\272\205r\344\265\071\343d"}},
          transport_name = 0xcc53b8 "tcp", address = 0xcc53bc, address_length = 12}
        __FUNCTION__ = "GST_validation_handle_ping"
#2 0x0000000000403df6 in GST_receive_callback (cls=0xcb84f0, peer=0xcc6190, message=0xcc5370, session=0xcc6190,
    sender_address=0x0, sender_address_len=0) at gnunet-service-transport.c:246
        plugin_name = 0xcb84f0 "tcp"
        ret = {rel_value_us = 0}
        address = {peer = {public_key = {
              q_x = "\345\311\371eA\273\070\225\221 \210\213\305\065x_\233\360\267\217@\210\236\330A&\032\347\234\214\374\337", q_y = "G\303\353\367\344\nd\264k\311\306;N\363\365$L\a\331\260\352L\254\233\303bc\333\320mS\222"}},
          transport_name = 0xcb84f0 "tcp", address = 0x0, address_length = 0}
        type = 372
        __FUNCTION__ = "GST_receive_callback"
#3 0x000000000041c664 in GST_manipulation_recv (cls=0xcb84f0, peer=0xcc6190, message=0xcc5370, session=0xcc6190,
    sender_address=0x0, sender_address_len=0) at gnunet-service-transport_manipulation.c:559
        tmp = 0x0
        p_recv_delay = 0
        g_recv_delay = 4294967295
        quota_delay = {rel_value_us = 13394192}
        m_delay = {rel_value_us = 0}
        __FUNCTION__ = "GST_manipulation_recv"
#4 0x00007f71ff1154f5 in handle_tcp_data (cls=0xcb1770, client=0xcc5e30, message=0xcc5370)
    at plugin_transport_tcp.c:2260
        plugin = 0xcb1770
        session = 0xcc6190
        delay = {rel_value_us = 13395600}
        type = 372
        __FUNCTION__ = "handle_tcp_data"
        distance = {type = 83886080, value = 16777216}
#5 0x00007f720085656d in GNUNET_SERVER_inject (server=0xcb16e0, sender=0xcc5e30, message=0xcc5370) at server.c:985
        pos = 0xcbc4c0
        mh = 0xcb8890
        i = 2
        type = 372
        size = 88
        found = 0
        __FUNCTION__ = "GNUNET_SERVER_inject"
#6 0x00007f72008571f4 in client_message_tokenizer_callback (cls=0xcb16e0, client=0xcc5e30, message=0xcc5370)
    at server.c:1205
        server = 0xcb16e0
        sender = 0xcc5e30
        ret = 8504309
        __FUNCTION__ = "client_message_tokenizer_callback"
#7 0x00007f720085966c in GNUNET_SERVER_mst_receive (mst=0xcc2890, client_identity=0xcc5e30, buf=0x0, size=0, purge=0,
    one_shot=-1) at server_mst.c:220
        hdr = 0xcc5370
        delta = 0
        want = 88
        ibuf = 0xcc5370 ""
        need_align = 32767
        offset = 1261874723993
        ret = 1
        __FUNCTION__ = "GNUNET_SERVER_mst_receive"
#8 0x00007f7200856862 in process_mst (client=0xcc5e30, ret=0) at server.c:1055
        __FUNCTION__ = "process_mst"
---Type <return> to continue, or q <return> to quit---
#9 0x00007f7200856ea3 in process_incoming (cls=0xcc5e30, buf=0x7fffcd91f208, available=212, addr=0xcb3740, addrlen=16,
    errCode=0) at server.c:1146
        client = 0xcc5e30
        server = 0xcb16e0
        end = {abs_value_us = 1539783247928249}
        now = {abs_value_us = 1382103247928514}
        ret = 0
        __FUNCTION__ = "process_incoming"
#10 0x00007f72008266d6 in receive_ready (cls=0xcc5d40, tc=0x7fffcd92f290) at connection.c:1062
        connection = 0xcc5d40
        buffer = 0x7fffcd91f208 ""
        ret = 212
        receiver = 0x7f72008569fe <process_incoming>
        __FUNCTION__ = "receive_ready"
#11 0x00007f7200852527 in run_ready (rs=0xcb5c80, ws=0xcb5d10) at scheduler.c:593
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0xcb6a40
        tc = {reason = (GNUNET_SCHEDULER_REASON_READ_READY | GNUNET_SCHEDULER_REASON_PREREQ_DONE),
          read_ready = 0xcb5c80, write_ready = 0xcb5d10}
        __FUNCTION__ = "run_ready"
#12 0x00007f7200852db5 in GNUNET_SCHEDULER_run (task=0x7f7200860007 <service_task>, task_cls=0x7fffcd92f630)
    at scheduler.c:808
        rs = 0xcb5c80
        ws = 0xcb5d10
        timeout = {rel_value_us = 976506}
        ret = 1
        shc_int = 0xcb66d0
        shc_term = 0xcb6780
        shc_quit = 0xcb68e0
        shc_hup = 0xcb6990
        shc_pipe = 0xcb6830
        last_tr = 73
        busy_wait_warning = 0
        pr = 0xcb8d80
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#13 0x00007f7200861c35 in GNUNET_SERVICE_run (argc=3, argv=0x7fffcd92f8a8, service_name=0x41db6d "transport",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x40566f <run>, task_cls=0x0) at service.c:1781
        err = 0
        ret = 3
        cfg_fn = 0xcad700 "~/.gnunet/gnunet.conf"
        opt_cfg_fn = 0xcad850 "/tmp/testbedLQxU3C/3/config"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = 4216431
        skew_offset = 140127622542989
        skew_variance = 1
        clock_offset = 140127622586917
        sctx = {cfg = 0xcad720, server = 0xcb6d00, addrs = 0x0, service_name = 0x41db6d "transport",
          task = 0x40566f <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0xcb5c50,
          v6_allowed = 0xcc4920, my_handlers = 0xcbb4c0, addrlens = 0x0, lsocks = 0xcb5bf0, shutdown_task = 4,
          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 = 0xcad720
        xdg = 0x0
        service_options = {{shortName = 99 'c', name = 0x7f720086d20d "config",
            argumentHelp = 0x7f720086d214 "FILENAME", description = 0x7f720086d220 "use configuration file FILENAME",
            require_argument = 1, processor = 0x7f7200840f30 <GNUNET_GETOPT_set_string>, scls = 0x7fffcd92f6e8}, {
            shortName = 100 'd', name = 0x7f720086d240 "daemonize", argumentHelp = 0x0,
            description = 0x7f720086d250 "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x7f7200840f03 <GNUNET_GETOPT_set_one>, scls = 0x7fffcd92f6d4}, {shortName = 104 'h',
            name = 0x7f720086d274 "help", argumentHelp = 0x0, description = 0x7f720086d279 "print this help",
            require_argument = 0, processor = 0x7f72008409ca <GNUNET_GETOPT_format_help_>, scls = 0x0}, {
            shortName = 76 'L', name = 0x7f720086d289 "log", argumentHelp = 0x7f720086d28d "LOGLEVEL",
            description = 0x7f720086d298 "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x7f7200840f30 <GNUNET_GETOPT_set_string>, scls = 0x7fffcd92f6e0}, {shortName = 108 'l',
            name = 0x7f720086d2ba "logfile", argumentHelp = 0x7f720086d2c2 "LOGFILE",
            description = 0x7f720086d2d0 "configure logging to write logs to LOGFILE", require_argument = 1,
            processor = 0x7f7200840f30 <GNUNET_GETOPT_set_string>, scls = 0x7fffcd92f6d8}, {shortName = 118 'v',
            name = 0x7f720086d2fb "version", argumentHelp = 0x0,
            description = 0x7f720086d303 "print the version number", require_argument = 0,
            processor = 0x7f7200840984 <GNUNET_GETOPT_print_version_>, scls = 0x7f720086d31c}, {shortName = 0 '\000',
            name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0x0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
---Type <return> to continue, or q <return> to quit---
#14 0x0000000000405e12 in main (argc=3, argv=0x7fffcd92f8a8) at gnunet-service-transport.c:858
No locals.
TagsNo tags attached.

Activities

Matthias Wachs

2013-10-18 16:16

reporter   ~0007538

fixed in 30326.

Issue History

Date Modified Username Field Change
2013-10-18 15:45 Bart Polot New Issue
2013-10-18 15:45 Bart Polot Status new => assigned
2013-10-18 15:45 Bart Polot Assigned To => Matthias Wachs
2013-10-18 16:16 Matthias Wachs Note Added: 0007538
2013-10-18 16:16 Matthias Wachs Status assigned => resolved
2013-10-18 16:16 Matthias Wachs Resolution open => fixed
2013-10-20 16:20 Christian Grothoff Fixed in Version => 0.10.0
2013-10-20 16:20 Christian Grothoff Target Version => 0.10.0
2013-12-24 20:54 Christian Grothoff Status resolved => closed