View Issue Details

IDProjectCategoryView StatusLast Update
0003351GNUnetcadet servicepublic2014-04-08 16:41
ReporterMatthias Wachs Assigned ToBart Polot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.1Fixed in Version0.10.1 
Summary0003351: segfault in mesh
DescriptionProgram terminated with signal 11, Segmentation fault.
#0 0x000000000040a978 in GMT_count_connections (t=0x0)
    at gnunet-service-mesh_tunnel.c:2291

#0 0x000000000040a978 in GMT_count_connections (t=0x0) at gnunet-service-mesh_tunnel.c:2291
        iter = 0x1f33ba0
        count = 0
#1 0x0000000000422f1a in search_handler (cls=0x1f3b010, path=0x1f24b20) at gnunet-service-mesh_peer.c:825
        peer = 0x1f3b010
        connection_count = 32772912
        __FUNCTION__ = "search_handler"
#2 0x000000000042867a in dht_get_id_handler (cls=0x1f3b0e0, exp=..., key=0x7fffc7a53fa0, get_path=0x7fffc7a54000,
    get_path_length=1, put_path=0x7fffc7a53fe0, put_path_length=1, type=GNUNET_BLOCK_TYPE_DHT_HELLO, size=312, data=0x7fffc7a54020)
    at gnunet-service-mesh_dht.c:235
        h = 0x1f3b0e0
        hello = 0x3c0
        p = 0x1f24b20
        peer = 0x1f3b010
        s = 0x1f41330 ""
        __FUNCTION__ = "dht_get_id_handler"
#3 0x00007fbcf2146f15 in process_reply (cls=0x7fffc7a53f80, key=0x7fffc7a53fa0, value=0x1f3f2f0) at dht_api.c:713
        dht_msg = 0x7fffc7a53f80
        get_handle = 0x1f3f2f0
        put_path = 0x7fffc7a53fe0
        get_path = 0x7fffc7a54000
        hc = {bits = {193934689, 1658140248, 1150407496, 4288912261, 3623440190, 1494223136, 1045129369, 3739720196, 3840210594,
            2290878558, 2278503885, 3125074210, 4054591744, 3041790654, 441057974, 1356982613}}
        put_path_length = 1
        get_path_length = 1
        data_length = 312
        msize = 472
        meta_length = 160
        data = 0x7fffc7a54020
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "process_reply"
#4 0x00007fbcf27918d3 in GNUNET_CONTAINER_multihashmap_get_multiple (map=0x1f32450, key=0x7fffc7a53fa0,
    it=0x7fbcf21469ad <process_reply>, it_cls=0x7fffc7a53f80) at container_multihashmap.c:773
        sme = 0x1f41480
        nxt = 0x0
        count = 0
        me = {sme = 0x1f41480, bme = 0x1f41480}
#5 0x00007fbcf2147c6f in service_message_handler (cls=0x1f32470, msg=0x7fffc7a53f80) at dht_api.c:960
        handle = 0x1f32470
        dht_msg = 0x7fffc7a53f80
        msize = 472
        ret = -1
        __FUNCTION__ = "service_message_handler"
#6 0x00007fbcf277bc5f in receive_task (cls=0x1f328d0, tc=0x7fffc7a54240) at client.c:595
        client = 0x1f328d0
        handler = 0x7fbcf21476bd <service_message_handler>
        cmsg = 0x1f42500
        handler_cls = 0x1f32470
        msize = 472
        mbuf = 0x7fffc7a53f80 <incomplete sequence \330>
        msg = 0x7fffc7a53f80
        __FUNCTION__ = "receive_task"
#7 0x00007fbcf27b70d4 in run_ready (rs=0x1f31c50, ws=0x1f31ce0) at scheduler.c:595
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0x1f3f8f0
        tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x1f31c50, write_ready = 0x1f31ce0}
        __FUNCTION__ = "run_ready"
#8 0x00007fbcf27b795c in GNUNET_SCHEDULER_run (task=0x7fbcf27c3dd6 <service_task>, task_cls=0x7fffc7a544d0) at scheduler.c:817
        rs = 0x1f31c50
---Type <return> to continue, or q <return> to quit---
        ws = 0x1f31ce0
        timeout = {rel_value_us = 0}
        ret = 0
        shc_int = 0x1f1c9e0
        shc_term = 0x1f31920
        shc_quit = 0x1f1cdb0
        shc_hup = 0x1f1ce70
        shc_pipe = 0x1f319e0
        last_tr = 272879
        busy_wait_warning = 0
        pr = 0x1f2aee0
        c = -14 '\362'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#9 0x00007fbcf27c5bbe in GNUNET_SERVICE_run (argc=3, argv=0x7fffc7a54848, service_name=0x42f269 "mesh",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x429dfc <run>, task_cls=0x0) at service.c:1493
        err = 0
        ret = 3
        cfg_fn = 0x1f1b700 "~/.config/gnunet.conf"
        opt_cfg_fn = 0x1f1b850 "/home/mwachs/.config/gnunet.conf"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = 0
        skew_offset = 0
        skew_variance = 0
        clock_offset = 0
        sctx = {cfg = 0x1f1b720, server = 0x1f1d1b0, addrs = 0x0, service_name = 0x42f269 "mesh", task = 0x429dfc <run>,
          task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x1f31e70, v6_allowed = 0x1f31db0,
          my_handlers = 0x1f1c940, addrlens = 0x0, lsocks = 0x1f1c320, shutdown_task = 4, timeout = {
---Type <return> to continue, or q <return> to quit---
            rel_value_us = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1, match_gid = 1,
          options = GNUNET_SERVICE_OPTION_NONE}
        cfg = 0x1f1b720
        xdg = 0x0
        service_options = {{shortName = 99 'c', name = 0x7fbcf27d38ad "config", argumentHelp = 0x7fbcf27d38b4 "FILENAME",
            description = 0x7fbcf27d38c0 "use configuration file FILENAME", require_argument = 1,
            processor = 0x7fbcf27a4800 <GNUNET_GETOPT_set_string>, scls = 0x7fffc7a543b8}, {shortName = 100 'd',
            name = 0x7fbcf27d38e0 "daemonize", argumentHelp = 0x0,
            description = 0x7fbcf27d38f0 "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x7fbcf27a47d3 <GNUNET_GETOPT_set_one>, scls = 0x7fffc7a54378}, {shortName = 104 'h',
            name = 0x7fbcf27d3914 "help", argumentHelp = 0x0, description = 0x7fbcf27d3919 "print this help", require_argument = 0,
            processor = 0x7fbcf27a429a <GNUNET_GETOPT_format_help_>, scls = 0x0}, {shortName = 76 'L', name = 0x7fbcf27d3929 "log",
            argumentHelp = 0x7fbcf27d392d "LOGLEVEL", description = 0x7fbcf27d3938 "configure logging to use LOGLEVEL",
            require_argument = 1, processor = 0x7fbcf27a4800 <GNUNET_GETOPT_set_string>, scls = 0x7fffc7a543c0}, {
            shortName = 108 'l', name = 0x7fbcf27d395a "logfile", argumentHelp = 0x7fbcf27d3962 "LOGFILE",
            description = 0x7fbcf27d3970 "configure logging to write logs to LOGFILE", require_argument = 1,
            processor = 0x7fbcf27a4800 <GNUNET_GETOPT_set_string>, scls = 0x7fffc7a543c8}, {shortName = 118 'v',
            name = 0x7fbcf27d399b "version", argumentHelp = 0x0, description = 0x7fbcf27d39a3 "print the version number",
            require_argument = 0, processor = 0x7fbcf27a4254 <GNUNET_GETOPT_print_version_>, scls = 0x7fbcf27d39bc}, {
            shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0x0,
            scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#10 0x000000000042a184 in main (argc=3, argv=0x7fffc7a54848) at gnunet-service-mesh.c:175
        ret = 0
        r = 0
(gdb)
(gdb)
TagsNo tags attached.

Activities

Bart Polot

2014-03-31 19:57

manager   ~0008167

Will be fixed in the next commit wave.

Bart Polot

2014-04-01 02:21

manager   ~0008169

Fixed in r32854.

Issue History

Date Modified Username Field Change
2014-03-29 07:03 Matthias Wachs New Issue
2014-03-29 07:03 Matthias Wachs Status new => assigned
2014-03-29 07:03 Matthias Wachs Assigned To => Bart Polot
2014-03-29 07:04 Matthias Wachs Description Updated
2014-03-31 19:57 Bart Polot Note Added: 0008167
2014-03-31 19:57 Bart Polot Status assigned => resolved
2014-03-31 19:57 Bart Polot Fixed in Version => Git master
2014-03-31 19:57 Bart Polot Resolution open => fixed
2014-04-01 02:21 Bart Polot Note Added: 0008169
2014-04-01 07:04 Christian Grothoff Product Version => Git master
2014-04-01 07:04 Christian Grothoff Fixed in Version Git master => 0.10.1
2014-04-01 07:04 Christian Grothoff Target Version => 0.10.1
2014-04-08 16:41 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service