View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003305 | GNUnet | core service | public | 2014-02-03 23:08 | 2018-06-07 00:25 |
Reporter | Florian Dold | Assigned To | Florian Dold | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Product Version | Git master | ||||
Target Version | 0.11.0pre66 | ||||
Summary | 0003305: dht-5368 ERROR Assertion failed at transport_api.c:591. | ||||
Description | Assertion is hit when letting secretsharing run with many (e.g. 16) peers. | ||||
Steps To Reproduce | ./gnunet-secretsharing-profiler -c test_secretsharing.conf -n16 -d | ||||
Additional Information | Also happens for core: core-5247 ERROR Assertion failed at transport_api.c:591. | ||||
Tags | No tags attached. | ||||
parent of | 0003321 | closed | Bart Polot | Assertion failed at gnunet-service-mesh_peer.c:875. |
parent of | 0003304 | closed | Bart Polot | mesh ERROR Assertion failed at gnunet-service-mesh_peer.c:827. |
parent of | 0003322 | closed | Matthias Wachs | transport sends uninitialized memory (valgrind) |
|
I get: Feb 11 14:49:42-067046 consensus-25245 WARNING External protocol violation detected at gnunet-service-consensus.c:1104. Feb 11 14:49:45-144935 consensus-25204 WARNING External protocol violation detected at gnunet-service-consensus.c:852. Feb 11 14:49:51-470548 mesh-25243 ERROR Assertion failed at gnunet-service-mesh_peer.c:875. |
|
And on CTRL-C, I get: rothoff@pixel:~/svn/gnunet/src/secretsharing$ gdb .libs/lt-gnunet-secretsharing-profiler core.25159 GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1) Copyright (C) 2013 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/grothoff/svn/gnunet/src/secretsharing/.libs/lt-gnunet-secretsharing-profiler...done. warning: core file may not match specified executable file. [New LWP 25159] warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `/home/grothoff/svn/gnunet/src/secretsharing/.libs/lt-gnunet-secretsharing-profi'. Program terminated with signal 11, Segmentation fault. #0 0x00007fe6aa7bb570 in GNUNET_TESTBED_service_connect (op_cls=0x0, peer=0x285b0c1675cad3f3, service_name=0x402b34 "secretsharing", cb=0x401664 <decrypt_connect_complete>, cb_cls=0x0, ca=0x401b19 <decrypt_connect_adapter>, da=0x401c16 <decrypt_disconnect_adapter>, cada_cls=0x6807e0) at testbed_api_services.c:278 278 GNUNET_TESTBED_operation_queue_insert_ (peer-> (gdb) ba #0 0x00007fe6aa7bb570 in GNUNET_TESTBED_service_connect (op_cls=0x0, peer=0x285b0c1675cad3f3, service_name=0x402b34 "secretsharing", cb=0x401664 <decrypt_connect_complete>, cb_cls=0x0, ca=0x401b19 <decrypt_connect_adapter>, da=0x401c16 <decrypt_disconnect_adapter>, cada_cls=0x6807e0) at testbed_api_services.c:278 #1 0x00000000004020fe in secret_ready_cb (cls=0x670fc8, my_share=0x0, public_key=0x0, num_ready_peers=0, ready_peers=0x0) at gnunet-secretsharing-profiler.c:341 #2 0x00007fe6aa9cd59d in handle_session_client_error (cls=0x6f2770, error=GNUNET_MQ_ERROR_READ) at secretsharing_api.c:126 #3 0x00007fe6aac0bbcc in GNUNET_MQ_inject_error (mq=0x6f2970, error=GNUNET_MQ_ERROR_READ) at mq.c:220 #4 0x00007fe6aac0cc98 in handle_client_message (cls=0x6f2970, msg=0x0) at mq.c:535 #5 0x00007fe6aabe2ca6 in receive_helper (cls=0x6f28d0, buf=0x7fff7c4e1530, available=0, addr=0x6f7cd0, addrlen=110, errCode=0) at client.c:529 #6 0x00007fe6aabee6bb in receive_ready (cls=0x6f2800, tc=0x7fff7c4f15b0) at connection.c:1072 #7 0x00007fe6aac1a013 in run_ready (rs=0x65f550, ws=0x6398c0) at scheduler.c:595 #8 0x00007fe6aac1a825 in GNUNET_SCHEDULER_run (task=0x7fe6aac15465 <program_main>, task_cls=0x7fff7c4f1850) at scheduler.c:817 #9 0x00007fe6aac15ff6 in GNUNET_PROGRAM_run2 (argc=3, argv=0x7fff7c4f19f0, binaryName=0x402b62 "gnunet-secretsharing-profiler", binaryHelp=0x7fe6aa7c80d9 "nohelp", options=0x7fff7c4f19b0, task=0x7fe6aa7bfe20 <run>, task_cls=0x651530, run_without_scheduler=0) at program.c:302 #10 0x00007fe6aac16152 in GNUNET_PROGRAM_run (argc=3, argv=0x7fff7c4f19f0, binaryName=0x402b62 "gnunet-secretsharing-profiler", binaryHelp=0x7fe6aa7c80d9 "nohelp", options=0x7fff7c4f19b0, task=0x7fe6aa7bfe20 <run>, task_cls=0x651530) at program.c:341 #11 0x00007fe6aa7c012e in GNUNET_TESTBED_test_run (testname=0x402b62 "gnunet-secretsharing-profiler", cfg_filename=0x639c60 "test_secretsharing.conf", num_peers=16, event_mask=0, cc=0x40138d <controller_cb>, cc_cls=0x0, test_master=0x40248d <test_master>, test_master_cls=0x0) at testbed_api_test.c:151 #12 0x00000000004027f1 in run (cls=0x0, args=0x7fff7c4f1e10, cfgfile=0x639c60 "test_secretsharing.conf", cfg=0x638730) at gnunet-secretsharing-profiler.c:519 #13 0x00007fe6aac1602c in GNUNET_PROGRAM_run2 (argc=5, argv=0x7fff7c4f1de8, binaryName=0x402b62 "gnunet-secretsharing-profiler", binaryHelp=0x402c9f "help", options=0x402e40 <options.12903>, task=0x402636 <run>, task_cls=0x0, run_without_scheduler=1) at program.c:307 #14 0x000000000040284e in main (argc=5, argv=0x7fff7c4f1de8) at gnunet-secretsharing-profiler.c:556 |
|
Transport service (with valgrind) also spells trouble for this test: ==25564== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==25564== at 0x5EB50CD: send (send.c:27) ==25564== by 0x589BAAF: GNUNET_NETWORK_socket_send (network.c:777) ==25564== by 0x587C736: transmit_ready (connection.c:1324) ==25564== by 0x58A7012: run_ready (scheduler.c:595) ==25564== by 0x58A7824: GNUNET_SCHEDULER_run (scheduler.c:817) ==25564== by 0x58B4252: GNUNET_SERVICE_run (service.c:1508) ==25564== by 0x406018: main (gnunet-service-transport.c:963) ==25564== Address 0x719185c is 60 bytes inside a block of size 133 alloc'd ==25564== at 0x4C2B72E: realloc (vg_replace_malloc.c:662) ==25564== by 0x58723B7: GNUNET_xrealloc_ (common_allocation.c:177) ==25564== by 0x587C4A5: transmit_ready (connection.c:1310) ==25564== by 0x58A7012: run_ready (scheduler.c:595) ==25564== by 0x58A7824: GNUNET_SCHEDULER_run (scheduler.c:817) ==25564== by 0x58B4252: GNUNET_SERVICE_run (service.c:1508) ==25564== by 0x406018: main (gnunet-service-transport.c:963) |
|
I now got these on CTRL-C: Feb 11 14:59:46-760631 gnunet-secretsharing-profiler-25746 ERROR Assertion failed at testbed_api_operations.c:1026. Feb 11 14:59:46-760658 gnunet-secretsharing-profiler-25746 ERROR Assertion failed at testbed_api_operations.c:1026. |
|
I've filed the mesh issues 0003321, I think Bart should look into that and Florian into fixing the testbed interaction (avoid testbed assertions and crash on exit). Unless of course the testbed errors are in testbed, in which case Sree Harsha should be involved. |
|
The testbed assertions are gone, and the transport issue seems to be gone. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-03 23:08 | Florian Dold | New Issue | |
2014-02-08 13:25 | Christian Grothoff | Product Version | => Git master |
2014-02-08 13:25 | Christian Grothoff | Target Version | => 0.10.1 |
2014-02-08 13:28 | Christian Grothoff | Target Version | 0.10.1 => |
2014-02-11 14:50 | Christian Grothoff | Note Added: 0008090 | |
2014-02-11 14:51 | Christian Grothoff | Note Added: 0008091 | |
2014-02-11 14:56 | Christian Grothoff | Note Added: 0008092 | |
2014-02-11 14:58 | Christian Grothoff | Assigned To | => Bart Polot |
2014-02-11 14:58 | Christian Grothoff | Status | new => assigned |
2014-02-11 14:59 | Christian Grothoff | Relationship added | parent of 0003321 |
2014-02-11 15:00 | Christian Grothoff | Note Added: 0008094 | |
2014-02-11 15:00 | Christian Grothoff | Assigned To | Bart Polot => Florian Dold |
2014-02-11 15:01 | Christian Grothoff | Note Added: 0008096 | |
2014-02-11 15:05 | Christian Grothoff | Relationship added | parent of 0003304 |
2014-02-11 15:06 | Christian Grothoff | Relationship added | parent of 0003322 |
2014-04-11 15:20 | Christian Grothoff | Target Version | => 0.11.0pre66 |
2014-04-14 23:29 | Florian Dold | Note Added: 0008243 | |
2014-04-14 23:29 | Florian Dold | Status | assigned => resolved |
2014-04-14 23:29 | Florian Dold | Resolution | open => fixed |
2018-06-07 00:25 | Christian Grothoff | Status | resolved => closed |