View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003796 | GNUnet | cadet service | public | 2015-05-26 14:01 | 2015-05-26 14:12 |
Reporter | Sree Harsha Totakura | Assigned To | Bart Polot | ||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | duplicate | ||
Summary | 0003796: crash upon exit through gnunet-arm | ||||
Description | Cadet crashed while stopping peer via `gnunet-arm -e' Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000412cef in get_prev_hop (c=0x7baf010) at gnunet-service-cadet_connection.c:735 735 gnunet-service-cadet_connection.c: No such file or directory. (gdb) bt #0 0x0000000000412cef in get_prev_hop (c=0x7baf010) at gnunet-service-cadet_connection.c:735 #1 0x000000000041a5c4 in GCC_notify_broken (c=0x7baf010, peer=0x7a41bf0) at gnunet-service-cadet_connection.c:2989 #2 0x0000000000428dac in notify_broken (cls=0x7a41bf0, key=0x63ed00 <hc>, value=0x7baf010) at gnunet-service-cadet_peer.c:357 #3 0x000000000506054a in GNUNET_CONTAINER_multihashmap_iterate (map=0x7a3f720, it=0x428cdf <notify_broken>, it_cls=0x7a41bf0) at container_multihashmap.c:340 #4 0x000000000042945b in core_disconnect (cls=0x0, peer=0x7a41b40) at gnunet-service-cadet_peer.c:461 #5 0x00000000056d0d58 in disconnect_and_free_peer_entry (cls=0x7a3e010, key=0xffefffd80, value=0x7a41af0) at core_api.c:389 #6 0x0000000005061cd4 in GNUNET_CONTAINER_multipeermap_iterate (map=0x7a3e0f0, it=0x56d0aa3 <disconnect_and_free_peer_entry>, it_cls=0x7a3e010) at container_multipeermap.c:361 #7 0x00000000056d61b5 in GNUNET_CORE_disconnect (handle=0x7a3e010) at core_api.c:1259 #8 0x000000000042db24 in GCP_shutdown () at gnunet-service-cadet_peer.c:1716 #9 0x000000000043232a in shutdown_task (cls=0x0, tc=0xffefffe80) at gnunet-service-cadet.c:115 #10 0x0000000005088b73 in run_ready (rs=0x7a57e80, ws=0x7a57f30) at scheduler.c:587 #11 0x000000000508947e in GNUNET_SCHEDULER_run (task=0x5095f59 <service_task>, task_cls=0xfff000210) at scheduler.c:867 #12 0x0000000005097c92 in GNUNET_SERVICE_run (argc=3, argv=0xfff0004a8, service_name=0x4394fa "cadet", options=GNUNET_SERVICE_OPTION_NONE, task=0x4323ba <run>, task_cls=0x0) at service.c:1503 #13 0x0000000000432729 in main (argc=3, argv=0xfff0004a8) at gnunet-service-cadet.c:174 (gdb) bt full #0 0x0000000000412cef in get_prev_hop (c=0x7baf010) at gnunet-service-cadet_connection.c:735 id = 0 __FUNCTION__ = "get_prev_hop" #1 0x000000000041a5c4 in GCC_notify_broken (c=0x7baf010, peer=0x7a41bf0) at gnunet-service-cadet_connection.c:2989 hop = 0x0 fwd = 0 __FUNCTION__ = "GCC_notify_broken" #2 0x0000000000428dac in notify_broken (cls=0x7a41bf0, key=0x63ed00 <hc>, value=0x7baf010) at gnunet-service-cadet_peer.c:357 peer = 0x7a41bf0 c = 0x7baf010 __FUNCTION__ = "notify_broken" #3 0x000000000506054a in GNUNET_CONTAINER_multihashmap_iterate (map=0x7a3f720, it=0x428cdf <notify_broken>, it_cls=0x7a41bf0) at container_multihashmap.c:340 sme = 0x7b79960 nxt = 0x7b30aa0 count = 0 i = 137 me = {sme = 0x7b79960, bme = 0x7b79960} kc = {bits = {0, 3623725200, 32, 1101, 128195392, 0, 128179120, 0, 6, 2, 2393606636, 233876922, 4278189200, 15, 84286216, 0}} __FUNCTION__ = "GNUNET_CONTAINER_multihashmap_iterate" #4 0x000000000042945b in core_disconnect (cls=0x0, peer=0x7a41b40) at gnunet-service-cadet_peer.c:461 p = 0x7a41bf0 direct_path = 0x7a41cf0 own_id = "XJ4T", '\000' <repeats 11 times>, "\r" __FUNCTION__ = "core_disconnect" #5 0x00000000056d0d58 in disconnect_and_free_peer_entry (cls=0x7a3e010, key=0xffefffd80, value=0x7a41af0) at core_api.c:389 h = 0x7a3e010 th = 0x7ade608 pr = 0x7a41af0 __FUNCTION__ = "disconnect_and_free_peer_entry" #6 0x0000000005061cd4 in GNUNET_CONTAINER_multipeermap_iterate (map=0x7a3e0f0, it=0x56d0aa3 <disconnect_and_free_peer_entry>, it_cls=0x7a3e010) at container_multipeermap.c:361 bme = 0x7a41ba0 nxt = 0x0 count = 9 i = 108 me = {sme = 0x7a41ba0, bme = 0x7a41ba0} kc = {public_key = {q_y = "쉫\216IL$\365A\236\060\b#\346\247Tg\376\254z9l\352\235[81\262\235\177ډ"}} __FUNCTION__ = "GNUNET_CONTAINER_multipeermap_iterate" #7 0x00000000056d61b5 in GNUNET_CORE_disconnect (handle=0x7a3e010) at core_api.c:1259 cm = 0x0 __FUNCTION__ = "GNUNET_CORE_disconnect" #8 0x000000000042db24 in GCP_shutdown () at gnunet-service-cadet_peer.c:1716 No locals. #9 0x000000000043232a in shutdown_task (cls=0x0, tc=0xffefffe80) at gnunet-service-cadet.c:115 __FUNCTION__ = "shutdown_task" #10 0x0000000005088b73 in run_ready (rs=0x7a57e80, ws=0x7a57f30) at scheduler.c:587 p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN pos = 0x7a3aae0 tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0x7a57e80, write_ready = 0x7a57f30} __FUNCTION__ = "run_ready" #11 0x000000000508947e in GNUNET_SCHEDULER_run (task=0x5095f59 <service_task>, task_cls=0xfff000210) at scheduler.c:867 rs = 0x7a57e80 ws = 0x7a57f30 timeout = {rel_value_us = 0} ret = 0 shc_int = 0x7a39bc0 shc_term = 0x7a39ca0 shc_quit = 0x7a39e60 shc_hup = 0x7a39f40 shc_pipe = 0x7a39d80 last_tr = 52402472 busy_wait_warning = 0 pr = 0x7a4e4d0 c = 0 '\000' __FUNCTION__ = "GNUNET_SCHEDULER_run" #12 0x0000000005097c92 in GNUNET_SERVICE_run (argc=3, argv=0xfff0004a8, service_name=0x4394fa "cadet", options=GNUNET_SERVICE_OPTION_NONE, task=0x4323ba <run>, task_cls=0x0) at service.c:1503 err = 0 ret = 3 cfg_fn = 0x7a399e0 "~/.config/gnunet.conf" opt_cfg_fn = 0x7a39b80 "/home/troll/.config/gnunet.conf" loglev = 0x0 logfile = 0x0 do_daemonize = 0 i = 4400058 skew_offset = 68702700704 skew_variance = 4208224 clock_offset = 68702700712 sctx = {cfg = 0x7a39a20, server = 0x7a3a2f0, addrs = 0x7a4b7f0, service_name = 0x4394fa "cadet", task = 0x4323ba <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x7a57d20, v6_allowed = 0x7a57e10, my_handlers = 0x7a3a3a0, addrlens = 0x7a4e3f0, lsocks = 0x0, shutdown_task = 0x7a3a090, timeout = {rel_value_us = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1, match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE} cfg = 0x7a39a20 xdg = 0x0 service_options = {{shortName = 99 'c', name = 0x50a61cd "config", argumentHelp = 0x50a61d4 "FILENAME", description = 0x50a61e0 "use configuration file FILENAME", require_argument = 1, processor = 0x507616c <GNUNET_GETOPT_set_string>, scls = 0xfff0002c8}, {shortName = 100 'd', name = 0x50a6200 "daemonize", argumentHelp = 0x0, description = 0x50a6210 "do daemonize (detach from terminal)", require_argument = 0, processor = 0x507613f <GNUNET_GETOPT_set_one>, scls = 0xfff0002b4}, {shortName = 104 'h', name = 0x50a6234 "help", argumentHelp = 0x0, description = 0x50a6239 "print this help", require_argument = 0, processor = 0x5075c0a <GNUNET_GETOPT_format_help_>, scls = 0x0}, {shortName = 76 'L', name = 0x50a6249 "log", argumentHelp = 0x50a624d "LOGLEVEL", description = 0x50a6258 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x507616c <GNUNET_GETOPT_set_string>, scls = 0xfff0002c0}, {shortName = 108 'l', name = 0x50a627a "logfile", argumentHelp = 0x50a6282 "LOGFILE", description = 0x50a6290 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x507616c <GNUNET_GETOPT_set_string>, scls = 0xfff0002b8}, {shortName = 118 'v', name = 0x50a62bb "version", argumentHelp = 0x0, description = 0x50a62c3 "print the version number", require_argument = 0, processor = 0x5075bc4 <GNUNET_GETOPT_print_version_>, scls = 0x50a62dc}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0x0, scls = 0x0}} __FUNCTION__ = "GNUNET_SERVICE_run" #13 0x0000000000432729 in main (argc=3, argv=0xfff0004a8) at gnunet-service-cadet.c:174 ---Type <return> to continue, or q <return> to quit--- r = 0 (gdb) | ||||
Additional Information | Cadet is running code from SVN 35676 under Valgrind Massif. | ||||
Tags | No tags attached. | ||||
duplicate of | 0003696 | closed | Bart Polot | segv in get_prev_hop() |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-26 14:01 | Sree Harsha Totakura | New Issue | |
2015-05-26 14:01 | Sree Harsha Totakura | Status | new => assigned |
2015-05-26 14:01 | Sree Harsha Totakura | Assigned To | => Bart Polot |
2015-05-26 14:12 | Bart Polot | Status | assigned => closed |
2015-05-26 14:12 | Bart Polot | Resolution | open => duplicate |
2015-05-26 14:12 | Bart Polot | Relationship added | duplicate of 0003696 |