View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002602 | GNUnet | cadet service | public | 2012-10-31 11:12 | 2012-11-05 18:33 |
| Reporter | Sree Harsha Totakura | Assigned To | Bart Polot | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
| Summary | 0002602: crash in mesh service during stream tests | ||||
| Description | mesh service crashes when running stream test cases | ||||
| Additional Information | Here the back trace: harsha@nautophone:~/repos/gnunet/src$ gdb /usr/local/lib/gnunet/libexec/gnunet-service-mesh /tmp/cores/gnunet-service--1351677577.17999 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 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 "i686-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /usr/local/lib/gnunet/libexec/gnunet-service-mesh...done. warning: core file may not match specified executable file. [New LWP 17999] warning: Can't read pathname for load map: Input/output error. Core was generated by `gnunet-service-mesh -c /tmp/testbedk4suBP/0/config -L DEBUG'. Program terminated with signal 6, Aborted. #0 0x40022424 in __kernel_vsyscall () (gdb) bt #0 0x40022424 in __kernel_vsyscall () #1 0x401111df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x40114825 in __GI_abort () at abort.c:91 #3 0x4004e317 in GNUNET_abort () at common_logging.c:293 #4 0x4008fee1 in GNUNET_SERVER_notification_context_unicast (nc=0x96eff80, client=0x96e7668, msg=0xbfbe17bc, can_drop=0) at server_nc.c:420 #5 0x0805014f in tunnel_notify_client_peer_disconnected (cls=0x96e85c0, peer_id=2) at gnunet-service-mesh.c:3286 #6 0x0806631c in tree_mark_peers_disconnected (tree=0x96e86e8, parent=0x96e6e98, cb=0x80500c1 <tunnel_notify_client_peer_disconnected>, cbcls=0x96e85c0) at mesh_tunnel_tree.c:568 #7 0x08067b8c in tree_notify_connection_broken (t=0x96e86e8, p1=2, p2=1, cb=0x80500c1 <tunnel_notify_client_peer_disconnected>, cbcls=0x96e85c0) at mesh_tunnel_tree.c:927 #8 0x08050876 in tunnel_notify_connection_broken (t=0x96e85c0, p1=2, p2=1) at gnunet-service-mesh.c:3422 #9 0x0804e7aa in peer_info_remove_path (peer=0x96e9238, p1=2, p2=1) at gnunet-service-mesh.c:2767 #10 0x08063d6f in core_disconnect (cls=0x0, peer=0x96e96a8) at gnunet-service-mesh.c:8052 #11 0x400b234d in disconnect_and_free_peer_entry (cls=0x96e5f68, key=0xbfbe1b50, value=0x96e96a0) at core_api.c:380 #12 0x4005efb3 in GNUNET_CONTAINER_multihashmap_iterate (map=0x96e6008, it=0x400b208b <disconnect_and_free_peer_entry>, it_cls=0x96e5f68) at container_multihashmap.c:326 #13 0x400b7fd0 in GNUNET_CORE_disconnect (handle=0x96e5f68) at core_api.c:1220 #14 0x08063eb4 in shutdown_task (cls=0x0, tc=0xbfbe1c70) at gnunet-service-mesh.c:8128 #15 0x4008713d in run_ready (rs=0x96e5968, ws=0x96e59f0) at scheduler.c:597 #16 0x400879eb in GNUNET_SCHEDULER_run (task=0x400951c4 <service_task>, task_cls=0xbfbe1e44) at scheduler.c:785 #17 0x40096e44 in GNUNET_SERVICE_run (argc=5, argv=0xbfbe2094, service_name=0x806a60e "mesh", options=GNUNET_SERVICE_OPTION_NONE, task=0x8064332 <run>, task_cls=0x0) at service.c:1804 #18 0x0806504a in main (argc=5, argv=0xbfbe2094) at gnunet-service-mesh.c:8417 (gdb) bt full #0 0x40022424 in __kernel_vsyscall () No symbol table info available. #1 0x401111df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 resultvar = <optimized out> resultvar = <optimized out> pid = 1076400116 selftid = 17999 #2 0x40114825 in __GI_abort () at abort.c:91 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {1, 1073891424, 1831760997, 16, 3057846664, 314, 1076034611, 3216906088, 0, 158222968, 3216906004, 1351677577, 0, 1073891424, 1074004459, 3216906088, 0, 1073891424, 1074004452, 3216905728, 1076414432, 544498511, 824193331, 959789616, 1074696248, 1074518848, 14389, 0, 1074000268, 1073891424, 4294967295, 0}}, sa_flags = 0, sa_restorer = 0} sigs = {__val = {32, 0 <repeats 31 times>}} #3 0x4004e317 in GNUNET_abort () at common_logging.c:293 No locals. #4 0x4008fee1 in GNUNET_SERVER_notification_context_unicast (nc=0x96eff80, client=0x96e7668, msg=0xbfbe17bc, can_drop=0) at server_nc.c:420 pos = 0x0 __FUNCTION__ = "GNUNET_SERVER_notification_context_unicast" #5 0x0805014f in tunnel_notify_client_peer_disconnected (cls=0x96e85c0, peer_id=2) at gnunet-service-mesh.c:3286 msg = {header = {size = 18432, type = 5121}, tunnel_id = 128, peer = {hashPubKey = {bits = {2337083003, 4274971032, 2279255051, 2008100859, 273867118, 2042569053, 3035188092, 614804655, 3664182903, 3398087836, 1813240356, 2919956324, 724523430, 3340812164, 590949017, 3900511685}}}} t = 0x96e85c0 peer = 0x5090f689 path_info = 0x947f1 #6 0x0806631c in tree_mark_peers_disconnected (tree=0x96e86e8, parent=0x96e6e98, cb=0x80500c1 <tunnel_notify_client_peer_disconnected>, cbcls=0x96e85c0) at mesh_tunnel_tree.c:568 pi = 0x40057db8 id = {hashPubKey = {bits = {3216906344, 134632881, 158232216, 2, 158237704, 314, 3057846664, 314, 158232216, 158232216, 158237848, 1074450420, 3216906376, 134636213, 158238624, 2}}} n = 0x0 #7 0x08067b8c in tree_notify_connection_broken (t=0x96e86e8, p1=2, p2=1, cb=0x80500c1 <tunnel_notify_client_peer_disconnected>, cbcls=0x96e85c0) at mesh_tunnel_tree.c:927 n = 0x96e6e98 c = 0x13a __FUNCTION__ = "tree_notify_connection_broken" #8 0x08050876 in tunnel_notify_connection_broken (t=0x96e85c0, p1=2, p2=1) at gnunet-service-mesh.c:3422 pid = 158241000 #9 0x0804e7aa in peer_info_remove_path (peer=0x96e9238, p1=2, p2=1) at gnunet-service-mesh.c:2767 p = 0x0 aux = 0x0 peer_d = 0x96e9280 d = 4 destroyed = 1 best = 1074130331 cost = 3216906952 i = 0 __FUNCTION__ = "peer_info_remove_path" #10 0x08063d6f in core_disconnect (cls=0x0, peer=0x96e96a8) at gnunet-service-mesh.c:8052 pi = 0x96e9238 q = 0x0 n = 0x84 __FUNCTION__ = "core_disconnect" #11 0x400b234d in disconnect_and_free_peer_entry (cls=0x96e5f68, key=0xbfbe1b50, value=0x96e96a0) at core_api.c:380 h = 0x96e5f68 th = 0x96e9614 pr = 0x96e96a0 __FUNCTION__ = "disconnect_and_free_peer_entry" #12 0x4005efb3 in GNUNET_CONTAINER_multihashmap_iterate (map=0x96e6008, it=0x400b208b <disconnect_and_free_peer_entry>, it_cls=0x96e5f68) at container_multihashmap.c:326 bme = 0x96e9728 nxt = 0x0 count = 1 i = 123 me = {sme = 0x96e9728, bme = 0x96e9728} kc = {bits = {2337083003, 4274971032, 2279255051, 2008100859, 273867118, 2042569053, 3035188092, 614804655, 3664182903, 3398087836, 1813240356, 2919956324, 724523430, 3340812164, 590949017, 3900511685}} __FUNCTION__ = "GNUNET_CONTAINER_multihashmap_iterate" #13 0x400b7fd0 in GNUNET_CORE_disconnect (handle=0x96e5f68) at core_api.c:1220 cm = 0x0 __FUNCTION__ = "GNUNET_CORE_disconnect" #14 0x08063eb4 in shutdown_task (cls=0x0, tc=0xbfbe1c70) at gnunet-service-mesh.c:8128 __FUNCTION__ = "shutdown_task" ---Type <return> to continue, or q <return> to quit--- #15 0x4008713d in run_ready (rs=0x96e5968, ws=0x96e59f0) at scheduler.c:597 p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN pos = 0x96e5dc8 tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0x96e5968, write_ready = 0x96e59f0} __FUNCTION__ = "run_ready" #16 0x400879eb in GNUNET_SCHEDULER_run (task=0x400951c4 <service_task>, task_cls=0xbfbe1e44) at scheduler.c:785 rs = 0x96e5968 ws = 0x96e59f0 timeout = {rel_value = 0} ret = 0 shc_int = 0x96e5a90 shc_term = 0x96e5b28 shc_quit = 0x96e5c58 shc_hup = 0x96e5cf0 shc_pipe = 0x96e5bc0 last_tr = 117 busy_wait_warning = 1 pr = 0x96e5a80 c = 0 '\000' __FUNCTION__ = "GNUNET_SCHEDULER_run" #17 0x40096e44 in GNUNET_SERVICE_run (argc=5, argv=0xbfbe2094, service_name=0x806a60e "mesh", options=GNUNET_SERVICE_OPTION_NONE, task=0x8064332 <run>, task_cls=0x0) at service.c:1804 err = 0 ret = 5 cfg_fn = 0x96e4a48 "/tmp/testbedk4suBP/0/config" loglev = 0x96e4b08 "DEBUG" logfile = 0x0 do_daemonize = 0 i = 3216908272 skew_offset = 4615023312173995728 skew_variance = 4612328546608870812 clock_offset = 4429481084 sctx = {cfg = 0x96e4a68, server = 0x96e5e08, addrs = 0x0, service_name = 0x806a60e "mesh", task = 0x8064332 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x96e58e8, v6_allowed = 0x96e5920, my_handlers = 0x96f3118, addrlens = 0x0, lsocks = 0x96f3600, shutdown_task = 4, timeout = {rel_value = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1, match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE} cfg = 0x96e4a68 service_options = {{shortName = 99 'c', name = 0x400a2cd9 "config", argumentHelp = 0x400a2ce0 "FILENAME", description = 0x400a2cec "use configuration file FILENAME", require_argument = 1, processor = 0x40075736 <GNUNET_GETOPT_set_string>, scls = 0xbfbe1f08}, {shortName = 100 'd', name = 0x400a2d0c "daemonize", argumentHelp = 0x0, description = 0x400a2d18 "do daemonize (detach from terminal)", require_argument = 0, processor = 0x4007571a <GNUNET_GETOPT_set_one>, scls = 0xbfbe1f14}, {shortName = 104 'h', name = 0x400a2d3c "help", argumentHelp = 0x0, description = 0x400a2d41 "print this help", require_argument = 0, processor = 0x40075221 <GNUNET_GETOPT_format_help_>, scls = 0x0}, {shortName = 76 'L', name = 0x400a2d51 "log", argumentHelp = 0x400a2d55 "LOGLEVEL", description = 0x400a2d60 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x40075736 <GNUNET_GETOPT_set_string>, scls = 0xbfbe1f0c}, {shortName = 108 'l', name = 0x400a2d82 "logfile", argumentHelp = 0x400a2d8a "LOGFILE", description = 0x400a2d94 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x40075736 <GNUNET_GETOPT_set_string>, scls = 0xbfbe1f10}, { shortName = 118 'v', name = 0x400a2dbf "version", argumentHelp = 0x0, description = 0x400a2dc7 "print the version number", require_argument = 0, processor = 0x400751e0 <GNUNET_GETOPT_print_version_>, scls = 0x400a2de0}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}} __FUNCTION__ = "GNUNET_SERVICE_run" #18 0x0806504a in main (argc=5, argv=0xbfbe2094) at gnunet-service-mesh.c:8417 ret = 0 r = 1073803888 __FUNCTION__ = "main" (gdb) | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-10-31 11:12 | Sree Harsha Totakura | New Issue | |
| 2012-10-31 11:12 | Sree Harsha Totakura | Status | new => assigned |
| 2012-10-31 11:12 | Sree Harsha Totakura | Assigned To | => Bart Polot |
| 2012-11-04 22:34 | Christian Grothoff | Target Version | => 0.9.4 |
| 2012-11-05 11:10 | Bart Polot | Note Added: 0006516 | |
| 2012-11-05 11:10 | Bart Polot | Status | assigned => resolved |
| 2012-11-05 11:10 | Bart Polot | Fixed in Version | => 0.9.4 |
| 2012-11-05 11:10 | Bart Polot | Resolution | open => fixed |
| 2012-11-05 18:33 | Christian Grothoff | Status | resolved => closed |
| 2014-05-09 18:34 | Christian Grothoff | Category | mesh service => cadet service |