View Issue Details

IDProjectCategoryView StatusLast Update
0000983bareos-corestorage daemonpublic2019-01-31 10:13
Reporterfranku Assigned Tofranku  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Product Version17.2.6 
Summary0000983: SD crashes sometimes with statistics collection on
DescriptionSD stops working and can only be recovered by a restart. The coredump will show a reference to sourcecode sd_stats:297.
Steps To ReproduceStatistics collection has to be switched on.
Additional InformationCoredump of bareos-sd (17.2.6):

#0 0x00007ffa31d7c3bf in waitpid () from /lib64/libpthread.so.0
0000001 0x00007ffa32e1e931 in signal_handler (sig=11) at signal.c:240
0000002 <signal handler called>
0000003 0x000000000041893b in name (this=<optimized out>) at ../lib/parse_conf.h:340
0000004 update_job_statistics (jcr=0x657bf8, now=1531128606) at sd_stats.c:297
0000005 0x0000000000418f23 in statistics_thread_runner (arg=<optimized out>) at sd_stats.c:386
0000006 0x00007ffa32e0da23 in lmgr_thread_launcher (x=0x7ffa28000bc8) at lockmgr.c:928
0000007 0x00007ffa31d74806 in start_thread () from /lib64/libpthread.so.0
0000008 0x00007ffa30d269bd in clone () from /lib64/libc.so.6
0000009 0x0000000000000000 in ?? ()
TagsNo tags attached.

Relationships

has duplicate 0001006 closedjoergs Storage daemon segfaults in update_job_statistics when starting scheduled jobs 
child of 0000966 closedjoergs Release bareos-17.2.7 

Activities

franku

franku

2018-07-12 14:40

administrator   ~0003066

Fix committed to bareos bareos-17.2 branch with changesetid 8939.

Related Changesets

bareos: bareos-17.2 1ad6542f

2018-07-12 14:59

franku

Ported: N/A

Details Diff
stored: avoid nullptr dereference

- jcr->dcr->device could have been used uninitialized

Fixes 0000983: SD crashes sometimes with statistics collection on
Affected Issues
0000983
mod - src/stored/sd_stats.c Diff File

Issue History

Date Modified Username Field Change
2018-07-12 13:27 franku New Issue
2018-07-12 13:27 franku Status new => assigned
2018-07-12 13:27 franku Assigned To => franku
2018-07-12 14:40 franku Changeset attached => bareos bareos-17.2 1ad6542f
2018-07-12 14:40 franku Note Added: 0003066
2018-07-12 14:40 franku Status assigned => resolved
2018-07-12 14:40 franku Resolution open => fixed
2018-07-13 10:45 joergs Relationship added child of 0000966
2018-07-16 19:08 joergs Status resolved => closed
2018-09-14 15:13 joergs Relationship added has duplicate 0001006
2019-01-31 10:11 arogge_adm Relationship added child of 0001040
2019-01-31 10:13 arogge_adm Relationship deleted child of 0001040