View Issue Details

IDProjectCategoryView StatusLast Update
0002293GNUnettesting librarypublic2012-06-02 19:15
ReporterBart Polot Assigned ToBart Polot  
PriorityhighSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002293: Testing crashes on startup
Description[bart@ranger ~/g/src/nse]$ ./gnunet-nse-profiler -c nse_profiler_test.conf
Hostkeys created Progress: [0%........25%........50%........75%........100%]
Peers started Progress: [0%........25%........50%........75%........100%]
May 02 11:24:18-838645 nse-profiler-450 ERROR Assertion failed at connection.c:945.
Aborted (core dumped)
[bart@ranger ~/g/src/nse]$

(gdb) bt full
#0 0x00007f48b99eac35 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f48b99ec0b8 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f48bb850829 in GNUNET_abort () at common_logging.c:273
No locals.
#3 0x00007f48bb85768d in GNUNET_CONNECTION_destroy (connection=0x185ad00) at connection.c:944
        pos = <optimized out>
        __FUNCTION__ = "GNUNET_CONNECTION_destroy"
#4 0x00007f48bb84ea84 in GNUNET_CLIENT_disconnect (client=0x185add0) at client.c:409
No locals.
#5 0x00007f48bb217bc5 in receive_info (cls=0x185ac50, msg=<optimized out>) at core_api_iterate_peers.c:83
        request_context = 0x185ac50
        connect_message = <optimized out>
        ats_count = <optimized out>
        msize = <optimized out>
        __FUNCTION__ = "receive_info"
#6 0x00007f48bb217de9 in GNUNET_CORE_is_peer_connected (cfg=<optimized out>, peer=0x1619eb0, peer_cb=peer_cb@entry=0x7f48bb41e680 <core_initial_iteration>,
    cb_cls=cb_cls@entry=0x185abd0) at core_api_iterate_peers.c:203
        request_context = 0x185ac50
        client = 0x185add0
        __FUNCTION__ = "GNUNET_CORE_is_peer_connected"
#7 0x00007f48bb424a67 in GNUNET_TESTING_daemons_connect (d1=0x154c6f0, d2=0x1619dd0, timeout=..., max_connect_attempts=<optimized out>, send_hello=send_hello@entry=1,
    cb=cb@entry=0x7f48bb426df0 <internal_connect_notify>, cb_cls=cb_cls@entry=0x1853640) at testing.c:2221
        ctx = 0x185abd0
        __FUNCTION__ = "GNUNET_TESTING_daemons_connect"
#8 0x00007f48bb427c62 in schedule_connect (cls=0x1853640, tc=<optimized out>) at testing_group.c:3738
        connect_context = 0x1853640
        pg = <optimized out>
        __FUNCTION__ = "schedule_connect"
#9 0x00007f48bb875e8a in run_ready (ws=0x1026dc0, rs=0x1026d30) at scheduler.c:602
        p = <optimized out>
        pos = 0x1853680
        tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x1026d30, write_ready = 0x1026dc0}
#10 GNUNET_SCHEDULER_run (task=task@entry=0x7f48bb86f4e0 <program_main>, task_cls=task_cls@entry=0x7fffeb4ffa60) at scheduler.c:790
        rs = 0x1026d30
        ws = <optimized out>
        timeout = <optimized out>
        ret = <optimized out>
        shc_int = 0x102f0d0
        shc_term = 0x102f180
        shc_quit = 0x1028aa0
        shc_hup = 0x1028b50
        shc_pipe = 0x102f230
        last_tr = 3741
        busy_wait_warning = 0
        pr = 0x1026ef0
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#11 0x00007f48bb86fc09 in GNUNET_PROGRAM_run2 (argc=<optimized out>, argc@entry=3, argv=argv@entry=0x7fffeb4ffd18, binaryName=binaryName@entry=0x403b35 "nse-profiler",
    binaryHelp=binaryHelp@entry=0x404168 "Measure quality and performance of the NSE service.", options=options@entry=0x604b40, task=task@entry=0x4017f0 <run>,
    task_cls=task_cls@entry=0x0, run_without_scheduler=run_without_scheduler@entry=0) at program.c:255
        cc = {args = 0x7fffeb4ffd30, cfgfile = 0x1026ec0 "nse_profiler_test.conf", task = 0x4017f0 <run>, task_cls = 0x0, cfg = 0x1025c20}
        path = <optimized out>
        loglev = 0x0
        logfile = 0x0
        ret = 3
        cnt = <optimized out>
        skew_offset = 140733193388033
        skew_variance = 139950367146352
        clock_offset = <optimized out>
        cfg = 0x1025c20
        defoptions = {{shortName = 99 'c', name = 0x7f48bb886747 "config", argumentHelp = 0x7f48bb88674e "FILENAME",
            description = 0x7f48bb8867f8 "use configuration file FILENAME", require_argument = 1, processor = 0x7f48bb868150 <GNUNET_GETOPT_set_string>, scls = 0x7fffeb4ffa68}, {
            shortName = 104 'h', name = 0x7f48bb886762 "help", argumentHelp = 0x0, description = 0x7f48bb886757 "print this help", require_argument = 0,
            processor = 0x7f48bb867df0 <GNUNET_GETOPT_format_help_>, scls = 0x404168}, {shortName = 76 'L', name = 0x7f48bb886767 "log", argumentHelp = 0x7f48bb88676b "LOGLEVEL",
            description = 0x7f48bb886818 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7f48bb868150 <GNUNET_GETOPT_set_string>, scls = 0x7fffeb4ffa40},
          {shortName = 108 'l', name = 0x7f48bb886774 "logfile", argumentHelp = 0x7f48bb8839be "LOGFILE",
            description = 0x7f48bb886840 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x7f48bb868150 <GNUNET_GETOPT_set_string>,
            scls = 0x7fffeb4ffa48}, {shortName = 118 'v', name = 0x7f48bb88677c "version", argumentHelp = 0x0, description = 0x7f48bb886784 "print the version number",
            require_argument = 0, processor = 0x7f48bb867dc0 <GNUNET_GETOPT_print_version_>, scls = 0x7f48bb88679d}}
        allopts = 0x1026d30
        gargs = 0x6 <Address 0x6 out of bounds>
        lpfx = 0x1026ee0 "\360n\002\001"
        spc = <optimized out>
#12 0x00007f48bb86fd6a in GNUNET_PROGRAM_run (argc=argc@entry=3, argv=argv@entry=0x7fffeb4ffd18, binaryName=binaryName@entry=0x403b35 "nse-profiler",
    binaryHelp=binaryHelp@entry=0x404168 "Measure quality and performance of the NSE service.", options=options@entry=0x604b40, task=task@entry=0x4017f0 <run>,
    task_cls=task_cls@entry=0x0) at program.c:289
No locals.
#13 0x00000000004016d4 in main (argc=3, argv=0x7fffeb4ffd18) at gnunet-nse-profiler.c:924
No locals.
(gdb)
Steps To ReproduceRun nse_profiler
TagsNo tags attached.

Activities

Christian Grothoff

2012-05-02 13:10

manager   ~0005765

Should be fixed in SVN 21221.

Issue History

Date Modified Username Field Change
2012-05-02 11:44 Bart Polot New Issue
2012-05-02 11:44 Bart Polot Status new => assigned
2012-05-02 11:44 Bart Polot Assigned To => Bart Polot
2012-05-02 13:10 Christian Grothoff Note Added: 0005765
2012-05-02 13:10 Christian Grothoff Status assigned => resolved
2012-05-02 13:10 Christian Grothoff Fixed in Version => 0.9.3
2012-05-02 13:10 Christian Grothoff Resolution open => fixed
2012-05-02 13:10 Christian Grothoff Target Version => 0.9.3
2012-06-02 19:15 Christian Grothoff Status resolved => closed