View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001707 | GNUnet | file-sharing service | public | 2011-06-16 18:22 | 2011-07-02 09:26 |
| Reporter | mrwiggles | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Summary | 0001707: file sharing service crashes on gnunet-download (in GSF_peer_transmit_, gnunet-service-fs_cp.c:1497) | ||||
| Description | Core was generated by `gnunet-service-fs -c /home/tum_dht_testing/.gnunet/gnunet.conf -l ~/.gnunet//fs'. Program terminated with signal 11, Segmentation fault. #0 0x0804e174 in GSF_peer_transmit_ (cp=0x80baf80, is_query=0, priority=0, timeout={rel_value = 18446744073709551615}, size=32784, gmc=0x80563c5 <transmit_message>, gmc_cls=0x8074e88) at gnunet-service-fs_cp.c:1497 1497 while ( (pos != NULL) && (gdb) bt #0 0x0804e174 in GSF_peer_transmit_ (cp=0x80baf80, is_query=0, priority=0, timeout={rel_value = 18446744073709551615}, size=32784, gmc=0x80563c5 <transmit_message>, gmc_cls=0x8074e88) at gnunet-service-fs_cp.c:1497 #1 0x08056699 in transmit_content (peer=0x8074e88, block=0x80c0a28) at gnunet-service-fs_push.c:297 #2 0x08056d55 in process_migration_content (cls=0x0, key=0xff9dd2c0, size=32768, data=0xff9dd300, type=GNUNET_BLOCK_TYPE_FS_DBLOCK, priority=0, anonymity=1, expiration={abs_value = 1359676800000}, uid=66) at gnunet-service-fs_push.c:563 #3 0xf779f4ba in process_result_message (cls=0x805e7c0, msg=0xff9dd290) at datastore_api.c:1341 #4 0xf779dcb8 in receive_cb (cls=0x805e7c0, msg=0xff9dd290) at datastore_api.c:600 #5 0xf773a8bb in receive_task (cls=0x805e758, tc=0xff9e537c) at client.c:572 #6 0xf775c0a0 in run_ready (rs=0x805af80, ws=0x805e0f8) at scheduler.c:648 #7 0xf775c52d in GNUNET_SCHEDULER_run (task=0xf776316c <service_task>, task_cls=0xff9e5520) at scheduler.c:795 #8 0xf776418a in GNUNET_SERVICE_run (argc=5, argv=0xff9e5684, serviceName=0x8057c0f "fs", opt=GNUNET_SERVICE_OPTION_NONE, task=0x804b28f <run>, task_cls=0x0) at service.c:1622 #9 0x0804b45e in main (argc=0, argv=0x0) at gnunet-service-fs.c:620 | ||||
| Tags | No tags attached. | ||||
|
|
Valgrind traces: ==4915== Invalid read of size 4 ==4915== at 0x804CA8D: GSF_peer_transmit_ (gnunet-service-fs_cp.c:1496) ==4915== by 0x8055134: transmit_content (gnunet-service-fs_push.c:297) ==4915== by 0x80553ED: process_migration_content (gnunet-service-fs_push.c:563) ==4915== by 0x404C9F8: process_result_message (datastore_api.c:1341) ==4915== by 0x404B0DB: receive_cb (datastore_api.c:600) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) ==4915== Address 0x435B35C is 260 bytes inside a block of size 324 free'd ==4915== at 0x402213F: free (vg_replace_malloc.c:233) ==4915== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==4915== by 0x804BFF5: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1716) ==4915== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==4915== by 0x409457C: GNUNET_CONTAINER_multihashmap_iterate (container_multihashmap.c:211) ==4915== by 0x407999D: reconnect_later (core_api.c:513) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) |
|
|
==4915== Invalid read of size 4 ==4915== at 0x804CBA2: GSF_peer_transmit_ (gnunet-service-fs_cp.c:1504) ==4915== by 0x8055134: transmit_content (gnunet-service-fs_push.c:297) ==4915== by 0x80553ED: process_migration_content (gnunet-service-fs_push.c:563) ==4915== by 0x404C9F8: process_result_message (datastore_api.c:1341) ==4915== by 0x404B0DB: receive_cb (datastore_api.c:600) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) ==4915== Address 0x435B360 is 264 bytes inside a block of size 324 free'd ==4915== at 0x402213F: free (vg_replace_malloc.c:233) ==4915== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==4915== by 0x804BFF5: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1716) ==4915== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==4915== by 0x409457C: GNUNET_CONTAINER_multihashmap_iterate (container_multihashmap.c:211) ==4915== by 0x407999D: reconnect_later (core_api.c:513) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) |
|
|
==4915== Invalid read of size 4 ==4915== at 0x804CAF8: GSF_peer_transmit_ (gnunet-service-fs_cp.c:1515) ==4915== by 0x8055134: transmit_content (gnunet-service-fs_push.c:297) ==4915== by 0x80553ED: process_migration_content (gnunet-service-fs_push.c:563) ==4915== by 0x404C9F8: process_result_message (datastore_api.c:1341) ==4915== by 0x404B0DB: receive_cb (datastore_api.c:600) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) ==4915== Address 0x435B344 is 236 bytes inside a block of size 324 free'd ==4915== at 0x402213F: free (vg_replace_malloc.c:233) ==4915== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==4915== by 0x804BFF5: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1716) ==4915== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==4915== by 0x409457C: GNUNET_CONTAINER_multihashmap_iterate (container_multihashmap.c:211) ==4915== by 0x407999D: reconnect_later (core_api.c:513) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) |
|
|
==4915== Invalid read of size 4 ==4915== at 0x804C829: schedule_transmission (gnunet-service-fs_cp.c:433) ==4915== by 0x804CB29: GSF_peer_transmit_ (gnunet-service-fs_cp.c:1519) ==4915== by 0x8055134: transmit_content (gnunet-service-fs_push.c:297) ==4915== by 0x80553ED: process_migration_content (gnunet-service-fs_push.c:563) ==4915== by 0x404C9F8: process_result_message (datastore_api.c:1341) ==4915== by 0x404B0DB: receive_cb (datastore_api.c:600) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) ==4915== Address 0x435B338 is 224 bytes inside a block of size 324 free'd ==4915== at 0x402213F: free (vg_replace_malloc.c:233) ==4915== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==4915== by 0x804BFF5: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1716) ==4915== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==4915== by 0x409457C: GNUNET_CONTAINER_multihashmap_iterate (container_multihashmap.c:211) ==4915== by 0x407999D: reconnect_later (core_api.c:513) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) |
|
|
==4915== Invalid read of size 4 ==4915== at 0x8055149: transmit_content (gnunet-service-fs_push.c:278) ==4915== by 0x80553ED: process_migration_content (gnunet-service-fs_push.c:563) ==4915== by 0x404C9F8: process_result_message (datastore_api.c:1341) ==4915== by 0x404B0DB: receive_cb (datastore_api.c:600) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) ==4915== Address 0x43589B8 is 224 bytes inside a block of size 324 free'd ==4915== at 0x402213F: free (vg_replace_malloc.c:233) ==4915== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==4915== by 0x804BFF5: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1716) ==4915== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==4915== by 0x409457C: GNUNET_CONTAINER_multihashmap_iterate (container_multihashmap.c:211) ==4915== by 0x407999D: reconnect_later (core_api.c:513) ==4915== by 0x408AFA0: receive_task (client.c:572) ==4915== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==4915== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==4915== by 0x804ABA1: main (gnunet-service-fs.c:620) |
|
|
Fixed in SVN 15687. |
|
|
==10211== Invalid read of size 4 ==10211== at 0x804BAFA: GSF_peer_transmit_cancel_ (gnunet-service-fs_cp.c:1534) ==10211== by 0x8055854: GSF_push_stop_ (gnunet-service-fs_push.c:645) ==10211== by 0x804C03F: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1711) ==10211== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==10211== by 0x407AFD5: main_notify_handler (core_api.c:1018) ==10211== by 0x408AFA0: receive_task (client.c:572) ==10211== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==10211== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==10211== by 0x804ABA1: main (gnunet-service-fs.c:620) ==10211== Address 0x43A3628 is 32 bytes inside a block of size 68 free'd ==10211== at 0x402213F: free (vg_replace_malloc.c:233) ==10211== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==10211== by 0x804BEBE: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1699) ==10211== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==10211== by 0x407AFD5: main_notify_handler (core_api.c:1018) ==10211== by 0x408AFA0: receive_task (client.c:572) ==10211== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==10211== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==10211== by 0x804ABA1: main (gnunet-service-fs.c:620) ==10211== ==10211== Invalid read of size 4 ==10211== at 0x804BAFD: GSF_peer_transmit_cancel_ (gnunet-service-fs_cp.c:1534) ==10211== by 0x8055854: GSF_push_stop_ (gnunet-service-fs_push.c:645) ==10211== by 0x804C03F: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1711) ==10211== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==10211== by 0x407AFD5: main_notify_handler (core_api.c:1018) ==10211== by 0x408AFA0: receive_task (client.c:572) ==10211== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==10211== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==10211== by 0x804ABA1: main (gnunet-service-fs.c:620) ==10211== Address 0x43A3624 is 28 bytes inside a block of size 68 free'd ==10211== at 0x402213F: free (vg_replace_malloc.c:233) ==10211== by 0x408B520: GNUNET_xfree_ (common_allocation.c:196) ==10211== by 0x804BEBE: GSF_peer_disconnect_handler_ (gnunet-service-fs_cp.c:1699) ==10211== by 0x4079C4F: disconnect_and_free_peer_entry (core_api.c:448) ==10211== by 0x407AFD5: main_notify_handler (core_api.c:1018) ==10211== by 0x408AFA0: receive_task (client.c:572) ==10211== by 0x40A87E8: GNUNET_SCHEDULER_run (scheduler.c:648) ==10211== by 0x40AEB78: GNUNET_SERVICE_run (service.c:1622) ==10211== by 0x804ABA1: main (gnunet-service-fs.c:620) |
|
|
Fixed now in 15691. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-06-16 18:22 | mrwiggles | New Issue | |
| 2011-06-16 18:22 | mrwiggles | Status | new => assigned |
| 2011-06-16 18:22 | mrwiggles | Assigned To | => Christian Grothoff |
| 2011-06-17 10:09 | Christian Grothoff | Summary | file sharing service crashes on gnunet-download => file sharing service crashes on gnunet-download (in GSF_peer_transmit_, gnunet-service-fs_cp.c:1497) |
| 2011-06-17 10:22 | Christian Grothoff | Severity | minor => crash |
| 2011-06-17 11:17 | mrwiggles | Note Added: 0004400 | |
| 2011-06-17 11:18 | mrwiggles | Note Added: 0004401 | |
| 2011-06-17 11:18 | mrwiggles | Note Added: 0004402 | |
| 2011-06-17 11:18 | mrwiggles | Note Added: 0004403 | |
| 2011-06-17 11:19 | mrwiggles | Note Added: 0004404 | |
| 2011-06-17 11:29 | Christian Grothoff | Note Added: 0004405 | |
| 2011-06-17 11:29 | Christian Grothoff | Status | assigned => resolved |
| 2011-06-17 11:29 | Christian Grothoff | Resolution | open => fixed |
| 2011-06-17 11:30 | Christian Grothoff | Status | resolved => closed |
| 2011-06-17 12:52 | mrwiggles | Note Added: 0004420 | |
| 2011-06-17 12:52 | mrwiggles | Status | closed => feedback |
| 2011-06-17 12:52 | mrwiggles | Resolution | fixed => reopened |
| 2011-06-17 12:53 | Christian Grothoff | Note Added: 0004421 | |
| 2011-06-17 12:53 | Christian Grothoff | Status | feedback => resolved |
| 2011-06-17 12:53 | Christian Grothoff | Resolution | reopened => fixed |
| 2011-07-02 09:26 | Christian Grothoff | Status | resolved => closed |