View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001693 | GNUnet | file-sharing service | public | 2011-06-14 12:02 | 2011-07-20 21:29 |
| Reporter | mrwiggles | Assigned To | Christian Grothoff | ||
| Priority | low | Severity | minor | Reproducibility | random |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Summary | 0001693: uninitialized memory in IPC messages generated by gnunet-service-fs | ||||
| Description | Possibly a connection.c problem ==8586== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==8586== at 0x6E59382: send (in /lib64/libc-2.13.so) ==8586== by 0x60C5067: GNUNET_NETWORK_socket_send (network.c:568) ==8586== by 0x60B3BAC: transmit_ready (connection.c:1563) ==8586== by 0x60CBF7E: run_ready (scheduler.c:643) ==8586== by 0x60CC428: GNUNET_SCHEDULER_run (scheduler.c:790) ==8586== by 0x60D39F5: GNUNET_SERVICE_run (service.c:1620) ==8586== by 0x40482C: main (gnunet-service-fs.c:621) ==8586== Address 0x74345f9 is 249 bytes inside a block of size 32,876 alloc'd ==8586== at 0x4C28D32: realloc (vg_replace_malloc.c:525) ==8586== by 0x60AD823: GNUNET_xrealloc_ (common_allocation.c:167) ==8586== by 0x60B3A4D: transmit_ready (connection.c:1548) ==8586== by 0x60CBF7E: run_ready (scheduler.c:643) ==8586== by 0x60CC428: GNUNET_SCHEDULER_run (scheduler.c:790) ==8586== by 0x60D39F5: GNUNET_SERVICE_run (service.c:1620) ==8586== by 0x40482C: main (gnunet-service-fs.c:621) | ||||
| Tags | No tags attached. | ||||
|
|
Definitively a problem in gnunet-service-fs*.c. Some member in some message is not fully initialized... |
|
|
Still there: ==14883== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==14883== at 0x516F202: send (send.c:28) ==14883== by 0x4C77B1C: GNUNET_NETWORK_socket_send (network.c:572) ==14883== by 0x4C661D2: transmit_ready (connection.c:1583) ==14883== by 0x4C80235: run_ready (scheduler.c:648) ==14883== by 0x4C80638: GNUNET_SCHEDULER_run (scheduler.c:795) ==14883== by 0x4C7C3F7: GNUNET_PROGRAM_run (program.c:235) ==14883== by 0x40257B: main (test_fs_namespace.c:447) ==14883== Address 0x6e49f30 is 16 bytes inside a block of size 144 alloc'd ==14883== at 0x4028732: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==14883== by 0x4C5FBCA: GNUNET_xrealloc_ (common_allocation.c:167) ==14883== by 0x4C66076: transmit_ready (connection.c:1568) ==14883== by 0x4C80235: run_ready (scheduler.c:648) ==14883== by 0x4C80638: GNUNET_SCHEDULER_run (scheduler.c:795) ==14883== by 0x4C7C3F7: GNUNET_PROGRAM_run (program.c:235) ==14883== by 0x40257B: main (test_fs_namespace.c:447) |
|
|
==14976== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==14976== at 0x516F202: send (send.c:28) ==14976== by 0x4C77B1C: GNUNET_NETWORK_socket_send (network.c:572) ==14976== by 0x4C661D2: transmit_ready (connection.c:1583) ==14976== by 0x4C80235: run_ready (scheduler.c:648) ==14976== by 0x4C80638: GNUNET_SCHEDULER_run (scheduler.c:795) ==14976== by 0x4C7C3F7: GNUNET_PROGRAM_run (program.c:235) ==14976== by 0x401E2E: main (test_fs_search.c:296) ==14976== Address 0x6bb2d70 is 16 bytes inside a block of size 144 alloc'd ==14976== at 0x4028732: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==14976== by 0x4C5FBCA: GNUNET_xrealloc_ (common_allocation.c:167) ==14976== by 0x4C66076: transmit_ready (connection.c:1568) ==14976== by 0x4C80235: run_ready (scheduler.c:648) ==14976== by 0x4C80638: GNUNET_SCHEDULER_run (scheduler.c:795) ==14976== by 0x4C7C3F7: GNUNET_PROGRAM_run (program.c:235) ==14976== by 0x401E2E: main (test_fs_search.c:296) |
|
|
==15050== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==15050== at 0x516F202: send (send.c:28) ==15050== by 0x4C77B1C: GNUNET_NETWORK_socket_send (network.c:572) ==15050== by 0x4C661D2: transmit_ready (connection.c:1583) ==15050== by 0x4C80235: run_ready (scheduler.c:648) ==15050== by 0x4C80638: GNUNET_SCHEDULER_run (scheduler.c:795) ==15050== by 0x4C7C3F7: GNUNET_PROGRAM_run (program.c:235) ==15050== by 0x40202E: main (test_fs_search_persistence.c:367) ==15050== Address 0x6c6e6d0 is 16 bytes inside a block of size 144 alloc'd ==15050== at 0x4028732: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==15050== by 0x4C5FBCA: GNUNET_xrealloc_ (common_allocation.c:167) ==15050== by 0x4C66076: transmit_ready (connection.c:1568) ==15050== by 0x4C80235: run_ready (scheduler.c:648) ==15050== by 0x4C80638: GNUNET_SCHEDULER_run (scheduler.c:795) ==15050== by 0x4C7C3F7: GNUNET_PROGRAM_run (program.c:235) ==15050== by 0x40202E: main (test_fs_search_persistence.c:367) |
|
|
Fixed in SVN 16098. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-06-14 12:02 | mrwiggles | New Issue | |
| 2011-06-14 12:09 | Christian Grothoff | Category | util library => FS service |
| 2011-06-14 12:09 | Christian Grothoff | Status | new => assigned |
| 2011-06-14 12:09 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2011-06-14 13:19 | Christian Grothoff | Note Added: 0004362 | |
| 2011-06-14 14:15 | Christian Grothoff | Reproducibility | always => random |
| 2011-06-17 10:07 | Christian Grothoff | Summary | Running valgrind on filesharing service shows memory issue => uninitialized memory in IPC messages generated by gnunet-service-fs |
| 2011-06-17 18:18 | Christian Grothoff | Assigned To | Christian Grothoff => |
| 2011-06-17 18:19 | Christian Grothoff | Status | assigned => acknowledged |
| 2011-06-23 12:59 | Christian Grothoff | Priority | normal => low |
| 2011-07-18 14:45 | Christian Grothoff | Note Added: 0004522 | |
| 2011-07-18 14:45 | Christian Grothoff | Note Added: 0004523 | |
| 2011-07-18 14:46 | Christian Grothoff | Note Added: 0004524 | |
| 2011-07-18 19:57 | Christian Grothoff | Status | acknowledged => assigned |
| 2011-07-18 19:57 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2011-07-18 20:48 | Christian Grothoff | Note Added: 0004528 | |
| 2011-07-18 20:48 | Christian Grothoff | Status | assigned => resolved |
| 2011-07-18 20:48 | Christian Grothoff | Resolution | open => fixed |
| 2011-07-20 21:29 | Christian Grothoff | Status | resolved => closed |