View Issue Details

IDProjectCategoryView StatusLast Update
0003589GNUnettransport servicepublic2018-06-07 00:25
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityurgentSeveritycrashReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003589: valgrind errors when using transport's monitoring capabilities
Description==31617== Invalid write of size 1
==31617== at 0x4C2D9C3: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
==31617== by 0x40EFCC: plugin_session_info_cb (gnunet-service-transport_clients.c:1468)
==31617== by 0x9301896: notify_session_monitor (plugin_transport_tcp.c:487)
==31617== by 0x930A16C: send_session_info_iter (plugin_transport_tcp.c:2650)
==31617== by 0x5A9E0EC: GNUNET_CONTAINER_multipeermap_iterate (container_multipeermap.c:343)
==31617== by 0x930A1E1: tcp_plugin_setup_monitor (plugin_transport_tcp.c:2685)
==31617== by 0x41D994: GST_plugins_monitor_subscribe (gnunet-service-transport_plugins.c:397)
==31617== by 0x40F08D: clients_handle_monitor_plugins (gnunet-service-transport_clients.c:1498)
==31617== by 0x5AC7464: GNUNET_SERVER_inject (server.c:989)
==31617== by 0x5AC80EB: client_message_tokenizer_callback (server.c:1213)
==31617== by 0x5ACA847: GNUNET_SERVER_mst_receive (server_mst.c:262)
==31617== by 0x5AC7CE8: process_incoming (server.c:1144)
==31617== Address 0x9a6a0e0 is 0 bytes after a block of size 96 alloc'd
==31617== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==31617== by 0x5A8A943: GNUNET_xmalloc_unchecked_ (common_allocation.c:144)
==31617== by 0x5A8A5EF: GNUNET_xmalloc_ (common_allocation.c:71)
==31617== by 0x40EE57: plugin_session_info_cb (gnunet-service-transport_clients.c:1452)
==31617== by 0x9301896: notify_session_monitor (plugin_transport_tcp.c:487)
==31617== by 0x930A16C: send_session_info_iter (plugin_transport_tcp.c:2650)
==31617== by 0x5A9E0EC: GNUNET_CONTAINER_multipeermap_iterate (container_multipeermap.c:343)
==31617== by 0x930A1E1: tcp_plugin_setup_monitor (plugin_transport_tcp.c:2685)
==31617== by 0x41D994: GST_plugins_monitor_subscribe (gnunet-service-transport_plugins.c:397)
==31617== by 0x40F08D: clients_handle_monitor_plugins (gnunet-service-transport_clients.c:1498)
==31617== by 0x5AC7464: GNUNET_SERVER_inject (server.c:989)
==31617== by 0x5AC80EB: client_message_tokenizer_callback (server.c:1213)
==31617==
==31617== Invalid write of size 1
==31617== at 0x4C2D9C3: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
==31617== by 0x40EFCC: plugin_session_info_cb (gnunet-service-transport_clients.c:1468)
==31617== by 0x9301896: notify_session_monitor (plugin_transport_tcp.c:487)
==31617== by 0x930A184: send_session_info_iter (plugin_transport_tcp.c:2655)
==31617== by 0x5A9E0EC: GNUNET_CONTAINER_multipeermap_iterate (container_multipeermap.c:343)
==31617== by 0x930A1E1: tcp_plugin_setup_monitor (plugin_transport_tcp.c:2685)
==31617== by 0x41D994: GST_plugins_monitor_subscribe (gnunet-service-transport_plugins.c:397)
==31617== by 0x40F08D: clients_handle_monitor_plugins (gnunet-service-transport_clients.c:1498)
==31617== by 0x5AC7464: GNUNET_SERVER_inject (server.c:989)
==31617== by 0x5AC80EB: client_message_tokenizer_callback (server.c:1213)
==31617== by 0x5ACA847: GNUNET_SERVER_mst_receive (server_mst.c:262)
==31617== by 0x5AC7CE8: process_incoming (server.c:1144)
==31617== Address 0x9a670b0 is 0 bytes after a block of size 96 alloc'd
==31617== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==31617== by 0x5A8A943: GNUNET_xmalloc_unchecked_ (common_allocation.c:144)
==31617== by 0x5A8A5EF: GNUNET_xmalloc_ (common_allocation.c:71)
==31617== by 0x40EE57: plugin_session_info_cb (gnunet-service-transport_clients.c:1452)
==31617== by 0x9301896: notify_session_monitor (plugin_transport_tcp.c:487)
==31617== by 0x930A184: send_session_info_iter (plugin_transport_tcp.c:2655)
==31617== by 0x5A9E0EC: GNUNET_CONTAINER_multipeermap_iterate (container_multipeermap.c:343)
==31617== by 0x930A1E1: tcp_plugin_setup_monitor (plugin_transport_tcp.c:2685)
==31617== by 0x41D994: GST_plugins_monitor_subscribe (gnunet-service-transport_plugins.c:397)
==31617== by 0x40F08D: clients_handle_monitor_plugins (gnunet-service-transport_clients.c:1498)
==31617== by 0x5AC7464: GNUNET_SERVER_inject (server.c:989)
==31617== by 0x5AC80EB: client_message_tokenizer_callback (server.c:1213)
==31617==
==31617== Invalid write of size 1
==31617== at 0x4C2D9C3: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
==31617== by 0x40EFCC: plugin_session_info_cb (gnunet-service-transport_clients.c:1468)
==31617== by 0x9301896: notify_session_monitor (plugin_transport_tcp.c:487)
==31617== by 0x930314B: tcp_plugin_disconnect_session (plugin_transport_tcp.c:893)
==31617== by 0x9303404: session_timeout (plugin_transport_tcp.c:964)
==31617== by 0x5AC32E9: run_ready (scheduler.c:595)
==31617== by 0x5AC3B77: GNUNET_SCHEDULER_run (scheduler.c:817)
==31617== by 0x5AD1C61: GNUNET_SERVICE_run (service.c:1502)
==31617== by 0x4080B1: main (gnunet-service-transport.c:1201)
==31617== Address 0x9afed80 is 0 bytes after a block of size 96 alloc'd
==31617== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==31617== by 0x5A8A943: GNUNET_xmalloc_unchecked_ (common_allocation.c:144)
==31617== by 0x5A8A5EF: GNUNET_xmalloc_ (common_allocation.c:71)
==31617== by 0x40EE57: plugin_session_info_cb (gnunet-service-transport_clients.c:1452)
==31617== by 0x9301896: notify_session_monitor (plugin_transport_tcp.c:487)
==31617== by 0x930314B: tcp_plugin_disconnect_session (plugin_transport_tcp.c:893)
==31617== by 0x9303404: session_timeout (plugin_transport_tcp.c:964)
==31617== by 0x5AC32E9: run_ready (scheduler.c:595)
==31617== by 0x5AC3B77: GNUNET_SCHEDULER_run (scheduler.c:817)
==31617== by 0x5AD1C61: GNUNET_SERVICE_run (service.c:1502)
==31617== by 0x4080B1: main (gnunet-service-transport.c:1201)
==31617==
TagsNo tags attached.

Activities

Christian Grothoff

2014-12-23 23:55

manager   ~0008726

Fixed in SVN 34777.

Issue History

Date Modified Username Field Change
2014-12-23 23:52 Christian Grothoff New Issue
2014-12-23 23:52 Christian Grothoff Status new => assigned
2014-12-23 23:52 Christian Grothoff Assigned To => Christian Grothoff
2014-12-23 23:52 Christian Grothoff Priority normal => urgent
2014-12-23 23:55 Christian Grothoff Note Added: 0008726
2014-12-23 23:55 Christian Grothoff Status assigned => resolved
2014-12-23 23:55 Christian Grothoff Fixed in Version => 0.11.0pre66
2014-12-23 23:55 Christian Grothoff Resolution open => fixed
2018-06-07 00:25 Christian Grothoff Status resolved => closed