View Issue Details

IDProjectCategoryView StatusLast Update
0001561GNUnetutil librarypublic2010-07-03 18:55
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionfixed 
Summary0001561: gnunet-service-XXX sometimes fails to terminate
DescriptionARM sends the signal, but stats does not die and then ARM hangs waiting for stats to die. Happens rarely (reproduced using test_core_api_start_only on GNU/Linux I7).
Additional InformationNow also seen with gnunet-service-transport. Sending a second TERM signal via console does terminate the process.
TagsNo tags attached.

Relationships

related to 0001567 closed gnunet-arm not shutting down 
related to 0001576 closedChristian Grothoff transport reliability test fails with corrupted message id 

Activities

Christian Grothoff

2010-05-26 11:56

manager   ~0004021

Also seen it happen with peerinfo service now.

mrwiggles

2010-06-30 12:17

reporter   ~0004048

Last edited: 2010-06-30 12:18

Happens with gnunet-service-transport (waiting on stats) on tcp reliability testcase (only seen on debian-amd64-grothoff). Happens nearly every time (that the test doesn't fail otherwise). I altered the config files for the reliability tests so statistics doesn't load. Not sure whether that nails the problem to statistics or not.

Christian Grothoff

2010-07-01 07:49

manager   ~0004049

Confirmed: without stats, the testcase passes. Also, I now have a new failing statistics testcase (!).

Christian Grothoff

2010-07-01 09:03

manager   ~0004050

stats test failed due to timeout being set too low. So again not sure what this means.

Christian Grothoff

2010-07-01 15:03

manager   ~0004052

Fixed in 12078. We got the shutdown signal before the init task was run, which meant that the shutdown task scheduled by the init task was already post-sigterm.

The fix simply runs the ready tasks (especially init) BEFORE checking for the shutdown signal, so the very first task is guaranteed to NOT be called with reason shutdown. A bit of a hack, but works and we don't have to change lots of APIs and code.

Issue History

Date ModifiedUsernameFieldChange
2010-05-26 11:55Christian GrothoffNew Issue
2010-05-26 11:56Christian GrothoffNote Added: 0004021
2010-05-26 12:09Christian GrothoffCategorystatistics service => util library
2010-05-26 12:09Christian GrothoffAdditional Information Updated
2010-05-26 12:10Christian GrothoffSummarygnunet-service-statistics sometimes fails to terminate => gnunet-service-XXX sometimes fails to terminate
2010-06-28 10:43Christian GrothoffRelationship addedrelated to 0001567
2010-06-30 12:17mrwigglesNote Added: 0004048
2010-06-30 12:18mrwigglesNote Edited: 0004048
2010-07-01 07:49Christian GrothoffNote Added: 0004049
2010-07-01 07:49Christian GrothoffStatusnew => assigned
2010-07-01 07:49Christian GrothoffAssigned To => Christian Grothoff
2010-07-01 07:49Christian GrothoffCategoryutil library => statistics service
2010-07-01 07:49Christian GrothoffRelationship addedrelated to 0001576
2010-07-01 09:03Christian GrothoffNote Added: 0004050
2010-07-01 11:38Christian GrothoffCategorystatistics service => util library
2010-07-01 11:38Christian GrothoffAssigned ToChristian Grothoff =>
2010-07-01 11:38Christian GrothoffStatusassigned => confirmed
2010-07-01 15:03Christian GrothoffNote Added: 0004052
2010-07-01 15:03Christian GrothoffStatusconfirmed => resolved
2010-07-01 15:03Christian GrothoffResolutionopen => fixed
2010-07-01 15:03Christian GrothoffAssigned To => Christian Grothoff
2010-07-03 18:55Christian GrothoffStatusresolved => closed