View Issue Details

IDProjectCategoryView StatusLast Update
0002195GNUnetcore servicepublic2012-06-02 19:15
ReporterBart Polot Assigned ToChristian Grothoff  
PriorityurgentSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Product Version0.9.2 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002195: Core crash on test_dht_2dtorus shutdown
DescriptionCore was generated by `gnunet-service-core -c /tmp/test_dht_topo//10//gnunet-testing-configfht8TA'.
Program terminated with signal 6, Aborted.
#0 0x00007f28432f1975 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0x00007f28432f1975 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f28432f2deb in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f284440a4c9 in GNUNET_abort () at common_logging.c:273
No locals.
#3 0x00007f28444162c7 in idx_of (m=<optimized out>, key=<optimized out>) at container_multihashmap.c:135
No locals.
#4 idx_of (m=<optimized out>, key=<optimized out>) at container_multihashmap.c:132
No locals.
#5 0x00007f28444164d1 in GNUNET_CONTAINER_multihashmap_get (map=0x0, key=0xcce020) at container_multihashmap.c:170
        e = <optimized out>
#6 0x0000000000405b52 in find_neighbour (peer=<optimized out>) at gnunet-service-core_neighbours.c:132
No locals.
#7 GSC_NEIGHBOURS_transmit (target=<optimized out>, msg=0xcce060, timeout=...) at gnunet-service-core_neighbours.c:454
        me = <optimized out>
        n = 0x7
        msize = <optimized out>
        __FUNCTION__ = "GSC_NEIGHBOURS_transmit"
#8 0x0000000000406871 in send_key (kx=0xcce020) at gnunet-service-core_kx.c:1244
        __FUNCTION__ = "send_key"
#9 0x00007f2844431da2 in run_ready (ws=0xcb50e0, rs=0xcb5050) at scheduler.c:682
        p = <optimized out>
        pos = 0xcb8a30
        tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0xcb5050, write_ready = 0xcb50e0}
#10 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:870
        rs = 0xcb5050
        ws = 0xcb50e0
        timeout = <optimized out>
        ret = <optimized out>
        shc_int = 0xcb5170
        shc_term = 0xcb5cb0
        shc_quit = 0xcb5e10
        shc_hup = 0xcb5ec0
        shc_pipe = 0xcb5d60
        last_tr = 724
        busy_wait_warning = 0
        pr = 0xcb4c90
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#11 0x00007f284443b21a 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 = 0xcb3090 "/tmp/test_dht_topo//10//gnunet-testing-configfht8TA"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = <optimized out>
        skew_offset = 140733972841456
        skew_variance = 139810931440917
        clock_offset = <optimized out>
        sctx = {cfg = 0xcb2f60, server = 0xcb7150, addrs = 0x0, serviceName = 0x40b417 "core", task = 0x4028e0 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0,
---Type <return> to continue, or q <return> to quit---
          v4_allowed = 0xcb4ca0, v6_allowed = 0xcb4ce0, my_handlers = 0xcb72e0, addrlens = 0x0, lsocks = 0xcb4be0, timeout = {rel_value = 18446744073709551615}, ret = 1,
          ready_confirm_fd = -1, require_found = 1, match_uid = 1, match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE}
        cfg = 0xcb2f60
        service_options = {{shortName = 99 'c', name = 0x7f2844441f87 "config", argumentHelp = 0x7f2844441f8e "FILENAME",
            description = 0x7f2844442038 "use configuration file FILENAME", require_argument = 1, processor = 0x7f2844423b90 <GNUNET_GETOPT_set_string>, scls = 0x7fff2e758298}, {
            shortName = 100 'd', name = 0x7f28444436a0 "daemonize", argumentHelp = 0x0, description = 0x7f2844443ac0 "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x7f2844423b80 <GNUNET_GETOPT_set_one>, scls = 0x7fff2e7582cc}, {shortName = 104 'h', name = 0x7f2844441fa2 "help", argumentHelp = 0x0,
            description = 0x7f2844441f97 "print this help", require_argument = 0, processor = 0x7f2844423810 <GNUNET_GETOPT_format_help_>, scls = 0x40b417}, {shortName = 76 'L',
            name = 0x7f2844441fa7 "log", argumentHelp = 0x7f2844441fab "LOGLEVEL", description = 0x7f2844442058 "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x7f2844423b90 <GNUNET_GETOPT_set_string>, scls = 0x7fff2e7582a0}, {shortName = 108 'l', name = 0x7f2844441fb4 "logfile",
            argumentHelp = 0x7f284443eefe "LOGFILE", description = 0x7f2844442080 "configure logging to write logs to LOGFILE", require_argument = 1,
            processor = 0x7f2844423b90 <GNUNET_GETOPT_set_string>, scls = 0x7fff2e7582a8}, {shortName = 118 'v', name = 0x7f2844441fbc "version", argumentHelp = 0x0,
            description = 0x7f2844441fc4 "print the version number", require_argument = 0, processor = 0x7f28444237e0 <GNUNET_GETOPT_print_version_>, scls = 0x7f2844441fdd}, {
            shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#12 0x0000000000402729 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-core.c:116
No locals.
Steps To ReproduceRun test_dht_2dtorus in a loop.
Additional InformationHappens rarely (5-10%)
TagsNo tags attached.

Activities

Christian Grothoff

2012-03-09 14:12

manager   ~0005586

Right now, the test doesn't run properly at all, so I can't reproduce the error:

Hostkeys created Progress: [0%...25%...50%...75%...100%]
Peers started Progress: [0%...25%...50%...75%...100%]
Peer connection Progress: [0%.......25%.......50%.......75%.......100%]
Mar 09 14:12:01-060542 test_dht_topo-17900 ERROR Peers not found (hostkey file changed?)
Mar 09 14:12:01-069320 dht-18014 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-070086 dht-17956 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-073744 dht-18011 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-078575 dht-17950 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-078574 dht-17967 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-081681 dht-17946 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-085627 dht-17986 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-088761 dht-17969 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:01-096533 dht-17958 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:03-069208 dht-17974 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:03-069984 dht-17952 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:03-072244 dht-17963 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:03-082208 dht-18263 ERROR Assertion failed at statistics_api.c:426.
Mar 09 14:12:03-268854 test_dht_topo-17900 WARNING ID 1 not found!
Mar 09 14:12:03-268872 test_dht_topo-17900 WARNING ID 2 not found!
Mar 09 14:12:03-268878 test_dht_topo-17900 WARNING ID far not found!
Fail

Is this what you see as well? If not, could you find out what's wrong with the test?

Christian Grothoff

2012-03-09 14:24

manager   ~0005587

I've fixed the original issue in SVN 20409 (2nd retry-send-key task added, which overrode the original task and then was never canceled). However, the DHT test failure remains open (but thats another issue which I'll file separately).

Issue History

Date Modified Username Field Change
2012-03-05 17:46 Bart Polot New Issue
2012-03-05 17:46 Bart Polot Status new => assigned
2012-03-05 17:46 Bart Polot Assigned To => Christian Grothoff
2012-03-09 00:36 Christian Grothoff Priority normal => urgent
2012-03-09 00:36 Christian Grothoff Target Version => 0.9.3
2012-03-09 14:12 Christian Grothoff Note Added: 0005586
2012-03-09 14:13 Christian Grothoff Status assigned => feedback
2012-03-09 14:13 Christian Grothoff Assigned To Christian Grothoff => Bart Polot
2012-03-09 14:13 Christian Grothoff Status feedback => assigned
2012-03-09 14:13 Christian Grothoff Status assigned => feedback
2012-03-09 14:23 Christian Grothoff Assigned To Bart Polot => Christian Grothoff
2012-03-09 14:23 Christian Grothoff Status feedback => assigned
2012-03-09 14:24 Christian Grothoff Note Added: 0005587
2012-03-09 14:24 Christian Grothoff Status assigned => resolved
2012-03-09 14:24 Christian Grothoff Fixed in Version => 0.9.3
2012-03-09 14:24 Christian Grothoff Resolution open => fixed
2012-06-02 19:15 Christian Grothoff Status resolved => closed