View Issue Details

IDProjectCategoryView StatusLast Update
0000642bareos-coredirectorpublic2016-10-13 11:55
Reporterjoergs Assigned Tojoergs  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version8
Product Version15.2.3 
Summary0000642: Sometimes the director crashes triggered by ASSERT(jcr->res.wstore->NumConcurrentJobs >= 0) in jobq.c
DescriptionThere have been reports, that the director crashes at the assert

ASSERT(jcr->res.wstore->NumConcurrentJobs >= 0) in jobq.c
TagsNo tags attached.

Relationships

child of 0000641 closedmaik Release bareos-15.2.4 

Activities

mvwieringen

mvwieringen

2016-04-21 20:29

developer   ~0002242

Fix committed to bareos master branch with changesetid 6211.
maik

maik

2016-10-13 11:55

administrator   ~0002389

Closed, release done

Related Changesets

bareos: master b1976e8f

2016-04-15 19:04

joergs


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

Issue History

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