View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001561 | GNUnet | util library | public | 2010-05-26 13:55 | 2010-07-03 20:55 |
Reporter | Christian Grothoff | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Summary | 0001561: gnunet-service-XXX sometimes fails to terminate | ||||
Description | ARM 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 Information | Now also seen with gnunet-service-transport. Sending a second TERM signal via console does terminate the process. | ||||
Tags | No tags attached. | ||||
related to | 0001567 | closed | gnunet-arm not shutting down | |
related to | 0001576 | closed | Christian Grothoff | transport reliability test fails with corrupted message id |
|
Also seen it happen with peerinfo service now. |
|
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. |
|
Confirmed: without stats, the testcase passes. Also, I now have a new failing statistics testcase (!). |
|
stats test failed due to timeout being set too low. So again not sure what this means. |
|
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. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-26 13:55 | Christian Grothoff | New Issue | |
2010-05-26 13:56 | Christian Grothoff | Note Added: 0004021 | |
2010-05-26 14:09 | Christian Grothoff | Category | statistics service => util library |
2010-05-26 14:09 | Christian Grothoff | Additional Information Updated | |
2010-05-26 14:10 | Christian Grothoff | Summary | gnunet-service-statistics sometimes fails to terminate => gnunet-service-XXX sometimes fails to terminate |
2010-06-28 12:43 | Christian Grothoff | Relationship added | related to 0001567 |
2010-06-30 14:17 | mrwiggles | Note Added: 0004048 | |
2010-06-30 14:18 | mrwiggles | Note Edited: 0004048 | |
2010-07-01 09:49 | Christian Grothoff | Note Added: 0004049 | |
2010-07-01 09:49 | Christian Grothoff | Status | new => assigned |
2010-07-01 09:49 | Christian Grothoff | Assigned To | => Christian Grothoff |
2010-07-01 09:49 | Christian Grothoff | Category | util library => statistics service |
2010-07-01 09:49 | Christian Grothoff | Relationship added | related to 0001576 |
2010-07-01 11:03 | Christian Grothoff | Note Added: 0004050 | |
2010-07-01 13:38 | Christian Grothoff | Category | statistics service => util library |
2010-07-01 13:38 | Christian Grothoff | Assigned To | Christian Grothoff => |
2010-07-01 13:38 | Christian Grothoff | Status | assigned => confirmed |
2010-07-01 17:03 | Christian Grothoff | Note Added: 0004052 | |
2010-07-01 17:03 | Christian Grothoff | Status | confirmed => resolved |
2010-07-01 17:03 | Christian Grothoff | Resolution | open => fixed |
2010-07-01 17:03 | Christian Grothoff | Assigned To | => Christian Grothoff |
2010-07-03 20:55 | Christian Grothoff | Status | resolved => closed |