View Issue Details

IDProjectCategoryView StatusLast Update
0003178GNUnetset servicepublic2013-12-24 19:54
ReporterLRN Assigned ToFlorian Dold Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003178: test_set_union_result_full crashes (on shutdown?)
DescriptionThe test crashes in set service. This seems to be happening during shutdown, because killing the crashed process does not prevent the test from passing.
Steps To ReproduceRun test_set_union_result_full on W32
Additional Information
Reading symbols from d:\progs\gnunet\lib\gnunet\libexec\gnunet-service-set.exe...done.
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 7296.0x3bac]
0x004089e7 in send_remaining_elements (cls=0xaa04f0) at gnunet-service-set_union.c:1006
1006      res = GNUNET_CONTAINER_multihashmap32_iterator_next (op->state->full_result_iter, NULL, (const void **) &ke);
(gdb) bt
#0  0x004089e7 in send_remaining_elements (cls=0xaa04f0) at gnunet-service-set_union.c:1006
#1  0x00efe935 in impl_send_continue (cls=0xa98a58, tc=0x28fbf0) at mq.c:289
#2  0x00f0fc15 in run_ready (rs=0xa9d280, ws=0xa9e298) at scheduler.c:595
#3  0x00f10491 in GNUNET_SCHEDULER_run (task=0xf1c158 <service_task>, task_cls=0x28fd98) at scheduler.c:817
#4  0x00f1d027 in GNUNET_SERVICE_run (argc=5, argv=0xa89ff8, service_name=0x410443 <_Jv_RegisterClasses+4260931> "set", options=GNUNET_SERVICE_OPTION_NONE, task=0x40609d <run>, task_cls=0x0) at service.c:1478
#5  0x0040620f in main (argc=5, argv=0xa89ff8) at gnunet-service-set.c:1391
(gdb) p/x *op
$1 = {vt = 0xdf000e6, channel = 0xdf0adba, mq = 0xdf0adba, is_incoming = 0xdf0adba, generation_created = 0xdf0adba, spec = 0xdf0adba, state = 0xdf0adba, next = 0xdf0adba, prev = 0xdf0adba}
TagsNo tags attached.

Activities

Florian Dold

2013-12-09 19:03

developer   ~0007804

This seems to be caused by MQ not checking the shutdown flag for a task ... I'm working on it.

Florian Dold

2013-12-09 20:28

developer   ~0007805

Should be fixed in r31240.

Issue History

Date ModifiedUsernameFieldChange
2013-12-09 18:35LRNNew Issue
2013-12-09 18:35LRNStatusnew => assigned
2013-12-09 18:35LRNAssigned To => Florian Dold
2013-12-09 19:03Florian DoldNote Added: 0007804
2013-12-09 20:28Florian DoldNote Added: 0007805
2013-12-09 20:28Florian DoldStatusassigned => resolved
2013-12-09 20:28Florian DoldResolutionopen => fixed
2013-12-09 21:48Christian GrothoffProduct Version => Git master
2013-12-09 21:48Christian GrothoffFixed in Version => 0.10.0
2013-12-09 21:48Christian GrothoffTarget Version => 0.10.0
2013-12-24 19:54Christian GrothoffStatusresolved => closed