View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003133 | GNUnet | file-sharing service | public | 2013-11-27 00:33 | 2013-12-24 20:54 |
Reporter | bratao | Assigned To | Christian Grothoff | ||
Priority | urgent | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Platform | W32 | OS | Windows | OS Version | 8.1 |
Product Version | Git master | ||||
Target Version | 0.10.0 | Fixed in Version | 0.10.0 | ||
Summary | 0003133: Segmentation fault in GSF_mesh_query_cancel | ||||
Description | I have A and B machines, connect by LAN. A is sharing 3 files. And B is downloading those 3 files. A crash in Mesh (already reported). After some time B crash in service-fs. B crash dump is attached. | ||||
Additional Information | Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 4876.0x1110] 0x62b579a0 in GNUNET_CONTAINER_multihashmap_size (map=0x650073) at container_multihashmap.c:263 263 return map->size; (gdb) bt full #0 0x62b579a0 in GNUNET_CONTAINER_multihashmap_size (map=0x650073) at container_multihashmap.c:263 No locals. #1 0x00416a40 in GSF_mesh_query_cancel (sr=0x2ae2b38) at gnunet-service-fs_mesh_client.c:609 mh = 0x1ce48b8 __FUNCTION__ = "GSF_mesh_query_cancel" #2 0x0040fa26 in clean_request (cls=0x0, key=0x2b12e60, value=0x2b12e60) at gnunet-service-fs_pr.c:632 pr = 0x2b12e60 cont = 0x0 __FUNCTION__ = "clean_request" #3 0x0040fcf5 in GSF_pending_request_cancel_ (pr=0x2b12e60, full_cleanup=1) at gnunet-service-fs_pr.c:699 cont = 0x201 __FUNCTION__ = "GSF_pending_request_cancel_" #4 0x0040a45f in client_request_destroy (cls=0x3efc70, tc=0x28fc00) at gnunet-service-fs_lc.c:200 cr = 0x3efc70 lc = 0x1cd0d60 __FUNCTION__ = "client_request_destroy" #5 0x62b7f6e1 in run_ready (rs=0x3ed5e8, ws=0x3ee600) at scheduler.c:593 p = GNUNET_SCHEDULER_PRIORITY_DEFAULT pos = 0x1cd2c50 tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x3ed5e8, write_ready = 0x3ee600} __FUNCTION__ = "run_ready" #6 0x62b7ff5d in GNUNET_SCHEDULER_run (task=0x62b8bc24 <service_task>, task_cls=0x28fda8) at scheduler.c:808 rs = 0x3ed5e8 ws = 0x3ee600 timeout = {rel_value_us = 0} ret = 5 shc_int = 0x3eca20 shc_term = 0x3ecd80 last_tr = 13455 busy_wait_warning = 0 pr = 0x3ed4a8 c = 98 'b' __FUNCTION__ = "GNUNET_SCHEDULER_run" #7 0x62b8caf3 in GNUNET_SERVICE_run (argc=3, argv=0x1cc1350, service_name=0x41c163 <_Jv_RegisterClasses+4309347> "fs", options=GNUNET_SERVICE_OPTION_NONE, task=0x402273 <run>, task_cls=0x0) at service.c:1478 err = 0 ret = 3 cfg_fn = 0x1cc1b48 "~/.gnunet/gnunet.conf" opt_cfg_fn = 0x1cc41a0 "C:\\Users\\slave\\AppData\\Roaming\\Cangote\\can gote.conf" loglev = 0x0 logfile = 0x0 do_daemonize = 0 i = 0 skew_offset = 8429334050093769794 skew_variance = 11538378131247952 clock_offset = 962076973424 sctx = {cfg = 0x1cc0e38, server = 0x1cc3df0, addrs = 0x0, service_name = 0x41c163 <_Jv_RegisterClasses+4309347> "fs", task = 0x402273 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x1cc2d40, v6_allowed = 0x1cc4da0, my_handlers = 0x3ef690, addrlens = 0x0, lsocks = 0x3ed3d0, shutdown_task = 5, timeout = {rel_value_us = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 0, match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE} cfg = 0x1cc0e38 xdg = 0x0 service_options = {{shortName = 99 'c', name = 0x62ba711c <defhandlers+1308> "config", argumentHelp = 0x62ba7123 <defhandlers+1315> "FILENAME", description = 0x62ba712c <defhandlers+1324> "use configuration file FILENAME", require_argument = 1, processor = 0x62b6b55e <GNUNET_GETOPT_set_string>, scls = 0x28fe28}, {shortName = 100 'd', name = 0x62ba714c <defhandlers+1356> "daemonize", argumentHelp = 0x0, description = 0x62ba7158 <defhandlers+1368> "do daemonize (detach fr om terminal)", require_argument = 0, processor = 0x62b6b542 <GNUNET_GETOPT_set_one>, scls = 0x28fe1c}, {shortName = 104 'h', name = 0x62ba717c <defhandlers+1404> "help", argumentHelp = 0x0, description = 0x62ba7181 <defhandlers+1409> "print this help", require_argument = 0, processor = 0x62b6b0d7 <GNUNET_GETOPT_format_help_>, scls = 0x0}, {shortName = 76 'L', name = 0x62ba7191 <defhandlers+1425> "log", argumentHelp = 0x62ba7195 <defhandlers+1429> "LOGLEVEL", description = 0x62ba71a0 <defhandlers+1440> "configure logging to us e LOGLEVEL", require_argument = 1, processor = 0x62b6b55e <GNUNET_GETOPT_set_string>, scls = 0x28fe24}, {shortName = 108 'l', name = 0x62ba71c2 <defhandlers+1474> "logfile", argumentHelp = 0x62ba71ca <defhandlers+1482> "LOGFILE", description = 0x62ba71d4 <defhandlers+1492> "configure logging to wr ite logs to LOGFILE", require_argument = 1, processor = 0x62b6b55e <GNUNET_GETOPT_set_string>, scls = 0x28fe20}, {shortName = 118 'v', name = 0x62ba71ff <defhandlers+1535> "version", argumentHelp = 0x0, description = 0x62ba7207 <defhandlers+1543> "print the version numbe r", require_argument = 0, processor = 0x62b6b0a8 <GNUNET_GETOPT_print_version_>, scls = 0x62ba7220 <defhandlers+1568>}, {shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0x0, scls = 0x0}} __FUNCTION__ = "GNUNET_SERVICE_run" #8 0x004024fa in main (argc=3, argv=0x1cc1350) at gnunet-service-fs.c:721 No locals. (gdb) | ||||
Tags | No tags attached. | ||||
has duplicate | 0003145 | closed | Christian Grothoff | FS crashes when mesh crashes |
|
I committed some code cleanup that should make what seems to be a use-after-free bug harder to produce; however, I could not identify a semantic change in this process, so likely this doesn't fix it. Reproducing this on a system with valgrind would be valuable help debugging this. |
|
Nov 29 15:07:29-625022 fs-25254 WARNING External protocol violation detected at gnunet-service-fs_mesh_client.c:470. Nov 29 15:07:29-701037 fs-25254 WARNING Received bogus reply of type 0 with 0 bytes via mesh from peer 6DER ==25254== Invalid read of size 8 ==25254== at 0x12380E: GSF_mesh_query_cancel (gnunet-service-fs_mesh_client.c:624) ==25254== by 0x11BFDD: clean_request (gnunet-service-fs_pr.c:603) ==25254== by 0x11C459: GSF_pending_request_cancel_ (gnunet-service-fs_pr.c:702) ==25254== by 0x116569: client_request_destroy (gnunet-service-fs_lc.c:200) ==25254== by 0x5F0612A: run_ready (scheduler.c:593) ==25254== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25254== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25254== by 0x10DD91: main (gnunet-service-fs.c:721) ==25254== Address 0x7fbf860 is 0 bytes inside a block of size 88 free'd ==25254== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25254== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25254== by 0x123D1C: cleaner_cb (gnunet-service-fs_mesh_client.c:694) ==25254== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25254== by 0x5897D87: GNUNET_MESH_channel_destroy (mesh_api.c:1476) ==25254== by 0x58950C5: process_incoming_data (mesh_api.c:899) ==25254== by 0x58956E7: msg_received (mesh_api.c:1070) ==25254== by 0x5EC75AB: receive_task (client.c:589) ==25254== by 0x5F0612A: run_ready (scheduler.c:593) ==25254== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25254== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25254== by 0x10DD91: main (gnunet-service-fs.c:721) ==25254== Nov 29 15:07:30-038599 fs-25254 ERROR Assertion failed at gnunet-service-fs_mesh_client.c:626. ==25251== Invalid write of size 8 ==25251== at 0x1248B0: handle_datastore_reply (gnunet-service-fs_mesh_server.c:338) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d60 is 48 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid write of size 8 ==25251== at 0x124C28: handle_datastore_reply (gnunet-service-fs_mesh_server.c:377) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d78 is 72 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid read of size 8 ==25251== at 0x124C3D: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d50 is 32 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid read of size 8 ==25251== at 0x124CF5: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d58 is 40 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid read of size 8 ==25251== at 0x124DA1: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d50 is 32 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid read of size 8 ==25251== at 0x124DBC: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d58 is 40 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid read of size 8 ==25251== at 0x124DD7: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xb882d50 is 32 bytes inside a block of size 80 free'd ==25251== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25251== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25251== by 0x1259C4: cleaner_cb (gnunet-service-fs_mesh_server.c:522) ==25251== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25251== by 0x5894C49: process_channel_destroy (mesh_api.c:849) ==25251== by 0x58956CF: msg_received (mesh_api.c:1067) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== ==25251== Invalid write of size 8 ==25251== at 0x124DDF: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25251== Address 0xdf0adba0df0adc2 is not stack'd, malloc'd or (recently) free'd ==25251== ==25251== ==25251== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==25251== General Protection Fault ==25251== at 0x124DDF: handle_datastore_reply (gnunet-service-fs_mesh_server.c:378) ==25251== by 0x54868BC: process_result_message (datastore_api.c:1199) ==25251== by 0x54842F9: receive_cb (datastore_api.c:590) ==25251== by 0x5EC75AB: receive_task (client.c:589) ==25251== by 0x5F0612A: run_ready (scheduler.c:593) ==25251== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25251== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25251== by 0x10DD91: main (gnunet-service-fs.c:721) ==25254== ==25254== HEAP SUMMARY: ==25254== in use at exit: 911,819 bytes in 2,097 blocks ==25254== total heap usage: 154,616 allocs, 152,519 frees, 26,393,714 bytes allocated ==25254== ==25251== ==25251== HEAP SUMMARY: ==25251== in use at exit: 18,032,300 bytes in 5,985 blocks ==25251== total heap usage: 335,374 allocs, 329,389 frees, 65,871,154 bytes allocated ==25251== ==25254== LEAK SUMMARY: ==25254== definitely lost: 0 bytes in 0 blocks ==25254== indirectly lost: 0 bytes in 0 blocks ==25254== possibly lost: 0 bytes in 0 blocks ==25254== still reachable: 911,819 bytes in 2,097 blocks ==25254== suppressed: 0 bytes in 0 blocks ==25254== Rerun with --leak-check=full to see details of leaked memory ==25254== ==25254== For counts of detected and suppressed errors, rerun with: -v ==25254== Use --track-origins=yes to see where uninitialised values come from ==25254== ERROR SUMMARY: 938 errors from 2 contexts (suppressed: 2 from 2) ==25423== Memcheck, a memory error detector ==25423== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==25423== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==25423== Command: /home/grothoff/lib/gnunet/libexec/gnunet-service-fs -c /tmp/testbedruAmfD/1/config ==25423== ==25251== LEAK SUMMARY: ==25251== definitely lost: 0 bytes in 0 blocks ==25251== indirectly lost: 0 bytes in 0 blocks ==25251== possibly lost: 0 bytes in 0 blocks ==25251== still reachable: 18,032,300 bytes in 5,985 blocks ==25251== suppressed: 0 bytes in 0 blocks ==25251== Rerun with --leak-check=full to see details of leaked memory ==25251== ==25251== For counts of detected and suppressed errors, rerun with: -v ==25251== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 2 from 2) ==25426== Memcheck, a memory error detector ==25426== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==25426== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==25426== Command: /home/grothoff/lib/gnunet/libexec/gnunet-service-fs -c /tmp/testbedruAmfD/0/config ==25426== Nov 29 15:07:32-909471 fs-25423 WARNING External protocol violation detected at gnunet-service-fs_mesh_client.c:470. Nov 29 15:07:32-981028 fs-25423 WARNING Received bogus reply of type 0 with 0 bytes via mesh from peer 6DER Nov 29 15:07:33-368786 fs-25423 WARNING External protocol violation detected at gnunet-service-fs_mesh_client.c:470. Nov 29 15:07:33-369239 fs-25423 WARNING Received bogus reply of type 0 with 0 bytes via mesh from peer 6DER ==25423== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==25423== at 0x643D82D: send (send.c:27) ==25423== by 0x5EF90EC: GNUNET_NETWORK_socket_send (network.c:735) ==25423== by 0x5ED6BC1: transmit_ready (connection.c:1314) ==25423== by 0x5F0612A: run_ready (scheduler.c:593) ==25423== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25423== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25423== by 0x10DD91: main (gnunet-service-fs.c:721) ==25423== Address 0x9d81134 is 180 bytes inside a block of size 32,844 alloc'd ==25423== at 0x4C2B72E: realloc (vg_replace_malloc.c:662) ==25423== by 0x5ECA295: GNUNET_xrealloc_ (common_allocation.c:177) ==25423== by 0x5ED6930: transmit_ready (connection.c:1300) ==25423== by 0x5F0612A: run_ready (scheduler.c:593) ==25423== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25423== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25423== by 0x10DD91: main (gnunet-service-fs.c:721) ==25423== ==25423== Invalid read of size 8 ==25423== at 0x12380E: GSF_mesh_query_cancel (gnunet-service-fs_mesh_client.c:624) ==25423== by 0x11BFDD: clean_request (gnunet-service-fs_pr.c:603) ==25423== by 0x11C459: GSF_pending_request_cancel_ (gnunet-service-fs_pr.c:702) ==25423== by 0x116569: client_request_destroy (gnunet-service-fs_lc.c:200) ==25423== by 0x5F0612A: run_ready (scheduler.c:593) ==25423== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25423== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25423== by 0x10DD91: main (gnunet-service-fs.c:721) ==25423== Address 0x9d63070 is 0 bytes inside a block of size 88 free'd ==25423== at 0x4C2A68C: free (vg_replace_malloc.c:446) ==25423== by 0x5ECA4EE: GNUNET_xfree_ (common_allocation.c:236) ==25423== by 0x123D1C: cleaner_cb (gnunet-service-fs_mesh_client.c:694) ==25423== by 0x58932B4: destroy_channel (mesh_api.c:481) ==25423== by 0x5897D87: GNUNET_MESH_channel_destroy (mesh_api.c:1476) ==25423== by 0x58950C5: process_incoming_data (mesh_api.c:899) ==25423== by 0x58956E7: msg_received (mesh_api.c:1070) ==25423== by 0x5EC75AB: receive_task (client.c:589) ==25423== by 0x5F0612A: run_ready (scheduler.c:593) ==25423== by 0x5F06A7D: GNUNET_SCHEDULER_run (scheduler.c:808) ==25423== by 0x5F158A8: GNUNET_SERVICE_run (service.c:1478) ==25423== by 0x10DD91: main (gnunet-service-fs.c:721) ==25423== |
|
Should be fixed in SVN 30980. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-27 00:33 | bratao | New Issue | |
2013-11-27 13:42 | Christian Grothoff | Assigned To | => Christian Grothoff |
2013-11-27 13:42 | Christian Grothoff | Status | new => assigned |
2013-11-27 13:45 | Christian Grothoff | Target Version | => 0.10.0 |
2013-11-27 22:26 | Christian Grothoff | Note Added: 0007735 | |
2013-11-29 12:20 | Christian Grothoff | Priority | normal => urgent |
2013-11-29 14:14 | Bart Polot | Relationship added | has duplicate 0003145 |
2013-11-29 15:08 | Christian Grothoff | Note Added: 0007747 | |
2013-11-29 18:22 | Christian Grothoff | Note Added: 0007748 | |
2013-11-29 18:22 | Christian Grothoff | Status | assigned => resolved |
2013-11-29 18:22 | Christian Grothoff | Fixed in Version | => 0.10.0 |
2013-11-29 18:22 | Christian Grothoff | Resolution | open => fixed |
2013-12-24 20:54 | Christian Grothoff | Status | resolved => closed |