View Issue Details

IDProjectCategoryView StatusLast Update
0001778GNUnettesting librarypublic2012-02-28 10:05
ReporterChristian Grothoff Assigned ToBart Polot Due Date
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 16:31

reporter   ~0005504

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

Issue History

Date ModifiedUsernameFieldChange
2011-09-17 20:08Christian GrothoffNew Issue
2011-09-17 20:08Christian GrothoffStatusnew => assigned
2011-09-17 20:08Christian GrothoffAssigned To => mrwiggles
2011-09-17 21:37Christian GrothoffPrioritynormal => low
2011-11-04 10:16Christian GrothoffPrioritylow => normal
2011-11-15 12:45Christian GrothoffAssigned Tomrwiggles =>
2011-11-15 12:45Christian GrothoffStatusassigned => confirmed
2011-12-01 08:57Christian GrothoffTarget Version => 0.9.1
2011-12-06 14:44Christian GrothoffAssigned To => Bart Polot
2011-12-06 14:44Christian GrothoffStatusconfirmed => assigned
2011-12-23 10:00Christian GrothoffProduct VersionGit master => 0.9.0
2011-12-23 10:00Christian GrothoffTarget Version0.9.1 =>
2012-02-21 20:59Christian GrothoffTarget Version => 0.9.3
2012-02-24 16:31Bart PolotNote Added: 0005504
2012-02-24 16:31Bart PolotStatusassigned => resolved
2012-02-24 16:31Bart PolotFixed in Version => 0.9.2
2012-02-24 16:31Bart PolotResolutionopen => fixed
2012-02-24 19:40Christian GrothoffTarget Version0.9.3 => 0.9.2
2012-02-28 10:05Christian GrothoffStatusresolved => closed