View Issue Details

IDProjectCategoryView StatusLast Update
0002196GNUnetstatistics servicepublic2012-06-02 19:15
ReporterBart Polot Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002196: gnunet-service-statistics always crashes during test_dht_2dtorus
Description[bart@saturn ~/svn/gnunet/src/dht]$ ./test_dht_2dtorus
Hostkeys created Progress: [0%...25%...50%...75%...100%]
Peers started Progress: [0%...25%...50%...75%...100%]
Peer connection Progress: [0%.......25%.......50%.......75%.......100%]
Mär 05 18:35:09-398685 test_dht_topo-25312 INFO FOUND 2!
Mär 05 18:35:10-349826 test_dht_topo-25312 INFO FOUND 1!
Mär 05 18:35:10-349873 test_dht_topo-25312 INFO FOUND FAR!
Mär 05 18:35:10-349899 test_dht_topo-25312 INFO disconnecting peers
Mär 05 18:35:10-349974 test_dht_topo-25312 INFO Ending test.
Mar 05 18:35:10-365851 dht-25366 INFO DHT Shutting down!
Mar 05 18:35:10-366375 dht-25366 INFO DHT Shut down!
Mar 05 18:35:10-366796 dht-25364 INFO DHT Shutting down!
Mar 05 18:35:10-367736 dht-25364 INFO DHT Shut down!
Mar 05 18:35:10-370756 dht-25353 INFO DHT Shutting down!
Mar 05 18:35:10-374785 dht-25402 INFO DHT Shutting down!
Mar 05 18:35:10-374977 dht-25353 INFO DHT Shut down!
Mar 05 18:35:10-375359 dht-25402 INFO DHT Shut down!
Mar 05 18:35:10-377781 dht-25407 INFO DHT Shutting down!
Mar 05 18:35:10-378385 dht-25407 INFO DHT Shut down!
Mar 05 18:35:10-384823 dht-25387 INFO DHT Shutting down!
Mar 05 18:35:10-385422 dht-25387 INFO DHT Shut down!
Mar 05 18:35:10-378542 dht-25375 INFO DHT Shutting down!
Mar 05 18:35:10-386902 dht-25375 INFO DHT Shut down!
Mar 05 18:35:10-388490 dht-25383 INFO DHT Shutting down!
Mar 05 18:35:10-389056 dht-25383 INFO DHT Shut down!
Mar 05 18:35:10-380664 dht-25464 INFO DHT Shutting down!
Mar 05 18:35:10-391581 dht-25362 INFO DHT Shutting down!
Mar 05 18:35:10-387027 dht-25413 INFO DHT Shutting down!
Mar 05 18:35:10-392249 dht-25362 INFO DHT Shut down!
Mar 05 18:35:10-387828 dht-25369 INFO DHT Shutting down!
Mar 05 18:35:10-401870 dht-25369 INFO DHT Shut down!
Mar 05 18:35:10-390541 dht-25357 INFO DHT Shutting down!
Mar 05 18:35:10-404213 dht-25357 INFO DHT Shut down!
Mar 05 18:35:10-391603 dht-25464 INFO DHT Shut down!
Mar 05 18:35:10-391607 dht-25379 INFO DHT Shutting down!
Mar 05 18:35:10-392471 dht-25413 INFO DHT Shut down!
Mar 05 18:35:10-393104 dht-25360 INFO DHT Shutting down!
Mar 05 18:35:10-408378 dht-25350 INFO DHT Shutting down!
Mar 05 18:35:10-408898 dht-25360 INFO DHT Shut down!
Mar 05 18:35:10-408985 dht-25379 INFO DHT Shut down!
Mar 05 18:35:10-409719 dht-25350 INFO DHT Shut down!
Mär 05 18:35:10-558006 test_dht_topo-25312 INFO All peers successfully shut down!
[bart@saturn ~/svn/gnunet/src/dht]$ ls core* | wc
     16 16 176
[bart@saturn ~/svn/gnunet/src/dht]$ # ALL services have crashed!


Core was generated by `gnunet-service-statistics -c /tmp/test_dht_topo//1//gnunet-testing-configLcDy9o'.
Program terminated with signal 11, Segmentation fault.
#0 GNUNET_SERVER_notification_context_destroy (nc=0x0) at server_nc.c:234
234 while (NULL != (pos = nc->clients))
(gdb) bt full
#0 GNUNET_SERVER_notification_context_destroy (nc=0x0) at server_nc.c:234
        pos = <optimized out>
        pml = <optimized out>
        __FUNCTION__ = "GNUNET_SERVER_notification_context_destroy"
#1 0x00007f3284b72524 in do_shutdown () at gnunet-service-statistics.c:675
        we = <optimized out>
        se = <optimized out>
        __FUNCTION__ = "do_shutdown"
#2 0x00007f328452bd79 in GNUNET_SERVER_destroy (s=0x7f32854f0150) at server.c:575
        hpos = <optimized out>
        npos = 0x7f32854f0360
        i = <optimized out>
        __FUNCTION__ = "GNUNET_SERVER_destroy"
#3 0x00007f328452ab1b in GNUNET_SERVER_client_disconnect (client=0x7f32854f05e0) at server.c:1220
        prev = <optimized out>
        pos = <optimized out>
        server = <optimized out>
        n = 0x7f32854f0360
        rc = 2
        __FUNCTION__ = "GNUNET_SERVER_client_disconnect"
#4 0x00007f328452bd25 in GNUNET_SERVER_destroy (s=0x7f32854f0150) at server.c:567
        hpos = <optimized out>
        npos = <optimized out>
        i = <optimized out>
        __FUNCTION__ = "GNUNET_SERVER_destroy"
#5 0x00007f3284528cd2 in run_ready (ws=0x7f32854ee0e0, rs=0x7f32854ee050) at scheduler.c:682
        p = <optimized out>
        pos = 0x7f32854f01c0
        tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0x7f32854ee050, write_ready = 0x7f32854ee0e0}
#6 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:870
        rs = 0x7f32854ee050
        ws = 0x7f32854ee0e0
        timeout = <optimized out>
        ret = <optimized out>
        shc_int = 0x7f32854ee170
        shc_term = 0x7f32854eecd0
        shc_quit = 0x7f32854eee30
        shc_hup = 0x7f32854eeee0
        shc_pipe = 0x7f32854eed80
        last_tr = 295
        busy_wait_warning = 1
        pr = 0x7f32854edc90
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#7 0x00007f3284532c8b in GNUNET_SERVICE_run (argc=<optimized out>, argv=<optimized out>, serviceName=<optimized out>,
    opt=<optimized out>, task=<optimized out>, task_cls=<optimized out>) at service.c:1712
        err = 0
        cfg_fn = 0x7f32854ec090 "/tmp/test_dht_topo//1//gnunet-testing-configLcDy9o"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = <optimized out>
        skew_offset = 139854926832296
        skew_variance = 139854951475792
        clock_offset = <optimized out>
        sctx = {cfg = 0x7f32854ebf60, server = 0x7f32854f0150, addrs = 0x0, serviceName = 0x7f3284b74043 "statistics",
          task = 0x7f3284b71c00 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x7f32854edca0,
          v6_allowed = 0x7f32854edce0, my_handlers = 0x7f32854f02e0, addrlens = 0x0, lsocks = 0x7f32854fa250, timeout = {
            rel_value = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 0,
          match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE}
        cfg = 0x7f32854ebf60
        service_options = {{shortName = 99 'c', name = 0x7f328453a167 "config",
            argumentHelp = 0x7f328453a16e "FILENAME", description = 0x7f328453a218 "use configuration file FILENAME",
            require_argument = 1, processor = 0x7f3284519370 <GNUNET_GETOPT_set_string>, scls = 0x7fffaff3fc98}, {
            shortName = 100 'd', name = 0x7f328453b880 "daemonize", argumentHelp = 0x0,
            description = 0x7f328453bca0 "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x7f3284519330 <GNUNET_GETOPT_set_one>, scls = 0x7fffaff3fccc}, {shortName = 104 'h',
            name = 0x7f328453a182 "help", argumentHelp = 0x0, description = 0x7f328453a177 "print this help",
            require_argument = 0, processor = 0x7f3284518f40 <GNUNET_GETOPT_format_help_>, scls = 0x7f3284b74043}, {
            shortName = 76 'L', name = 0x7f328453a187 "log", argumentHelp = 0x7f328453a18b "LOGLEVEL",
            description = 0x7f328453a238 "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x7f3284519370 <GNUNET_GETOPT_set_string>, scls = 0x7fffaff3fca0}, {shortName = 108 'l',
            name = 0x7f328453a194 "logfile", argumentHelp = 0x7f32845370de "LOGFILE",
            description = 0x7f328453a260 "configure logging to write logs to LOGFILE", require_argument = 1,
            processor = 0x7f3284519370 <GNUNET_GETOPT_set_string>, scls = 0x7fffaff3fca8}, {shortName = 118 'v',
            name = 0x7f328453a19c "version", argumentHelp = 0x0,
            description = 0x7f328453a1a4 "print the version number", require_argument = 0,
            processor = 0x7f3284518ef0 <GNUNET_GETOPT_print_version_>, scls = 0x7f328453a1bd}, {shortName = 0 '\000',
            name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#8 0x00007f3284b717ec in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-statistics.c:796
No locals.
Steps To ReproduceRun test_dht_2dtorus
Additional InformationAFAIK, it didn't happen last week.
TagsNo tags attached.

Activities

Christian Grothoff

2012-03-05 22:01

manager   ~0005569

Should be fixed in SVN 20293.

Issue History

Date Modified Username Field Change
2012-03-05 18:38 Bart Polot New Issue
2012-03-05 18:38 Bart Polot Status new => assigned
2012-03-05 18:38 Bart Polot Assigned To => Christian Grothoff
2012-03-05 22:01 Christian Grothoff Note Added: 0005569
2012-03-05 22:01 Christian Grothoff Status assigned => resolved
2012-03-05 22:01 Christian Grothoff Fixed in Version => 0.9.3
2012-03-05 22:01 Christian Grothoff Resolution open => fixed
2012-03-05 22:01 Christian Grothoff Product Version 0.9.2 => Git master
2012-03-05 22:01 Christian Grothoff Target Version => 0.9.3
2012-06-02 19:15 Christian Grothoff Status resolved => closed