View Issue Details

IDProjectCategoryView StatusLast Update
0001778GNUnettesting librarypublic2012-02-28 11:05
ReporterChristian Grothoff Assigned ToBart Polot  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.9.0 
Target Version0.9.2Fixed in Version0.9.2 
Summary0001778: crash in testing_group.c::copy_allowed_topology
DescriptionJust got a segfault when running the test_dht_multipeer.c
Steps To ReproduceI was running 'test_dht_multipeer' in a while loop and then aborting the test with CTRL-C. I suspect the shutdown sequence free'd some memory and forgot to kill some task that was still using the memory...
Additional Information(gdb) ba
#0 0x00007f293bc1674a in copy_allowed_topology (pg=0x24043b0) at testing_group.c:3832
#1 0x00007f293bc183c7 in GNUNET_TESTING_connect_topology (pg=0x24043b0, topology=GNUNET_TESTING_TOPOLOGY_NONE, options=GNUNET_TESTING_TOPOLOGY_OPTION_ALL, option_modifier=0, connect_timeout=..., connect_attempts=5, notify_callback=0,
    notify_cls=0x0) at testing_group.c:5364
#2 0x00000000004026cc in peers_started_callback (cls=0x0, id=0x24442a8, cfg=0x243d200, d=0x24441f0, emsg=0x0) at test_dht_multipeer.c:693
#3 0x00007f293bc187ae in internal_startup_callback (cls=0x24047a0, id=0x24442a8, cfg=0x243d200, d=0x24441f0, emsg=0x0) at testing_group.c:5540
#4 0x00007f293bc0c0b2 in notify_daemon_started (cls=0x24441f0, tc=0x7ffffeaeb4a0) at testing.c:171
#5 0x00007f293be53502 in run_ready (rs=0x23fbf50, ws=0x23fbfe0) at scheduler.c:682
#6 0x00007f293be539fe in GNUNET_SCHEDULER_run (task=0x7f293be4ee00 <program_main>, task_cls=0x7ffffeaeb710) at scheduler.c:863
#7 0x00007f293be4f72f in GNUNET_PROGRAM_run (argc=3, argv=0x7ffffeaeb820, binaryName=0x403453 "test-dht-multipeer", binaryHelp=0x403486 "nohelp", options=0x7ffffeaeb7e0, task=0x4028e8 <run>, task_cls=0x603c88) at program.c:246
#8 0x0000000000402df4 in check () at test_dht_multipeer.c:950
#9 0x0000000000402e53 in main (argc=1, argv=0x7ffffeaeb978) at test_dht_multipeer.c:972
TagsNo tags attached.

Activities

Bart Polot

2012-02-24 17:31

reporter   ~0005504

Solved among many others when changed testing to cancel jobs on daemons_stop.

Issue History

Date Modified Username Field Change
2011-09-17 22:08 Christian Grothoff New Issue
2011-09-17 22:08 Christian Grothoff Status new => assigned
2011-09-17 22:08 Christian Grothoff Assigned To => mrwiggles
2011-09-17 23:37 Christian Grothoff Priority normal => low
2011-11-04 11:16 Christian Grothoff Priority low => normal
2011-11-15 13:45 Christian Grothoff Assigned To mrwiggles =>
2011-11-15 13:45 Christian Grothoff Status assigned => confirmed
2011-12-01 09:57 Christian Grothoff Target Version => 0.9.1
2011-12-06 15:44 Christian Grothoff Assigned To => Bart Polot
2011-12-06 15:44 Christian Grothoff Status confirmed => assigned
2011-12-23 11:00 Christian Grothoff Product Version Git master => 0.9.0
2011-12-23 11:00 Christian Grothoff Target Version 0.9.1 =>
2012-02-21 21:59 Christian Grothoff Target Version => 0.9.3
2012-02-24 17:31 Bart Polot Note Added: 0005504
2012-02-24 17:31 Bart Polot Status assigned => resolved
2012-02-24 17:31 Bart Polot Fixed in Version => 0.9.2
2012-02-24 17:31 Bart Polot Resolution open => fixed
2012-02-24 20:40 Christian Grothoff Target Version 0.9.3 => 0.9.2
2012-02-28 11:05 Christian Grothoff Status resolved => closed