View Issue Details

IDProjectCategoryView StatusLast Update
0002862GNUnettestbed servicepublic2013-12-24 20:54
ReporterBart Polot Assigned ToSree Harsha Totakura  
PriorityhighSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0002862: Testbed dies on connection phase
DescriptionApr 11 14:47:56-491200 gnunet-regex-profiler-2721 INFO All peers created successfully in 207 ms
Apr 11 14:47:56-851961 gnunet-regex-profiler-2721 INFO All peers started successfully in 360 ms
Apr 11 14:47:58-183459 gnunet-regex-profiler-2721 INFO Establishing links ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Apr 11 14:48:08-515386 gnunet-regex-profiler-2721 ERROR Assertion failed at testbed_api_operations.c:466.

466 GNUNET_assert (opq->active <= opq->max_active);

#3 0x00007fbd444eb531 in decide_capacity (opq=0x1eb4320, entry=0x214a0d0, ops_=0x7fffac0447f0, n_ops_=0x7fffac0447ec) at testbed_api_operations.c:466
466 GNUNET_assert (opq->active <= opq->max_active);
(gdb) p *opq
$1 = {wq_head = 0x214a0d0, wq_tail = 0x2149f60, rq_head = 0x0, rq_tail = 0x0, aq_head = 0x213a410, aq_tail = 0x2149df0, nq_head = 0x0, nq_tail = 0x0, active = 127, max_active = 64}
Steps To Reproducegnunet-regex-profiler -c regexprofiler.conf -d log -n 1000 -p 2 -s 1000 -t 36000000 -a 100 regex.hosts 100 100str.txt
Additional Information#0 0x00007fbd4221e1c9 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007fbd4221f5c8 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00007fbd44b270e4 in GNUNET_abort () at common_logging.c:293
No locals.
#3 0x00007fbd444eb531 in decide_capacity (opq=0x1eb4320, entry=0x214a0d0, ops_=0x7fffac0447f0, n_ops_=0x7fffac0447ec) at testbed_api_operations.c:466
        evict_entries = 0x7fffac0447f0
        ops = 0x2101c50
        op = 0x214a040
        n_ops = 0
        n_evict_entries = 0
        need = 1
        deficit = 32701
        rval = 1146004101
        __FUNCTION__ = "decide_capacity"
#4 0x00007fbd444eba3c in check_readiness (op=0x214a040) at testbed_api_operations.c:563
        evict_ops = 0x0
        ops = 0x0
        n_ops = 0
        n_evict_ops = 0
        i = 0
        __FUNCTION__ = "check_readiness"
#5 0x00007fbd444ebf21 in recheck_waiting (opq=0x1eb4320) at testbed_api_operations.c:697
        entry = 0x214a0d0
        entry2 = 0x214a240
#6 0x00007fbd444ebf8e in GNUNET_TESTBED_operation_queue_reset_max_active_ (queue=0x1eb4320, max_active=64) at testbed_api_operations.c:721
        entry = 0x0
#7 0x00007fbd444e8914 in GNUNET_TESTBED_set_num_parallel_overlay_connects_ (h=0x1ea8ee0, npoc=64) at testbed_api_hosts.c:1603
No locals.
#8 0x00007fbd444e8f32 in decide_npoc (h=0x1ea8ee0) at testbed_api_hosts.c:1697
        avg = {rel_value = 1205}
        sd = 3
        slot = 128
        nvals = 226
        __FUNCTION__ = "decide_npoc"
#9 0x00007fbd444e912c in GNUNET_TESTBED_update_time_slot_ (h=0x1ea8ee0, index=127, key=0x213ea00, time=..., failed=0) at testbed_api_hosts.c:1765
        slot = 0x1f0a508
#10 0x00007fbd444ef8fd in oprelease_overlay_connect (cls=0x213ea40) at testbed_api_peers.c:451
        opc = 0x213ea40
        duration = {rel_value = 979}
        data = 0x213ea00
        __FUNCTION__ = "oprelease_overlay_connect"
#11 0x00007fbd444eca77 in GNUNET_TESTBED_operation_release_ (op=0x213ea90) at testbed_api_operations.c:884
        entry = 0x213eb20
        opq = 0x1eb4320
        i = 1
        __FUNCTION__ = "GNUNET_TESTBED_operation_release_"
#12 0x00007fbd444e3f4d in GNUNET_TESTBED_operation_done (operation=0x213ea90) at testbed_api.c:1936
No locals.
#13 0x00007fbd444f6ee7 in overlay_link_completed (cls=0x1ed9d60, op=0x213ea90, emsg=0x0) at testbed_api_topology.c:268
        link = 0x1ed9d60
        tc = 0x0
        retry_entry = 0x213ea90
        __FUNCTION__ = "overlay_link_completed"
#14 0x00007fbd444de6b9 in handle_peer_conevent (c=0x1ec2c70, msg=0x7fffac044b80) at testbed_api.c:603
        opc = 0x213ea40
        data = 0x213ea00
        cb = 0x7fbd444f6e14 <overlay_link_completed>
        cb_cls = 0x1ed9d60
        event = {type = GNUNET_TESTBED_ET_CONNECT, op = 0x213ea90, op_cls = 0x0, details = {peer_start = {host = 0x203f9d0, peer = 0x22e1460}, peer_stop = {peer = 0x203f9d0}, peer_connect = {peer1 = 0x203f9d0, peer2 = 0x22e1460},
            peer_disconnect = {peer1 = 0x203f9d0, peer2 = 0x22e1460}, operation_finished = {emsg = 0x203f9d0 "\200\260\004\002", generic = 0x22e1460}}}
        op_id = 4294968107
        __FUNCTION__ = "handle_peer_conevent"
#15 0x00007fbd444e0b78 in message_handler (cls=0x1ec2c70, msg=0x7fffac044b80) at testbed_api.c:1053
        c = 0x1ec2c70
        status = 1
        msize = 24
        __FUNCTION__ = "message_handler"
#16 0x00007fbd44b23f62 in receive_task (cls=0x1ecf910, tc=0x7fffac044c50) at client.c:597
        client = 0x1ecf910
        handler = 0x7fbd444e0523 <message_handler>
        cmsg = 0x1ed16f0
        handler_cls = 0x1ec2c70
---Type <return> to continue, or q <return> to quit---
        msize = 24
        mbuf = 0x7fffac044b80 ""
        msg = 0x7fffac044b80
        __FUNCTION__ = "receive_task"
#17 0x00007fbd44b6057f in run_ready (rs=0x1e8a220, ws=0x1e8a2b0) at scheduler.c:597
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0x2162110
        tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x1e8a220, write_ready = 0x1e8a2b0}
        __FUNCTION__ = "run_ready"
#18 0x00007fbd44b60dcf in GNUNET_SCHEDULER_run (task=0x7fbd44b57698 <program_main>, task_cls=0x7fffac044ef0) at scheduler.c:786
        rs = 0x1e8a220
        ws = 0x1e8a2b0
        timeout = {rel_value = 0}
        ret = 0
        shc_int = 0x1e905e0
        shc_term = 0x1e90690
        shc_quit = 0x1e907f0
        shc_hup = 0x1e908a0
        shc_pipe = 0x1e90740
        last_tr = 3404
        busy_wait_warning = 0
        pr = 0x1e8a340
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#19 0x00007fbd44b580c8 in GNUNET_PROGRAM_run2 (argc=18, argv=0x1e89100, binaryName=0x408e38 "gnunet-regex-profiler [OPTIONS] hosts-file policy-dir search-strings-file", binaryHelp=0x408e1f "Profiler for regex", options=0x409220 <options.10895>,
    task=0x407497 <run>, task_cls=0x0, run_without_scheduler=0) at program.c:273
        cc = {args = 0x1e89178, cfgfile = 0x1e8a4d0 "regexprofiler.conf", task = 0x407497 <run>, task_cls = 0x0, cfg = 0x1e89240}
        path = 0x1e8a190 "p\306\350\001"
        loglev = 0x0
        logfile = 0x0
        ret = 15
        cnt = 11
        skew_offset = 0
        skew_variance = 4294967295
        clock_offset = 140450878017616
        cfg = 0x1e89240
        defoptions = {{shortName = 99 'c', name = 0x7fbd44b79430 "config", argumentHelp = 0x7fbd44b79437 "FILENAME", description = 0x7fbd44b79440 "use configuration file FILENAME", require_argument = 1,
            processor = 0x402060 <GNUNET_GETOPT_set_string@plt>, scls = 0x7fffac044ef8}, {shortName = 104 'h', name = 0x7fbd44b79460 "help", argumentHelp = 0x0, description = 0x7fbd44b79465 "print this help", require_argument = 0,
            processor = 0x7fbd44b4d402 <GNUNET_GETOPT_format_help_>, scls = 0x408e1f}, {shortName = 76 'L', name = 0x7fbd44b79475 "log", argumentHelp = 0x7fbd44b79479 "LOGLEVEL", description = 0x7fbd44b79488 "configure logging to use LOGLEVEL",
            require_argument = 1, processor = 0x402060 <GNUNET_GETOPT_set_string@plt>, scls = 0x7fffac044ee8}, {shortName = 108 'l', name = 0x7fbd44b794aa "logfile", argumentHelp = 0x7fbd44b794b2 "LOGFILE",
            description = 0x7fbd44b794c0 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x402060 <GNUNET_GETOPT_set_string@plt>, scls = 0x7fffac044ee0}, {shortName = 118 'v', name = 0x7fbd44b794eb "version",
            argumentHelp = 0x0, description = 0x7fbd44b794f3 "print the version number", require_argument = 0, processor = 0x7fbd44b4d3bc <GNUNET_GETOPT_print_version_>, scls = 0x7fbd44b7950c}}
        allopts = 0x1e8a220
        gargs = 0x0
        lpfx = 0x1e8a4f0 "\002"
        spc = 0x1e8a505 ""
        __FUNCTION__ = "GNUNET_PROGRAM_run2"
#20 0x00007fbd44b581e9 in GNUNET_PROGRAM_run (argc=18, argv=0x1e89100, binaryName=0x408e38 "gnunet-regex-profiler [OPTIONS] hosts-file policy-dir search-strings-file", binaryHelp=0x408e1f "Profiler for regex", options=0x409220 <options.10895>,
    task=0x407497 <run>, task_cls=0x0) at program.c:308
No locals.
#21 0x0000000000408107 in main (argc=18, argv=0x1e89100) at gnunet-regex-profiler.c:2006
        options = {{shortName = 100 'd', name = 0x409086 "details", argumentHelp = 0x40908e "FILENAME", description = 0x409098 "name of the file for writing statistics", require_argument = 1, processor = 0x402060 <GNUNET_GETOPT_set_string@plt>,
            scls = 0x60a820 <data_filename>}, {shortName = 110 'n', name = 0x4090c0 "num-links", argumentHelp = 0x4090ca "COUNT", description = 0x4090d0 "create COUNT number of random links between peers", require_argument = 1,
            processor = 0x401fa0 <GNUNET_GETOPT_set_uint@plt>, scls = 0x60a7d8 <linking_factor>}, {shortName = 116 't', name = 0x409102 "matching-timeout", argumentHelp = 0x409113 "TIMEOUT",
            description = 0x409120 "wait TIMEOUT before considering a string match as failed", require_argument = 1, processor = 0x4020d0 <GNUNET_GETOPT_set_relative_time@plt>, scls = 0x60a5a8 <search_timeout_time>}, {shortName = 115 's',
            name = 0x409159 "search-delay", argumentHelp = 0x409166 "DELAY", description = 0x409170 "wait DELAY before starting string search", require_argument = 1, processor = 0x4020d0 <GNUNET_GETOPT_set_relative_time@plt>,
            scls = 0x60a5b0 <search_delay>}, {shortName = 97 'a', name = 0x409199 "num-search-strings", argumentHelp = 0x4090ca "COUNT", description = 0x4091b0 "number of search strings to read from search strings file", require_argument = 1,
            processor = 0x401fa0 <GNUNET_GETOPT_set_uint@plt>, scls = 0x60a7f8 <num_search_strings>}, {shortName = 112 'p', name = 0x4091ea "max-path-compression", argumentHelp = 0x4087b8 "MAX_PATH_COMPRESSION",
            description = 0x409200 "maximum path compression length", require_argument = 1, processor = 0x401fa0 <GNUNET_GETOPT_set_uint@plt>, scls = 0x60a828 <max_path_compression>}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0,
            description = 0x0, require_argument = 0, processor = 0x0, scls = 0x0}}
        ret = 0
TagsNo tags attached.

Activities

Sree Harsha Totakura

2013-04-11 15:40

developer   ~0007047

please confirm if SVN 26849 fixes it.

Bart Polot

2013-07-11 01:06

manager   ~0007233

I don't remember having this problem in further experiments, so I'd say it was fixed.

Issue History

Date Modified Username Field Change
2013-04-11 14:52 Bart Polot New Issue
2013-04-11 14:52 Bart Polot Status new => assigned
2013-04-11 14:52 Bart Polot Assigned To => Sree Harsha Totakura
2013-04-11 15:40 Sree Harsha Totakura Note Added: 0007047
2013-04-11 15:40 Sree Harsha Totakura Status assigned => feedback
2013-07-11 01:06 Bart Polot Note Added: 0007233
2013-07-11 01:06 Bart Polot Status feedback => assigned
2013-07-11 01:06 Bart Polot Status assigned => resolved
2013-07-11 01:06 Bart Polot Fixed in Version => Git master
2013-07-11 01:06 Bart Polot Resolution open => fixed
2013-07-13 02:13 Christian Grothoff Fixed in Version Git master => 0.10.0
2013-07-13 02:13 Christian Grothoff Target Version => 0.10.0
2013-12-24 20:54 Christian Grothoff Status resolved => closed