View Issue Details

IDProjectCategoryView StatusLast Update
0002351GNUnettransport servicepublic2012-06-02 19:15
ReporterMatthias Wachs Assigned ToMatthias Wachs  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002351: transport assertions
Description<bart_> May 14 15:00:20-533269 ats-25597 ERROR Assertion failed at gnunet-service-ats_addresses.c:602.
<bart_> May 14 15:00:20-533502 ats-25597 ERROR Assertion failed at gnunet-service-ats_scheduling.c:322.
<bart_> May 14 15:00:22-586715 transport-882 ERROR Assertion failed at gnunet-service-transport_neighbours.c:2167.
<bart_> gnunet-service-transport_neighbours.c:2167 is just a GNUNET_break(0)
TagsNo tags attached.

Activities

Bart Polot

2012-05-14 15:12

reporter   ~0005892

Some more, maybe related:

May 14 15:06:29-496994 util-scheduler-32532 ERROR Attempt to cancel dead task 0!
May 14 15:06:29-497099 transport-32532 ERROR Assertion failed at scheduler.c:918.



[bart@saturn ~/svn/gnunet/src/nse]$ gdb --core core.32532 /tmp/bartgnunet/bin/gnunet-service-transport
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/bartgnunet/bin/gnunet-service-transport...done.

warning: core file may not match specified executable file.
[New LWP 32532]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `gnunet-service-transport -c /tmp/nse-profiler//1147//gnunet-testing-configMfBTJ'.
Program terminated with signal 6, Aborted.
#0 0x00007f1e8aae0c35 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0x00007f1e8aae0c35 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f1e8aae20b8 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f1e8bf0e919 in GNUNET_abort () at common_logging.c:273
No locals.
#3 0x00007f1e8bf32eb0 in GNUNET_SCHEDULER_cancel (task=<optimized out>)
    at scheduler.c:884
        t = <optimized out>
        prev = <optimized out>
        p = <optimized out>
        to = <optimized out>
        ret = <optimized out>
        __FUNCTION__ = "GNUNET_SCHEDULER_cancel"
#4 0x000000000040a094 in transmit_send_continuation (cls=0x1bb6050, receiver=0x1bb06e8,
    success=-1) at gnunet-service-transport_neighbours.c:1062
        mq = 0x1bb6050
        n = 0x1bb0680
        __FUNCTION__ = "transmit_send_continuation"
#5 0x000000000040a297 in try_transmission_to_peer (n=n@entry=0x1bb0680)
    at gnunet-service-transport_neighbours.c:1140
        mq = 0x1bb6050
        timeout = <optimized out>
        __FUNCTION__ = "try_transmission_to_peer"
#6 0x000000000040b800 in master_task (cls=0x1bb0680, tc=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at gnunet-service-transport_neighbours.c:2271
        n = 0x1bb0680
        delay = {rel_value = 288073}
        __FUNCTION__ = "master_task"
#7 0x00007f1e8bf3424a in run_ready (ws=0x1bae180, rs=0x1bae0f0) at scheduler.c:602
        p = <optimized out>
        pos = 0x1bb3530
        tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x1bae0f0,
          write_ready = 0x1bae180}
#8 GNUNET_SCHEDULER_run (task=task@entry=0x7f1e8bf3b7f0 <service_task>,
    task_cls=task_cls@entry=0x7fffca2bd810) at scheduler.c:790
        rs = 0x1bae0f0
        ws = <optimized out>
        timeout = <optimized out>
        ret = <optimized out>
        shc_int = 0x1bae210
        shc_term = 0x1bafd60
        shc_quit = 0x1bafec0
        shc_hup = 0x1baff70
        shc_pipe = 0x1bafe10
        last_tr = 2447
        busy_wait_warning = 0
        pr = 0x1badd00
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
---Type <return> to continue, or q <return> to quit---
#9 0x00007f1e8bf3e2e7 in GNUNET_SERVICE_run (argc=<optimized out>,
    argv=<optimized out>, service_name=service_name@entry=0x412dcf "transport",
    options=options@entry=GNUNET_SERVICE_OPTION_NONE, task=task@entry=0x402fa0 <run>,
    task_cls=task_cls@entry=0x0) at service.c:1773
        err = 0
        cfg_fn = 0x1bac090 "/tmp/nse-profiler//1147//gnunet-testing-configMfBTJp"
        loglev = 0x0
        logfile = 0x0
        do_daemonize = 0
        i = <optimized out>
        skew_offset = 139769173505288
        skew_variance = 140736585259424
        clock_offset = <optimized out>
        sctx = {cfg = 0x1babf60, server = 0x1bb0080, addrs = 0x0,
          service_name = 0x412dcf "transport", task = 0x402fa0 <run>, task_cls = 0x0,
          v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x1badd10,
          v6_allowed = 0x1badd50, my_handlers = 0x1bb0100, addrlens = 0x0,
          lsocks = 0x1badc80, shutdown_task = 4, 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 = 0x1babf60
        service_options = {{shortName = 99 'c', name = 0x7f1e8bf454e7 "config",
            argumentHelp = 0x7f1e8bf454ee "FILENAME",
            description = 0x7f1e8bf45598 "use configuration file FILENAME",
---Type <return> to continue, or q <return> to quit---
            require_argument = 1, processor = 0x7f1e8bf26330 <GNUNET_GETOPT_set_string>,
            scls = 0x7fffca2bd7e0}, {shortName = 100 'd',
            name = 0x7f1e8bf46cc0 "daemonize", argumentHelp = 0x0,
            description = 0x7f1e8bf470e0 "do daemonize (detach from terminal)",
            require_argument = 0, processor = 0x7f1e8bf26320 <GNUNET_GETOPT_set_one>,
            scls = 0x7fffca2bd7cc}, {shortName = 104 'h', name = 0x7f1e8bf45502 "help",
            argumentHelp = 0x0, description = 0x7f1e8bf454f7 "print this help",
            require_argument = 0,
            processor = 0x7f1e8bf25fd0 <GNUNET_GETOPT_format_help_>, scls = 0x0}, {
            shortName = 76 'L', name = 0x7f1e8bf45507 "log",
            argumentHelp = 0x7f1e8bf4550b "LOGLEVEL",
            description = 0x7f1e8bf455b8 "configure logging to use LOGLEVEL",
            require_argument = 1, processor = 0x7f1e8bf26330 <GNUNET_GETOPT_set_string>,
            scls = 0x7fffca2bd7e8}, {shortName = 108 'l',
            name = 0x7f1e8bf45514 "logfile", argumentHelp = 0x7f1e8bf426fe "LOGFILE",
            description = 0x7f1e8bf455e0 "configure logging to write logs to LOGFILE",
            require_argument = 1, processor = 0x7f1e8bf26330 <GNUNET_GETOPT_set_string>,
            scls = 0x7fffca2bd7f0}, {shortName = 118 'v',
            name = 0x7f1e8bf4551c "version", argumentHelp = 0x0,
            description = 0x7f1e8bf45524 "print the version number",
            require_argument = 0,
            processor = 0x7f1e8bf25fa0 <GNUNET_GETOPT_print_version_>,
            scls = 0x7f1e8bf4553d}, {shortName = 0 '\000', name = 0x0,
            argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0,
            scls = 0x0}}
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "GNUNET_SERVICE_run"
#10 0x0000000000402e89 in main (argc=<optimized out>, argv=<optimized out>)
    at gnunet-service-transport.c:646
No locals.
(gdb)

Matthias Wachs

2012-05-16 10:12

reporter   ~0005910

Assertion are fixed

Issue History

Date Modified Username Field Change
2012-05-14 15:06 Matthias Wachs New Issue
2012-05-14 15:06 Matthias Wachs Status new => assigned
2012-05-14 15:06 Matthias Wachs Assigned To => Matthias Wachs
2012-05-14 15:12 Bart Polot Note Added: 0005892
2012-05-16 10:12 Matthias Wachs Note Added: 0005910
2012-05-16 10:12 Matthias Wachs Status assigned => resolved
2012-05-16 10:12 Matthias Wachs Resolution open => fixed
2012-05-16 18:58 Christian Grothoff Fixed in Version => 0.9.3
2012-05-16 18:58 Christian Grothoff Target Version => 0.9.3
2012-06-02 19:15 Christian Grothoff Status resolved => closed