View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002980 | GNUnet | util library | public | 2013-08-08 14:07 | 2013-12-24 20:54 |
| Reporter | Matthias Wachs | Assigned To | Matthias Wachs | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.10.0 | Fixed in Version | 0.10.0 | ||
| Summary | 0002980: Resolver crashes TCP plugin | ||||
| Description | GNUNET_RESOLVER_hostname_get does not always call with final NULL callback but frees handle instead! # Aug 08 14:03:50-852728 transport-882434 INFO We are now connected to peer `HRVO' and 10 peers in total # Aug 08 14:04:02-897282 transport-882434 ERROR Callback request 0xb2d8f10 == mail.satisfaction-design.de, 0 pending # Aug 08 14:04:02-897798 transport-882434 ERROR Callback request 0xb2d8f10 == (null), 0 pending # Aug 08 14:04:02-898020 transport-882434 ERROR Done request 0xb2d8f10, 0 pending Aug 08 14:04:12-939446 transport-882434 ERROR Adding request 0xb332550 <-- New request added # Aug 08 14:04:13-235340 transport-882434 INFO We are now connected to peer `KFNI' and 11 peers in total Aug 08 14:04:42-967614 transport-882434 ERROR Adding request 0xb995530 <-- correct Aug 08 14:04:42-969718 transport-882434 ERROR Callback request 0xb995530 == 144.76.64.72, 1 pending <-- correct Aug 08 14:04:42-970258 transport-882434 ERROR Callback request 0xb995530 == (null), 1 pending <-- correct Aug 08 14:04:42-970743 transport-882434 ERROR Done request 0xb995530, 1 pending <-- correct Aug 08 14:04:45-710051 transport-882434 ERROR Callback request 0xb332550 == 144.76.64.72, 0 pending <-- Callback with name Aug 08 14:04:53-004850 transport-882434 ERROR Adding request 0x710d5c0 Aug 08 14:04:57-818410 transport-882434 INFO Peer `HRVO' disconnected and we are connected to 10 peers Aug 08 14:04:59-778283 transport-882434 INFO We are now connected to peer `HRVO' and 11 peers in total Aug 08 14:05:06-031592 transport-882434 INFO Peer `KEGM' disconnected and we are connected to 10 peers Aug 08 14:05:13-002248 transport-882434 ERROR Cancel request 0xb332550, 1 pending <-- Cancel due to timeout after 1 minute but without NULL callback!!!!!! Results in: ==882434== Invalid read of size 8 ==882434== at 0x5697734: GNUNET_RESOLVER_request_cancel (resolver_api.c:937) ==882434== by 0xA9CBABB: ppc_cancel_task (plugin_transport_tcp.c:1646) ==882434== by 0x56984FB: run_ready (scheduler.c:597) ==882434== by 0x5698D4B: GNUNET_SCHEDULER_run (scheduler.c:786) ==882434== by 0x56A7D4A: GNUNET_SERVICE_run (service.c:1825) ==882434== by 0x405D95: main (gnunet-service-transport.c:854) ==882434== Address 0xb3326e0 is 48 bytes inside a block of size 104 free'd ==882434== at 0x4C2AB1C: free (vg_replace_malloc.c:446) ==882434== by 0x5667E67: GNUNET_xfree_ (common_allocation.c:236) ==882434== by 0x5694F84: handle_response (resolver_api.c:372) ==882434== by 0x5667410: transmit_for_response (client.c:1261) ==882434== by 0x5666AE9: client_notify (client.c:1105) ==882434== by 0x5672B9A: transmit_ready (connection.c:1288) ==882434== by 0x56984FB: run_ready (scheduler.c:597) ==882434== by 0x5698D4B: GNUNET_SCHEDULER_run (scheduler.c:786) ==882434== by 0x56A7D4A: GNUNET_SERVICE_run (service.c:1825) ==882434== by 0x405D95: main (gnunet-service-transport.c:854) ==882434== | ||||
| Steps To Reproduce | run gnunet9 with valgrind | ||||
| Additional Information | Happens on gnunet9 within 5 minutes | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-08-08 14:07 | Matthias Wachs | New Issue | |
| 2013-08-08 14:12 | Matthias Wachs | Assigned To | => Christian Grothoff |
| 2013-08-08 14:12 | Matthias Wachs | Status | new => assigned |
| 2013-08-08 14:12 | Matthias Wachs | Description Updated | |
| 2013-08-08 14:13 | Matthias Wachs | Steps to Reproduce Updated | |
| 2013-08-08 14:13 | Matthias Wachs | Additional Information Updated | |
| 2013-08-08 14:14 | Matthias Wachs | Description Updated | |
| 2013-08-08 15:37 | Matthias Wachs | Note Added: 0007325 | |
| 2013-08-08 15:37 | Matthias Wachs | Status | assigned => resolved |
| 2013-08-08 15:37 | Matthias Wachs | Resolution | open => fixed |
| 2013-08-10 20:43 | Christian Grothoff | Assigned To | Christian Grothoff => Matthias Wachs |
| 2013-08-10 20:43 | Christian Grothoff | Category | DNS service => util library |
| 2013-08-10 20:43 | Christian Grothoff | Fixed in Version | => 0.10.0 |
| 2013-08-10 20:43 | Christian Grothoff | Target Version | => 0.10.0 |
| 2013-12-24 20:54 | Christian Grothoff | Status | resolved => closed |