View Issue Details

IDProjectCategoryView StatusLast Update
0001750GNUnetVPN servicepublic2011-09-07 13:38
Reporterroot Assigned Totoelke  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product VersionGit master 
Summary0001750: crash in DNS service when cleaning up DHT API (dht_api.c:586 / gnunet-service-dns.c:1060)
DescriptionCore was generated by `gnunet-service-dns -c /home/grothoff/.gnunet/gnunet.conf -l ~/.gnunet//dns-logs'.
Program terminated with signal 6, Aborted.
#0 0x00007ff295a68405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) ba
#0 0x00007ff295a68405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ff295a6b680 in abort () at abort.c:92
#2 0x00007ff2964472a7 in GNUNET_DHT_disconnect (handle=0xd3ad80) at dht_api.c:586
#3 0x000000000040597b in cleanup_task (cls=0x0, tc=0x7fffe0d8e300) at gnunet-service-dns.c:1060
#4 0x00007ff29667b49b in run_ready (rs=0xd39a90, ws=0xd39d80) at scheduler.c:659
#5 0x00007ff29667b958 in GNUNET_SCHEDULER_run (task=0x7ff2966826d2 <service_task>, task_cls=0x7fffe0d8e5b0) at scheduler.c:836
#6 0x00007ff2966836bc in GNUNET_SERVICE_run (argc=5, argv=0x7fffe0d8e7d8, serviceName=0x4074f8 "dns", opt=GNUNET_SERVICE_OPTION_NONE, task=0x406331 <run>, task_cls=0x0) at service.c:1639
#7 0x000000000040649f in main (argc=5, argv=0x7fffe0d8e7d8) at gnunet-service-dns.c:1352
(gdb) bt full
#0 0x00007ff295a68405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1 0x00007ff295a6b680 in abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {0, 4202064, 140679873008544, 13847856, 36, 140679869352864, 140679890704832, 140679879887646,
              4294967295, 0, 1, 2114544, 0, 0, 0, 140679879872512}}, sa_flags = -1765103838, sa_restorer = 0xfefefefe00000001}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ff2964472a7 in GNUNET_DHT_disconnect (handle=0xd3ad80) at dht_api.c:586
        pm = 0x7ff296ebe1c8
#3 0x000000000040597b in cleanup_task (cls=0x0, tc=0x7fffe0d8e300) at gnunet-service-dns.c:1060
No locals.
#4 0x00007ff29667b49b in run_ready (rs=0xd39a90, ws=0xd39d80) at scheduler.c:659
        p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN
        pos = 0xd3d140
        tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0xd39a90, write_ready = 0xd39d80}
#5 0x00007ff29667b958 in GNUNET_SCHEDULER_run (task=0x7ff2966826d2 <service_task>, task_cls=0x7fffe0d8e5b0) at scheduler.c:836
        rs = 0xd39a90
        ws = 0xd39d80
        timeout = {rel_value = 0}
        ret = 0
        shc_int = 0xd39e10
        shc_term = 0xd39ec0
        shc_quit = 0xd3a020
        shc_hup = 0xd3a0d0
        shc_pipe = 0xd39f70
        last_tr = 129
        busy_wait_warning = 1
        pr = 0xd399f0
        c = 0 '\000'
#6 0x00007ff2966836bc in GNUNET_SERVICE_run (argc=5, argv=0x7fffe0d8e7d8, serviceName=0x4074f8 "dns", opt=GNUNET_SERVICE_OPTION_NONE, task=0x406331 <run>, task_cls=0x0) at service.c:1639
        err = 0
        cfg_fn = 0xd33070 "/home/grothoff/.gnunet/gnunet.conf"
        loglev = 0xd32f00 "WARNING"
        logfile = 0xd32f20 "~/.gnunet//dns-logs"
        do_daemonize = 0
        i = 4219697
        skew_offset = 4294967297
        skew_variance = 140679888676642
        clock_offset = 140736965699544
        sctx = {cfg = 0xd32f40, server = 0xd3a1a0, addrs = 0xd32f60, serviceName = 0x4074f8 "dns", task = 0x406331 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0,
          v4_allowed = 0xd39a00, v6_allowed = 0xd39a40, my_handlers = 0xd32fe0, addrlens = 0xd39940, lsocks = 0x0, 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 = 0xd32f40
        service_options = {{shortName = 99 'c', name = 0x7ff29668839d "config", argumentHelp = 0x7ff2966883a4 "FILENAME", description = 0x7ff2966883b0 "use configuration file FILENAME",
            require_argument = 1, processor = 0x7ff296671ee6 <GNUNET_GETOPT_set_string>, scls = 0x7fffe0d8e660}, {shortName = 100 'd', name = 0x7ff2966883d0 "daemonize",
            argumentHelp = 0x0, description = 0x7ff2966883e0 "do daemonize (detach from terminal)", require_argument = 0, processor = 0x7ff296671eb9 <GNUNET_GETOPT_set_one>,
            scls = 0x7fffe0d8e64c}, {shortName = 104 'h', name = 0x7ff296688404 "help", argumentHelp = 0x0, description = 0x7ff296688409 "print this help", require_argument = 0,
            processor = 0x7ff296671909 <GNUNET_GETOPT_format_help_>, scls = 0x4074f8}, {shortName = 76 'L', name = 0x7ff296688419 "log", argumentHelp = 0x7ff29668841d "LOGLEVEL",
            description = 0x7ff296688428 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7ff296671ee6 <GNUNET_GETOPT_set_string>, scls = 0x7fffe0d8e658}, {
            shortName = 108 'l', name = 0x7ff29668844a "logfile", argumentHelp = 0x7ff296688452 "LOGFILE", description = 0x7ff296688460 "configure logging to write logs to LOGFILE",
            require_argument = 1, processor = 0x7ff296671ee6 <GNUNET_GETOPT_set_string>, scls = 0x7fffe0d8e650}, {shortName = 118 'v', name = 0x7ff29668848b "version",
            argumentHelp = 0x0, description = 0x7ff296688493 "print the version number", require_argument = 0, processor = 0x7ff2966718c0 <GNUNET_GETOPT_print_version_>,
---Type <return> to continue, or q <return> to quit---
            scls = 0x7ff2966884ac}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}}
#7 0x000000000040649f in main (argc=5, argv=0x7fffe0d8e7d8) at gnunet-service-dns.c:1352
No locals.
TagsNo tags attached.

Activities

toelke

2011-09-07 13:38

reporter   ~0004565

I have not observed/reproduced this bug. Closing it until further notice.

Issue History

Date Modified Username Field Change
2011-08-10 10:12 root New Issue
2011-09-07 13:38 toelke Note Added: 0004565
2011-09-07 13:38 toelke Status new => closed
2011-09-07 13:38 toelke Assigned To => toelke
2011-09-07 13:38 toelke Resolution open => unable to reproduce