View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002094 | GNUnet | cadet service | public | 2012-01-21 16:44 | 2012-02-28 11:05 |
Reporter | Christian Grothoff | Assigned To | Bart Polot | ||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | duplicate | ||
Product Version | Git master | ||||
Target Version | 0.9.2 | Fixed in Version | Git master | ||
Summary | 0002094: aborting gnunet-service-vpn fails (assertion at mesh_api.c:1296). | ||||
Description | Not only do I get this assertion failure, but also the process then fails to terminate: Jan 21 16:41:13-004966 vpn-26767 ERROR Assertion failed at mesh_api.c:1296. Jan 21 16:41:13-004993 vpn-26767 ERROR Assertion failed at mesh_api.c:1296. Jan 21 16:41:13-004998 vpn-26767 ERROR Assertion failed at mesh_api.c:1296. | ||||
Steps To Reproduce | I ran mesh, exit and vpn services, then used the usual wget PLUS ping (to send ICMP traffic) -- neither of which worked. Then, I first stopped the mesh service. When I then tried to stop VPN, the process printed the assertion failures and did not shutdown on CTRL-C. | ||||
Additional Information | Looks like the 'reconnect_task' of MESH is not being canceled properly: (gdb) ba #0 0x00007f17e0e138b3 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f17e14f2172 in GNUNET_NETWORK_socket_select (rfds=0x22048d0, wfds=0x21fc250, efds=0x0, timeout=...) at network.c:1213 #2 0x00007f17e14fdd1a in GNUNET_SCHEDULER_run (task=0x7f17e150956a <service_task>, task_cls=0x7fffccd5e2c0) at scheduler.c:845 #3 0x00007f17e150b00c in GNUNET_SERVICE_run (argc=1, argv=0x7fffccd5e518, serviceName=0x40a6bd "vpn", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4098bc <run>, task_cls=0x0) at service.c:1712 #4 0x0000000000409ea7 in main (argc=1, argv=0x7fffccd5e518) at gnunet-service-vpn.c:2673 (gdb) ba #0 0x00007f17e0e138b3 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f17e14f2172 in GNUNET_NETWORK_socket_select (rfds=0x22048d0, wfds=0x21fc250, efds=0x0, timeout=...) at network.c:1213 #2 0x00007f17e14fdd1a in GNUNET_SCHEDULER_run (task=0x7f17e150956a <service_task>, task_cls=0x7fffccd5e2c0) at scheduler.c:845 #3 0x00007f17e150b00c in GNUNET_SERVICE_run (argc=1, argv=0x7fffccd5e518, serviceName=0x40a6bd "vpn", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4098bc <run>, task_cls=0x0) at service.c:1712 #4 0x0000000000409ea7 in main (argc=1, argv=0x7fffccd5e518) at gnunet-service-vpn.c:2673 (gdb) print *pending_timeout $2 = {next = 0x0, callback = 0x7f17e1920d36 <reconnect_task>, callback_cls = 0x21fc840, read_set = 0x0, write_set = 0x0, id = 431, prereq_id = 0, timeout = {abs_value = 1327161073101}, reason = GNUNET_SCHEDULER_REASON_STARTUP, priority = GNUNET_SCHEDULER_PRIORITY_DEFAULT, read_fd = -1, write_fd = -1, lifeness = 1} (gdb) print *pending Cannot access memory at address 0x0 | ||||
Tags | No tags attached. | ||||
duplicate of | 0002090 | closed | Bart Polot | Improper VPN cleanup |
child of | 0002064 | closed | Christian Grothoff | new VPN service (working with new exit/dns services) needs to be fully implemented and tested |
|
gnunet-daemon-exit also hangs, I suspect for the same reason. |
|
This report most likely represents 2 bugs -- the assertion failure AND the failure to cancel a task. |
|
Same as 0002090, fixed in r19335. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-21 16:44 | Christian Grothoff | New Issue | |
2012-01-21 16:44 | Christian Grothoff | Status | new => assigned |
2012-01-21 16:44 | Christian Grothoff | Assigned To | => Bart Polot |
2012-01-21 16:45 | Christian Grothoff | Note Added: 0005328 | |
2012-01-21 16:45 | Christian Grothoff | Priority | normal => urgent |
2012-01-21 16:45 | Christian Grothoff | Target Version | => 0.9.2 |
2012-01-21 16:46 | Christian Grothoff | Note Added: 0005329 | |
2012-01-21 16:48 | Christian Grothoff | Relationship added | child of 0002064 |
2012-01-23 15:40 | Bart Polot | Relationship added | duplicate of 0002090 |
2012-01-24 03:54 | Bart Polot | Note Added: 0005364 | |
2012-01-24 03:54 | Bart Polot | Status | assigned => resolved |
2012-01-24 03:54 | Bart Polot | Fixed in Version | => Git master |
2012-01-24 03:54 | Bart Polot | Resolution | open => duplicate |
2012-02-28 11:05 | Christian Grothoff | Status | resolved => closed |
2014-05-09 18:34 | Christian Grothoff | Category | mesh service => cadet service |