View Issue Details

IDProjectCategoryView StatusLast Update
0003145GNUnetfile-sharing servicepublic2013-11-29 14:14
ReporterBart Polot Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionduplicate 
Product VersionGit master 
Target VersionGit master 
Summary0003145: FS crashes when mesh crashes
DescriptionWhen mesh doesn't I have not seen this behavior.

(gdb) bt
#0 0x00007f46f2936709 in GNUNET_CONTAINER_multihashmap_size (map=0xdf0adba0df0adba) at container_multihashmap.c:263
#1 0x0000000000418efc in GSF_mesh_query_cancel (sr=0x23bb580) at gnunet-service-fs_mesh_client.c:623
#2 0x00000000004123b3 in clean_request (cls=0x0, key=0x23beb20, value=0x23beb20) at gnunet-service-fs_pr.c:603
#3 0x00007f46f2936934 in GNUNET_CONTAINER_multihashmap_iterate (map=0x238f7b0, it=0x4122e3 <clean_request>,
    it_cls=0x0) at container_multihashmap.c:340
#4 0x00000000004156f0 in GSF_pending_request_done_ () at gnunet-service-fs_pr.c:1760
#5 0x0000000000405179 in shutdown_task (cls=0x0, tc=0x7fff02f9ee70) at gnunet-service-fs.c:492
#6 0x00007f46f295a7fb in run_ready (rs=0x2391250, ws=0x23912e0) at scheduler.c:593
#7 0x00007f46f295b089 in GNUNET_SCHEDULER_run (task=0x7f46f296721c <service_task>, task_cls=0x7fff02f9f210)
    at scheduler.c:808
#8 0x00007f46f2968e4a in GNUNET_SERVICE_run (argc=3, argv=0x7fff02f9f488, service_name=0x41af8b "fs",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x40556c <run>, task_cls=0x0) at service.c:1478
#9 0x00000000004057d7 in main (argc=3, argv=0x7fff02f9f488) at gnunet-service-fs.c:721
(gdb)
Steps To ReproduceRun ./test_gnunet_service_fs_p2p_mesh with r30973. Sometimes mesh crashes (working on it) taking fs down with it.
Additional Information(gdb) bt full
#0 0x00007f46f2936709 in GNUNET_CONTAINER_multihashmap_size (map=0xdf0adba0df0adba) at container_multihashmap.c:263
No locals.
#1 0x0000000000418efc in GSF_mesh_query_cancel (sr=0x23bb580) at gnunet-service-fs_mesh_client.c:623
        mh = 0x23b9910
        p = 0x41389c <mesh_reply_proc>
        __FUNCTION__ = "GSF_mesh_query_cancel"
#2 0x00000000004123b3 in clean_request (cls=0x0, key=0x23beb20, value=0x23beb20) at gnunet-service-fs_pr.c:603
        pr = 0x23beb20
        cont = 0x23b9d10
        __FUNCTION__ = "clean_request"
#3 0x00007f46f2936934 in GNUNET_CONTAINER_multihashmap_iterate (map=0x238f7b0, it=0x4122e3 <clean_request>,
    it_cls=0x0) at container_multihashmap.c:340
        sme = 0x23b42e0
        nxt = 0x0
        count = 0
        i = 9709
        me = {sme = 0x23b42e0, bme = 0x23b42e0}
        kc = {bits = {4056721016, 32582, 37461264, 0, 49933840, 32767, 4069898100, 32582, 37461936, 0, 24, 0,
            49933872, 32767, 4074338018, 979}}
        __FUNCTION__ = "GNUNET_CONTAINER_multihashmap_iterate"
#4 0x00000000004156f0 in GSF_pending_request_done_ () at gnunet-service-fs_pr.c:1760
No locals.
#5 0x0000000000405179 in shutdown_task (cls=0x0, tc=0x7fff02f9ee70) at gnunet-service-fs.c:492
No locals.
#6 0x00007f46f295a7fb in run_ready (rs=0x2391250, ws=0x23912e0) at scheduler.c:593
        p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN
        pos = 0x23b9970
        tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0x2391250, write_ready = 0x23912e0}
        __FUNCTION__ = "run_ready"
#7 0x00007f46f295b089 in GNUNET_SCHEDULER_run (task=0x7f46f296721c <service_task>, task_cls=0x7fff02f9f210)
    at scheduler.c:808
        rs = 0x2391250
        ws = 0x23912e0
        timeout = {rel_value_us = 0}
        ret = 5
        shc_int = 0x2391c40
        shc_term = 0x2391d00
        shc_quit = 0x2391e80
        shc_hup = 0x2391f40
        shc_pipe = 0x2391dc0
        last_tr = 1164
        busy_wait_warning = 1
        pr = 0x2394010
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#8 0x00007f46f2968e4a in GNUNET_SERVICE_run (argc=3, argv=0x7fff02f9f488, service_name=0x41af8b "fs",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x40556c <run>, task_cls=0x0) at service.c:1478
        err = 0
        ret = 3
        cfg_fn = 0x23888a0 "~/.gnunet/gnunet.conf"
        opt_cfg_fn = 0x2388ae0 "/tmp/testbedK1pB1c/0/config"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = 4216172
        skew_offset = 139942719293069
        skew_variance = 1
        clock_offset = 139942719336997
        sctx = {cfg = 0x2388880, server = 0x2392220, addrs = 0x0, service_name = 0x41af8b "fs",
          task = 0x40556c <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x23a0410,
          v6_allowed = 0x23911f0, my_handlers = 0x2396ad0, addrlens = 0x0, lsocks = 0x2391160, 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}
---Type <return> to continue, or q <return> to quit---
        cfg = 0x2388880
        xdg = 0x0
        service_options = {{shortName = 99 'c', name = 0x7f46f2975ead "config",
            argumentHelp = 0x7f46f2975eb4 "FILENAME",
            description = 0x7f46f2975ec0 "use configuration file FILENAME", require_argument = 1,
            processor = 0x7f46f29494c4 <GNUNET_GETOPT_set_string>, scls = 0x7fff02f9f2c8}, {shortName = 100 'd',
            name = 0x7f46f2975ee0 "daemonize", argumentHelp = 0x0,
            description = 0x7f46f2975ef0 "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x7f46f2949497 <GNUNET_GETOPT_set_one>, scls = 0x7fff02f9f2b4}, {shortName = 104 'h',
            name = 0x7f46f2975f14 "help", argumentHelp = 0x0, description = 0x7f46f2975f19 "print this help",
            require_argument = 0, processor = 0x7f46f2948f5e <GNUNET_GETOPT_format_help_>, scls = 0x0}, {
            shortName = 76 'L', name = 0x7f46f2975f29 "log", argumentHelp = 0x7f46f2975f2d "LOGLEVEL",
            description = 0x7f46f2975f38 "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x7f46f29494c4 <GNUNET_GETOPT_set_string>, scls = 0x7fff02f9f2c0}, {shortName = 108 'l',
            name = 0x7f46f2975f5a "logfile", argumentHelp = 0x7f46f2975f62 "LOGFILE",
            description = 0x7f46f2975f70 "configure logging to write logs to LOGFILE", require_argument = 1,
            processor = 0x7f46f29494c4 <GNUNET_GETOPT_set_string>, scls = 0x7fff02f9f2b8}, {shortName = 118 'v',
            name = 0x7f46f2975f9b "version", argumentHelp = 0x0,
            description = 0x7f46f2975fa3 "print the version number", require_argument = 0,
            processor = 0x7f46f2948f18 <GNUNET_GETOPT_print_version_>, scls = 0x7f46f2975fbc}, {
            shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0,
            processor = 0x0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#9 0x00000000004057d7 in main (argc=3, argv=0x7fff02f9f488) at gnunet-service-fs.c:721
No locals.
(gdb)
TagsNo tags attached.

Relationships

duplicate of 0003133 closedChristian Grothoff Segmentation fault in GSF_mesh_query_cancel 

Activities

Bart Polot

2013-11-29 14:13

manager   ~0007746

Sorry, duplicate of 0003133.

Issue History

Date Modified Username Field Change
2013-11-29 14:11 Bart Polot New Issue
2013-11-29 14:11 Bart Polot Status new => assigned
2013-11-29 14:11 Bart Polot Assigned To => Christian Grothoff
2013-11-29 14:13 Bart Polot Note Added: 0007746
2013-11-29 14:13 Bart Polot Status assigned => closed
2013-11-29 14:13 Bart Polot Resolution open => duplicate
2013-11-29 14:14 Bart Polot Relationship added duplicate of 0003133