View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002068 | GNUnet | cadet service | public | 2012-01-15 00:15 | 2012-02-28 11:05 |
Reporter | Christian Grothoff | Assigned To | Bart Polot | ||
Priority | urgent | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | unable to reproduce | ||
Product Version | Git master | ||||
Target Version | 0.9.2 | Fixed in Version | Git master | ||
Summary | 0002068: mesh crash on shutdown | ||||
Description | Core was generated by `gnunet-service-mesh'. Program terminated with signal 11, Segmentation fault. #0 0x00007f312e9538ab in GNUNET_CONTAINER_multihashmap_remove (map=0x7f312ed9fdac, key=0x7fff2b650c50, value=0x1b35ed0) at container_multihashmap.c:244 244 e = map->map[i]; (gdb) ba #0 0x00007f312e9538ab in GNUNET_CONTAINER_multihashmap_remove (map=0x7f312ed9fdac, key=0x7fff2b650c50, value=0x1b35ed0) at container_multihashmap.c:244 #1 0x00000000004069a7 in tunnel_destroy (t=0x1b35ed0) at gnunet-service-mesh.c:2162 #2 0x000000000040f172 in shutdown_tunnel (cls=0x0, key=0x7fff2b650d40, value=0x1b35ed0) at gnunet-service-mesh.c:4319 #3 0x00007f312e953824 in GNUNET_CONTAINER_multihashmap_iterate (map=0x1b27090, it=0x40f14a <shutdown_tunnel>, it_cls=0x0) at container_multihashmap.c:213 #4 0x000000000040f267 in shutdown_task (cls=0x0, tc=0x7fff2b650e00) at gnunet-service-mesh.c:4357 #5 0x00007f312e9734ca in run_ready (rs=0x1b2d8d0, ws=0x1b25250) at scheduler.c:684 #6 0x00007f312e973caa in GNUNET_SCHEDULER_run (task=0x7f312e97f2f6 <service_task>, task_cls=0x7fff2b651100) at scheduler.c:874 #7 0x00007f312e980d98 in GNUNET_SERVICE_run (argc=1, argv=0x7fff2b651368, serviceName=0x4140cc "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40f364 <run>, task_cls=0x0) at service.c:1712 #8 0x000000000040f9c9 in main (argc=1, argv=0x7fff2b651368) at gnunet-service-mesh.c:4502 | ||||
Steps To Reproduce | Was testing new VPN code with a gnunet-daemon-exit, a gnunet-service-vpn on the same machine (not even core service running) and then manually created tunnel using "gnunet-vpn" plus a wget over the returned IP address. Crash then happened on shutdown of mesh with CTRL-C. | ||||
Additional Information | (gdb) bt full #0 0x00007f312e9538ab in GNUNET_CONTAINER_multihashmap_remove (map=0x7f312ed9fdac, key=0x7fff2b650c50, value=0x1b35ed0) at container_multihashmap.c:244 e = 0x7fff2b650c50 p = 0x0 i = 33293266 #1 0x00000000004069a7 in tunnel_destroy (t=0x1b35ed0) at gnunet-service-mesh.c:2162 c = 0x1b290d0 q = 0x7fff2b651360 qn = 0x1 hash = {bits = {1256225115, 2745051919, 2443927062, 170092235, 1038331942, 2634002159, 2847152905, 1946477221, 3282112720, 4011091149, 3009697491, 1312412440, 288533208, 840346069, 1841424161, 2743960594}} r = 2139616 __FUNCTION__ = "tunnel_destroy" #2 0x000000000040f172 in shutdown_tunnel (cls=0x0, key=0x7fff2b650d40, value=0x1b35ed0) at gnunet-service-mesh.c:4319 t = 0x1b35ed0 #3 0x00007f312e953824 in GNUNET_CONTAINER_multihashmap_iterate (map=0x1b27090, it=0x40f14a <shutdown_tunnel>, it_cls=0x0) at container_multihashmap.c:213 count = 0 i = 9 e = 0x1b36740 n = 0x0 kc = {bits = {3905693225, 3632748788, 1758287575, 395195669, 1915971865, 1603304506, 3015896981, 3324432222, 55084385, 3371255490, 753884836, 149524702, 3846904319, 233430676, 1047686792, 1438541979}} __FUNCTION__ = "GNUNET_CONTAINER_multihashmap_iterate" #4 0x000000000040f267 in shutdown_task (cls=0x0, tc=0x7fff2b650e00) at gnunet-service-mesh.c:4357 __FUNCTION__ = "shutdown_task" #5 0x00007f312e9734ca in run_ready (rs=0x1b2d8d0, ws=0x1b25250) at scheduler.c:684 p = GNUNET_SCHEDULER_PRIORITY_SHUTDOWN pos = 0x1b278f0 tc = {reason = GNUNET_SCHEDULER_REASON_SHUTDOWN, read_ready = 0x1b2d8d0, write_ready = 0x1b25250} __FUNCTION__ = "run_ready" #6 0x00007f312e973caa in GNUNET_SCHEDULER_run (task=0x7f312e97f2f6 <service_task>, task_cls=0x7fff2b651100) at scheduler.c:874 rs = 0x1b2d8d0 ws = 0x1b25250 timeout = {rel_value = 0} ret = 0 shc_int = 0x1b252e0 shc_term = 0x1b25390 shc_quit = 0x1b254f0 shc_hup = 0x1b255a0 shc_pipe = 0x1b25440 last_tr = 2990 busy_wait_warning = 1 pr = 0x1b2d830 c = 0 '\000' __FUNCTION__ = "GNUNET_SCHEDULER_run" #7 0x00007f312e980d98 in GNUNET_SERVICE_run (argc=1, argv=0x7fff2b651368, serviceName=0x4140cc "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40f364 <run>, task_cls=0x0) at service.c:1712 err = 0 cfg_fn = 0x1b24e80 "~/.gnunet/gnunet.conf" loglev = 0x0 logfile = 0x0 do_daemonize = 0 i = 0 skew_offset = 0 skew_variance = 0 clock_offset = 1 sctx = {cfg = 0x1b24ea0, server = 0x1b25670, addrs = 0x1b24ee0, serviceName = 0x4140cc "mesh", task = 0x40f364 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x1b2d840, v6_allowed = 0x1b2d880, my_handlers = 0x1b2d130, addrlens = 0x1b2d780, lsocks = 0x0, 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 = 0x1b24ea0 service_options = {{shortName = 99 'c', name = 0x7f312e989cad "config", argumentHelp = 0x7f312e989cb4 "FILENAME", description = 0x7f312e989cc0 "use configuration file FILENAME", require_argument = 1, processor = 0x7f312e9647c3 <GNUNET_GETOPT_set_string>, scls = 0x7fff2b6511b0}, {shortName = 100 'd', name = 0x7f312e989ce0 "daemonize", argumentHelp = 0x0, description = 0x7f312e989cf0 "do daemonize (detach from terminal)", require_argument = 0, processor = 0x7f312e964796 <GNUNET_GETOPT_set_one>, scls = 0x7fff2b65119c}, {shortName = 104 'h', name = 0x7f312e989d14 "help", argumentHelp = 0x0, description = 0x7f312e989d19 "print this help", require_argument = 0, processor = 0x7f312e96422d <GNUNET_GETOPT_format_help_>, scls = 0x4140cc}, {shortName = 76 'L', name = 0x7f312e989d29 "log", argumentHelp = 0x7f312e989d2d "LOGLEVEL", description = 0x7f312e989d38 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7f312e9647c3 <GNUNET_GETOPT_set_string>, scls = 0x7fff2b6511a8}, { shortName = 108 'l', name = 0x7f312e989d5a "logfile", argumentHelp = 0x7f312e989d62 "LOGFILE", description = 0x7f312e989d70 "configure logging to write logs to LOGFILE", require_argument = 1, | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-15 00:15 | Christian Grothoff | New Issue | |
2012-01-15 00:15 | Christian Grothoff | Status | new => assigned |
2012-01-15 00:15 | Christian Grothoff | Assigned To | => Bart Polot |
2012-01-24 04:00 | Bart Polot | Note Added: 0005366 | |
2012-01-24 04:00 | Bart Polot | Status | assigned => resolved |
2012-01-24 04:00 | Bart Polot | Fixed in Version | => Git master |
2012-01-24 04:00 | Bart Polot | Resolution | open => unable to reproduce |
2012-02-28 11:05 | Christian Grothoff | Status | resolved => closed |
2014-05-09 18:34 | Christian Grothoff | Category | mesh service => cadet service |