View Issue Details

IDProjectCategoryView StatusLast Update
0001844GNUnettransport servicepublic2011-10-31 12:00
ReporterChristian Grothoff Assigned ToMatthias Wachs  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Summary0001844: invalid write of size 8 (valgrind report)
Description==19502== Invalid write of size 8
==19502== at 0x4092FF: disconnect_neighbour (gnunet-service-transport_neighbours.c:485)
==19502== by 0x4096E0: neighbour_timeout_task (gnunet-service-transport_neighbours.c:546)
==19502== by 0x567C548: run_ready (scheduler.c:685)
==19502== by 0x567CCFF: GNUNET_SCHEDULER_run (scheduler.c:867)
==19502== by 0x56882E1: GNUNET_SERVICE_run (service.c:1608)
==19502== by 0x403B35: main (gnunet-service-transport.c:598)
==19502== Address 0x781e390 is not stack'd, malloc'd or (recently) free'd
==19502==
Oct 23 21:08:48-131043 transport-19502 WARNING Plugin gave us 76 bytes of data but somehow the session is not marked as UP yet!
Oct 23 21:08:48-131237 transport-19502 WARNING Discarded 76 bytes of type 83 from 7RAV: connection is down!

valgrind: m_mallocfree.c:225 (mk_plain_bszB): Assertion 'bszB != 0' failed.
valgrind: This is probably caused by your program erroneously writing past the
end of a heap block and corrupting heap metadata. If you fix any
invalid writes reported by Memcheck, this assertion failure will
probably go away. Please try that before reporting this as a bug.

==19502== at 0x3802B0A7: report_and_quit (m_libcassert.c:191)
==19502== by 0x3802B2E0: vgPlain_assert_fail (m_libcassert.c:265)
==19502== by 0x38037AC2: vgPlain_arena_free (m_mallocfree.c:225)
==19502== by 0x38001DE9: die_and_free_mem (mc_malloc_wrappers.c:123)
==19502== by 0x380662C1: vgPlain_scheduler (scheduler.c:1394)
==19502== by 0x3808F194: run_a_thread_NORETURN (syswrap-linux.c:94)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==19502== at 0x4C240FD: free (vg_replace_malloc.c:366)
==19502== by 0x565057B: GNUNET_xfree_ (common_allocation.c:202)
==19502== by 0x408938: transmit_send_continuation (gnunet-service-transport_neighbours.c:361)
==19502== by 0x6D1DD97: do_transmit (plugin_transport_tcp.c:722)
==19502== by 0x568037E: transmit_ready_callback_wrapper (server.c:1241)
==19502== by 0x5658F55: process_notify (connection.c:1373)
==19502== by 0x5659856: transmit_ready (connection.c:1554)
==19502== by 0x567C548: run_ready (scheduler.c:685)
==19502== by 0x567CCFF: GNUNET_SCHEDULER_run (scheduler.c:867)
==19502== by 0x56882E1: GNUNET_SERVICE_run (service.c:1608)
==19502== by 0x403B35: main (gnunet-service-transport.c:598)

TagsNo tags attached.

Activities

Matthias Wachs

2011-10-24 11:37

manager   ~0004743

fixed in 17706

Matthias Wachs

2011-10-24 11:37

manager   ~0004744

wrong bug

Christian Grothoff

2011-10-24 13:08

manager   ~0004751

Possibly fixed in SVN 17708.

Matthias Wachs

2011-10-24 14:02

manager   ~0004752

peer was running for some time and problem did not occur anymore

Issue History

Date Modified Username Field Change
2011-10-24 00:54 Christian Grothoff New Issue
2011-10-24 00:54 Christian Grothoff Status new => assigned
2011-10-24 00:54 Christian Grothoff Assigned To => Matthias Wachs
2011-10-24 11:37 Matthias Wachs Note Added: 0004743
2011-10-24 11:37 Matthias Wachs Status assigned => resolved
2011-10-24 11:37 Matthias Wachs Resolution open => fixed
2011-10-24 11:37 Matthias Wachs Note Added: 0004744
2011-10-24 11:37 Matthias Wachs Status resolved => feedback
2011-10-24 11:37 Matthias Wachs Resolution fixed => reopened
2011-10-24 13:03 Christian Grothoff Status feedback => assigned
2011-10-24 13:08 Christian Grothoff Note Added: 0004751
2011-10-24 14:02 Matthias Wachs Note Added: 0004752
2011-10-24 14:02 Matthias Wachs Status assigned => resolved
2011-10-24 14:02 Matthias Wachs Resolution reopened => fixed
2011-10-31 12:00 Christian Grothoff Status resolved => closed