View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005466 | GNUnet | cadet service | public | 2018-11-01 17:11 | 2019-02-22 10:41 |
Reporter | ch3 | Assigned To | |||
Priority | low | Severity | crash | Reproducibility | sometimes |
Status | confirmed | Resolution | open | ||
Product Version | Git master | ||||
Summary | 0005466: Cadet crash in send_keepalive | ||||
Description | Cadet service crashes in send_keepalive: (I don't know why the corefile might not match executable. I built directly before execution but not after.) GNU gdb (GDB) 8.2 Copyright (C) 2018 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". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from src/cadet/.libs/gnunet-service-cadet...done. warning: core file may not match specified executable file. [New LWP 121659] [Thread debugging using libthread_db enabled] Using host libthread_db library "/gnu/store/l4lr0f5cjd0nbsaaf8b5dmcw1a1yypr3-glibc-2.27/lib/libthread_db.so.1". Core was generated by `'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00000000079cec31 in __GI_abort () at abort.c:79 #2 0x0000000005055a36 in GNUNET_abort_ () at common_logging.c:282 #3 0x000000000040cefe in send_keepalive (cls=0xa409980) at gnunet-service-cadet_connection.c:402 #4 0x0000000005093b2f in GNUNET_SCHEDULER_do_work (sh=sh@entry=0x8026800) at scheduler.c:2113 #5 0x000000000509499a in select_loop (context=0x1ffefff5a0, sh=0x8026800) at scheduler.c:2410 #6 GNUNET_SCHEDULER_run (task=task@entry=0x509a430 <service_main>, task_cls=task_cls@entry=0x1ffefff700) at scheduler.c:725 #7 0x00000000050991d2 in GNUNET_SERVICE_run_ (argc=<optimized out>, argv=<optimized out>, service_name=service_name@entry=0x41f100 "cadet", options=options@entry=GNUNET_SERVICE_OPTION_NONE, service_init_cb=service_init_cb@entry=0x405070 <run>, connect_cb=connect_cb@entry=0x404e60 <client_connect_cb>, disconnect_cb=0x404aa0 <client_disconnect_cb>, cls=0x0, handlers=0x1ffefff9c0) at service.c:1875 #8 0x0000000000404533 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-cadet.c:1510 | ||||
Steps To Reproduce | Observed while running: valgrind --log-file=valgrind_gnunet-rps-profiler.log .libs/gnunet-rps-profiler -c test_rps.conf -n 128 -d 30m -r 10000 -l gnunet_rps_profiler.log | ||||
Additional Information | (gdb) bt f #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 set = {__val = {0 <repeats 16 times>}} pid = <optimized out> tid = <optimized out> ret = <optimized out> #1 0x00000000079cec31 in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = { 0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0xa409980} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x0000000005055a36 in GNUNET_abort_ () at common_logging.c:282 No locals. #3 0x000000000040cefe in send_keepalive (cls=0xa409980) at gnunet-service-cadet_connection.c:402 cc = <optimized out> msg = {size = 0, type = 0} __FUNCTION__ = "send_keepalive" log_line = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> cls = 0xa409980 log_call_enabled = -1 log_call_enabled = 1 log_call_enabled = -1 log_call_enabled = -1 cc = <optimized out> msg = <optimized out> cc = 0xa409980 msg = <optimized out> __FUNCTION__ = "send_keepalive" log_line = <optimized out> log_call_enabled = -1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> log_call_enabled = 1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> log_call_enabled = -1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> log_call_enabled = -1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> #4 0x0000000005093b2f in GNUNET_SCHEDULER_do_work (sh=sh@entry=0x8026800) at scheduler.c:2113 p = GNUNET_SCHEDULER_PRIORITY_DEFAULT pos = 0xa6a2350 now = <optimized out> __FUNCTION__ = "GNUNET_SCHEDULER_do_work" log_line = <optimized out> log_call_enabled = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> #5 0x000000000509499a in select_loop (context=0x1ffefff5a0, sh=0x8026800) at scheduler.c:2410 time_remaining = <optimized out> rs = 0x8027290 ws = 0x8027360 select_result = <optimized out> rs = <optimized out> ws = <optimized out> select_result = <optimized out> __FUNCTION__ = "select_loop" log_line = <optimized out> log_call_enabled = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> time_remaining = <optimized out> log_line = <optimized out> log_call_enabled = 0 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> pos = <optimized out> log_line = <optimized out> log_call_enabled = -1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> log_line = <optimized out> log_call_enabled = -1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> pos = <optimized out> is_ready = <optimized out> log_line = <optimized out> log_call_enabled = -1 _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> _gnunet_boolean_var_ = <optimized out> #6 GNUNET_SCHEDULER_run (task=task@entry=0x509a430 <service_main>, task_cls=task_cls@entry=0x1ffefff700) at scheduler.c:725 sh = 0x8026800 driver = 0x80267a0 context = {scheduled_head = 0x8fa93f0, scheduled_tail = 0x8026fd0, timeout = { abs_value_us = 1541087062761062}} #7 0x00000000050991d2 in GNUNET_SERVICE_run_ (argc=<optimized out>, argv=<optimized out>, service_name=service_name@entry=0x41f100 "cadet", options=options@entry=GNUNET_SERVICE_OPTION_NONE, service_init_cb=service_init_cb@entry=0x405070 <run>, connect_cb=connect_cb@entry=0x404e60 <client_connect_cb>, disconnect_cb=0x404aa0 <client_disconnect_cb>, cls=0x0, handlers=0x1ffefff9c0) at service.c:1875 sh = {cfg = 0x7f6b2d0, service_name = 0x41f100 "cadet", service_init_cb = 0x405070 <run>, connect_cb = 0x404e60 <client_connect_cb>, disconnect_cb = 0x404aa0 <client_disconnect_cb>, cb_cls = 0x0, slc_head = 0x8024fe0, slc_tail = 0x8024fe0, clients_head = 0x8183750, clients_tail = 0x8183750, handlers = 0x7f6b320, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x8025110, v6_allowed = 0x8025230, match_uid = 0, match_gid = 1, got_shutdown = 0, options = GNUNET_SERVICE_OPTION_NONE, ready_confirm_fd = -1, ret = 0, require_found = 1} cfg_filename = 0x7f6b270 "~/.config/gnunet.conf" opt_cfg_filename = 0x7f6b6a0 "/tmp/testbed1sMWDQ/17/config" loglev = 0x0 xdg = 0x0 logfile = 0x0 do_daemonize = 0 skew_offset = 127520448 skew_variance = 137422173828 clock_offset = <optimized out> cfg = 0x7f6b2d0 ret = <optimized out> err = 0 service_options = {{shortName = 99 'c', name = 0x50a4c0b "config", argumentHelp = 0x50a4c02 "FILENAME", description = 0x50a4e90 "use configuration file FILENAME", require_argument = 1, option_mandatory = 0, processor = 0x507cf60 <set_filename>, cleaner = 0x0, scls = 0x1ffefff630}, {shortName = 100 'd', name = 0x50a72ed "daemonize", argumentHelp = 0x0, | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-11-01 17:11 | ch3 | New Issue | |
2018-11-01 17:11 | ch3 | Status | new => assigned |
2018-11-01 17:11 | ch3 | Assigned To | => Bart Polot |
2019-02-12 09:08 | Christian Grothoff | Assigned To | Bart Polot => Christian Grothoff |
2019-02-20 12:29 | Christian Grothoff | Assigned To | Christian Grothoff => |
2019-02-20 12:29 | Christian Grothoff | Status | assigned => confirmed |
2019-02-22 07:35 | catonano | Note Added: 0013937 | |
2019-02-22 10:41 | nikita | Note Added: 0013938 |