View Issue Details

IDProjectCategoryView StatusLast Update
0001562GNUnetfile-sharing servicepublic2010-07-03 20:55
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityimmediateSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001562: crash in new migration test case (with valgrind)
DescriptionGot this after aborting the testcase with CTRL-C:

$ valgrind .libs/lt-test_gnunet_service_fs_migration
==3508== Memcheck, a memory error detector
==3508== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==3508== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==3508== Command: .libs/lt-test_gnunet_service_fs_migration
==3508==
^C==3508== Invalid read of size 4
==3508== at 0x403580D: GNUNET_TESTING_daemons_stop (testing_group.c:2946)
==3508== by 0x804A0B9: GNUNET_FS_TEST_daemons_stop (fs_test_lib.c:463)
==3508== by 0x8048FE6: do_stop (test_gnunet_service_fs_migration.c:66)
==3508== by 0x4088E64: run_ready (scheduler.c:559)
==3508== by 0x4089300: GNUNET_SCHEDULER_run (scheduler.c:687)
==3508== by 0x4085B51: GNUNET_PROGRAM_run (program.c:227)
==3508== by 0x8049672: main (test_gnunet_service_fs_migration.c:221)
==3508== Address 0x43c40a0 is 8 bytes before a block of size 12 free'd
==3508== at 0x4024B3A: free (vg_replace_malloc.c:366)
==3508== by 0x406B03C: GNUNET_xfree_ (common_allocation.c:158)
==3508== by 0x406C2A4: GNUNET_CONFIGURATION_destroy (configuration.c:145)
==3508== by 0x40699FC: GNUNET_CLIENT_disconnect (client.c:388)
==3508== by 0x4049097: try_reconnect (fs_download.c:1336)
==3508== by 0x4048A0B: receive_results (fs_download.c:1162)
==3508== by 0x4069B29: receive_helper (client.c:439)
==3508== by 0x406FD2C: signal_error (connection.c:1025)
==3508== by 0x40700CE: receive_again (connection.c:1134)
==3508== by 0x4088E64: run_ready (scheduler.c:559)
==3508== by 0x4089300: GNUNET_SCHEDULER_run (scheduler.c:687)
==3508== by 0x4085B51: GNUNET_PROGRAM_run (program.c:227)
==3508==
==3508== Invalid read of size 4
==3508== at 0x40356F7: GNUNET_TESTING_daemons_stop (testing_group.c:2953)
==3508== by 0x804A0B9: GNUNET_FS_TEST_daemons_stop (fs_test_lib.c:463)
==3508== by 0x8048FE6: do_stop (test_gnunet_service_fs_migration.c:66)
==3508== by 0x4088E64: run_ready (scheduler.c:559)
==3508== by 0x4089300: GNUNET_SCHEDULER_run (scheduler.c:687)
==3508== by 0x4085B51: GNUNET_PROGRAM_run (program.c:227)
==3508== by 0x8049672: main (test_gnunet_service_fs_migration.c:221)
==3508== Address 0x43c409c is 12 bytes before a block of size 12 free'd
==3508== at 0x4024B3A: free (vg_replace_malloc.c:366)
==3508== by 0x406B03C: GNUNET_xfree_ (common_allocation.c:158)
==3508== by 0x406C2A4: GNUNET_CONFIGURATION_destroy (configuration.c:145)
==3508== by 0x40699FC: GNUNET_CLIENT_disconnect (client.c:388)
==3508== by 0x4049097: try_reconnect (fs_download.c:1336)
==3508== by 0x4048A0B: receive_results (fs_download.c:1162)
==3508== by 0x4069B29: receive_helper (client.c:439)
==3508== by 0x406FD2C: signal_error (connection.c:1025)
==3508== by 0x40700CE: receive_again (connection.c:1134)
==3508== by 0x4088E64: run_ready (scheduler.c:559)
==3508== by 0x4089300: GNUNET_SCHEDULER_run (scheduler.c:687)
==3508== by 0x4085B51: GNUNET_PROGRAM_run (program.c:227)
==3508==
==3508== Invalid read of size 4
==3508== at 0x4035702: GNUNET_TESTING_daemons_stop (testing_group.c:2953)
==3508== by 0x804A0B9: GNUNET_FS_TEST_daemons_stop (fs_test_lib.c:463)
==3508== by 0x8048FE6: do_stop (test_gnunet_service_fs_migration.c:66)
==3508== by 0x4088E64: run_ready (scheduler.c:559)
==3508== by 0x4089300: GNUNET_SCHEDULER_run (scheduler.c:687)
==3508== by 0x4085B51: GNUNET_PROGRAM_run (program.c:227)
==3508== by 0x8049672: main (test_gnunet_service_fs_migration.c:221)
==3508== Address 0x3d is not stack'd, malloc'd or (recently) free'd
==3508==
==3508==
TagsNo tags attached.

Activities

Christian Grothoff

2010-05-27 14:12

manager   ~0004026

Fixed in SVN HEAD.

Issue History

Date Modified Username Field Change
2010-05-26 23:18 Christian Grothoff New Issue
2010-05-27 11:55 Christian Grothoff Priority normal => immediate
2010-05-27 11:55 Christian Grothoff Status new => assigned
2010-05-27 11:55 Christian Grothoff Assigned To => Christian Grothoff
2010-05-27 14:12 Christian Grothoff Note Added: 0004026
2010-05-27 14:12 Christian Grothoff Status assigned => resolved
2010-05-27 14:12 Christian Grothoff Resolution open => fixed
2010-07-03 20:55 Christian Grothoff Status resolved => closed