View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000642 | bareos-core | director | public | 2016-04-15 17:03 | 2016-10-13 11:55 |
Reporter | joergs | Assigned To | joergs | ||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | 8 |
Product Version | 15.2.3 | ||||
Summary | 0000642: Sometimes the director crashes triggered by ASSERT(jcr->res.wstore->NumConcurrentJobs >= 0) in jobq.c | ||||
Description | There have been reports, that the director crashes at the assert ASSERT(jcr->res.wstore->NumConcurrentJobs >= 0) in jobq.c | ||||
Tags | No tags attached. | ||||
bareos: master b1976e8f 2016-04-15 19:04 Committer: mvwieringen Ported: N/A Details Diff |
dird: Protect jcr->res.wstore->NumConcurrentJobs by a mutex We now have an inc_write_store() analog to inc_read_store() and a dec_write_store() analog to dec_read_store() which uses a central mutex when updating either the read or write storage concurrency count so things are atomic. Fixes 0000642: Sometimes the director crashes triggered by ASSERT(jcr->res.wstore->NumConcurrentJobs >= 0) in jobq.c |
Affected Issues 0000642 |
|
mod - src/dird/jobq.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-15 17:03 | joergs | New Issue | |
2016-04-15 17:03 | joergs | Status | new => assigned |
2016-04-15 17:03 | joergs | Assigned To | => joergs |
2016-04-21 17:44 | mvwieringen | Relationship added | child of 0000641 |
2016-04-21 20:29 | mvwieringen | Changeset attached | => bareos master b1976e8f |
2016-04-21 20:29 | mvwieringen | Note Added: 0002242 | |
2016-04-21 20:29 | mvwieringen | Status | assigned => resolved |
2016-04-21 20:29 | mvwieringen | Resolution | open => fixed |
2016-10-13 11:55 | maik | Note Added: 0002389 | |
2016-10-13 11:55 | maik | Status | resolved => closed |