View Issue Details

IDProjectCategoryView StatusLast Update
0000955bareos-core[All Projects] storage daemonpublic2019-01-16 16:57
ReportermelchersAssigned To 
PriorityhighSeveritycrashReproducibilityhave not tried
Status feedbackResolutionopen 
Platformx86_64OSSLESOS VersionSLES11 SP4
Product Version17.2.4 
Target VersionFixed in Version 
Summary0000955: sd aborts after double free
Descriptionafter extending the sd configuration for more than only one Storage Device, the sd aborts after some backups. Logfile says:

28-May 21:17 FAB-sd JobId 91559: End of medium on Volume "argentinien.zedat.fu-berlin.de_20180528-211538_Full" Bytes=8,587,837,667 Blocks=4,095 at 28-May-2018 21:17.
28-May 21:17 FAB-dir JobId 91559: Created new Volume "argentinien.zedat.fu-berlin.de_20180528-211740_Full" in catalog.
28-May 21:17 FAB-sd: ABORTING due to ERROR in smartall.c:208 double free from mem_pool.c:257
28-May 21:17 argentinien.zedat.fu-berlin.de JobId 91559: Error: bsock_tcp.c:427 Wrote 479659 bytes to Storage daemon:hoovix.zedat.fu-berlin.de:9103, but only 392832 accepted.
28-May 21:17 argentinien.zedat.fu-berlin.de JobId 91559: Fatal error: backup.c:984 Network send error to SD. ERR=Connection reset by peer
28-May 21:17 FAB-dir JobId 91595: Error: Director's comm line to SD dropped.
Steps To Reproducenot tried
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

joergs

joergs

2018-06-06 20:07

administrator   ~0003032

Clearly, this is a bug. However, we can only fix it, if we can reproduce it.
Is there a way to reproduce it?
If not, you should install the bareos-debug packages, so that a crash produces a proper stack trace.
Creating a trace file might also help. (in bconsole run "setdebug storage level=100 trace=1 timestamp=1"

arogge

arogge

2019-01-16 16:57

developer   ~0003196

Did you find a solution for this issue?

If you cannot provide a trace or backtrace, maybe you can share your bareos-sd configuration?

Issue History

Date Modified Username Field Change
2018-05-29 15:23 melchers New Issue
2018-06-06 20:07 joergs Note Added: 0003032
2018-06-06 20:07 joergs Status new => feedback
2019-01-16 16:57 arogge Note Added: 0003196