View Issue Details

IDProjectCategoryView StatusLast Update
0003122GNUnetcadet servicepublic2013-12-24 20:54
Reporterbratao Assigned ToBart Polot  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformW32OSWindowsOS Version8.1
Product VersionGit master 
Target Version0.10.0 
Summary0003122: Crash in mesh
DescriptionThis crash happens in gnunet-service-mesh.exe when starting GNUnet, not connected to Any peer.
Additional InformationProgram received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2408.0x15a8]
0x62b59e4b in GNUNET_CONTAINER_multihashmap32_get (map=0x0, key=2147483664) at container_multihashmap32.c:206
206 e = map->map[idx_of (map, key)];
(gdb) bt full
#0 0x62b59e4b in GNUNET_CONTAINER_multihashmap32_get (map=0x0, key=2147483664) at container_multihashmap32.c:206
        e = 0x0
#1 0x00419024 in GML_channel_get (c=0x4807e8, chid=2147483664) at gnunet-service-mesh_local.c:789
        __FUNCTION__ = "GML_channel_get"
#2 0x00417c61 in handle_channel_destroy (cls=0x0, client=0x82ed38, message=0x47bc80)
    at gnunet-service-mesh_local.c:432
        msg = 0x47bc80
        c = 0x4807e8
        ch = 0x3938700
        chid = 2147483664
        __FUNCTION__ = "handle_channel_destroy"
#3 0x62b834c8 in GNUNET_SERVER_inject (server=0x481270, sender=0x82ed38, message=0x47bc80) at server.c:985
        pos = 0x47b9b8
        mh = 0x422598 <client_handlers+24>
        i = 2
        type = 274
        size = 48
        found = 0
        __FUNCTION__ = "GNUNET_SERVER_inject"
#4 0x62b84160 in client_message_tokenizer_callback (cls=0x481270, client=0x82ed38, message=0x47bc80) at server.c:1205
        server = 0x481270
        sender = 0x82ed38
        ret = 2620032
        __FUNCTION__ = "client_message_tokenizer_callback"
#5 0x62b863ba in GNUNET_SERVER_mst_receive (mst=0x829330, client_identity=0x82ed38, buf=0x27fbac "", size=48,
    purge=0, one_shot=-1) at server_mst.c:220
        hdr = 0x47bc80
        delta = 44
        want = 48
        ibuf = 0x47bc80 ""
        need_align = 1
        offset = 2620284
        ret = 1
        __FUNCTION__ = "GNUNET_SERVER_mst_receive"
#6 0x62b83d5c in process_incoming (cls=0x82ed38, buf=0x27fb7c, available=96, addr=0x480c48, addrlen=28, errCode=0)
    at server.c:1136
        client = 0x82ed38
        server = 0x481270
        end = {abs_value_us = 18446744073709551615}
        now = {abs_value_us = 1384902711612804}
        ret = 0
        __FUNCTION__ = "process_incoming"
#7 0x62b50424 in receive_ready (cls=0x82e9e8, tc=0x28fbf0) at connection.c:1062
        connection = 0x82e9e8
        buffer = 0x27fb7c ""
        ret = 96
        receiver = 0x62b8395c <process_incoming>
        __FUNCTION__ = "receive_ready"
#8 0x62b7f6e1 in run_ready (rs=0x8297e8, ws=0x82a800) at scheduler.c:593
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0x82c6c0
        tc = {reason = (GNUNET_SCHEDULER_REASON_READ_READY | GNUNET_SCHEDULER_REASON_PREREQ_DONE),
          read_ready = 0x485388, write_ready = 0x82a800}
        __FUNCTION__ = "run_ready"
#9 0x62b7ff5d in GNUNET_SCHEDULER_run (task=0x62b8bc24 <service_task>, task_cls=0x28fd98) at scheduler.c:808
        rs = 0x8297e8
        ws = 0x82a800
        timeout = {rel_value_us = 3568165262}
        ret = 1
        shc_int = 0x47d498
        shc_term = 0x47d488
        last_tr = 37
        busy_wait_warning = 0
        pr = 0x828ba0
        c = 98 'b'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#10 0x62b8caf3 in GNUNET_SERVICE_run (argc=3, argv=0x472008, service_name=0x426599 <__FUNCTION__.105211+1342> "mesh",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x420577 <run>, task_cls=0x0) at service.c:1478
        err = 0
        ret = 3
        cfg_fn = 0x4722a8 "~/.gnunet/gnunet.conf"
        opt_cfg_fn = 0x476e28 "C:\\Users\\Bruno\\AppData\\Roaming\\Cangote\\cangote.conf"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = 4294967295
        skew_offset = 18601675157667892
        skew_variance = 36636743033902999
        clock_offset = -8292046125
        sctx = {cfg = 0x4719e8, server = 0x481270, addrs = 0x0,
          service_name = 0x426599 <__FUNCTION__.105211+1342> "mesh", task = 0x420577 <run>, task_cls = 0x0,
          v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x480c20, v6_allowed = 0x4811d0, my_handlers = 0x829290,
          addrlens = 0x0, lsocks = 0x828ab0, shutdown_task = 5, timeout = {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 = 0x4719e8
        xdg = 0x0
        service_options = {{shortName = 99 'c', name = 0x62ba711c <defhandlers+1308> "config",
            argumentHelp = 0x62ba7123 <defhandlers+1315> "FILENAME",
            description = 0x62ba712c <defhandlers+1324> "use configuration file FILENAME", require_argument = 1,
            processor = 0x62b6b55e <GNUNET_GETOPT_set_string>, scls = 0x28fe18}, {shortName = 100 'd',
            name = 0x62ba714c <defhandlers+1356> "daemonize", argumentHelp = 0x0,
            description = 0x62ba7158 <defhandlers+1368> "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x62b6b542 <GNUNET_GETOPT_set_one>, scls = 0x28fe0c}, {shortName = 104 'h',
            name = 0x62ba717c <defhandlers+1404> "help", argumentHelp = 0x0,
            description = 0x62ba7181 <defhandlers+1409> "print this help", require_argument = 0,
            processor = 0x62b6b0d7 <GNUNET_GETOPT_format_help_>, scls = 0x0}, {shortName = 76 'L',
            name = 0x62ba7191 <defhandlers+1425> "log", argumentHelp = 0x62ba7195 <defhandlers+1429> "LOGLEVEL",
            description = 0x62ba71a0 <defhandlers+1440> "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x62b6b55e <GNUNET_GETOPT_set_string>, scls = 0x28fe14}, {shortName = 108 'l',
            name = 0x62ba71c2 <defhandlers+1474> "logfile", argumentHelp = 0x62ba71ca <defhandlers+1482> "LOGFILE",
            description = 0x62ba71d4 <defhandlers+1492> "configure logging to write logs to LOGFILE",
            require_argument = 1, processor = 0x62b6b55e <GNUNET_GETOPT_set_string>, scls = 0x28fe10}, {
            shortName = 118 'v', name = 0x62ba71ff <defhandlers+1535> "version", argumentHelp = 0x0,
            description = 0x62ba7207 <defhandlers+1543> "print the version number", require_argument = 0,
            processor = 0x62b6b0a8 <GNUNET_GETOPT_print_version_>, scls = 0x62ba7220 <defhandlers+1568>}, {
            shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0,
            processor = 0x0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#11 0x00420921 in main (argc=3, argv=0x472008) at gnunet-service-mesh.c:161
        ret = 52
        r = 52
TagsNo tags attached.

Activities

Bart Polot

2013-11-21 18:09

reporter   ~0007667

Is this when starting mesh with gnunet-arm or during some testcase?

bratao

2013-11-21 18:59

reporter   ~0007671

Starting mesh with gnunet-arm.

Bart Polot

2013-11-21 19:01

reporter   ~0007672

Could you try to reproduce it with a post-r30841 version?

bratao

2013-11-21 21:22

reporter   ~0007674

Yes bart, It was solved in latest SVN !
But another crash is happening, https://gnunet.org/bugs/view.php?id=3123

Issue History

Date Modified Username Field Change
2013-11-20 00:18 bratao New Issue
2013-11-20 00:18 bratao Status new => assigned
2013-11-20 00:18 bratao Assigned To => Bart Polot
2013-11-20 00:23 Christian Grothoff Target Version => 0.10.0
2013-11-21 18:09 Bart Polot Note Added: 0007667
2013-11-21 18:09 Bart Polot Status assigned => feedback
2013-11-21 18:59 bratao Note Added: 0007671
2013-11-21 18:59 bratao Status feedback => assigned
2013-11-21 19:01 Bart Polot Note Added: 0007672
2013-11-21 21:22 bratao Note Added: 0007674
2013-11-21 21:22 bratao Status assigned => resolved
2013-11-21 21:22 bratao Resolution open => fixed
2013-12-24 20:54 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service