View Issue Details

IDProjectCategoryView StatusLast Update
0001248bareos-coredirectorpublic2023-07-31 14:54
Reporter205946a8b92 Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version10
Product Version19.2.7 
Summary0001248: SIGSEGV with incorrect time specification
DescriptionSegmentation fault while parsing a Schedule resource
Steps To Reproduce1. Add a Schedule resource with an incorrectly set time, for example, “02:00 am” (space before “am”);
Schedule {
 Name = am_02_00_everyday;
 Run = daily at 02:00 am;
}
2. Update the resource using bconsole:
*reload sche
3. bareos-dir will be killed; log entry:
ERROR in dird/run_conf.cc:406 Config error: Job type field: am in run record not found
: line 3, col 24 of file /etc/bareos/bareos-dir.d/schedule/am_02_00_everyday.conf
Run = daily at 02:00 am;
ERROR in dird/run_conf.cc:464 Config error: Time logic error.
: line 3, col 24 of file /etc/bareos/bareos-dir.d/schedule/am_02_00_everyday.conf
Run = daily at 02:00 am;
BAREOS interrupted by signal 11: Segmentation violation
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-07-31 14:54

manager   ~0005282

No more reproducible with bareos 22x

31-Jul-2023 12:53:15.579621 bareos-dir (10): dird/run_conf.cc:390-0 ERROR TERMINATION: Config error: Job type field: am in run record not found
            : line 3, col 25 of file /etc/bareos/bareos-dir.d/schedule/testcrash.conf
 Run = daily at 02:00 am

bareos-dir: ERROR TERMINATION at dird/run_conf.cc:390
Config error: Job type field: am in run record not found
            : line 3, col 25 of file /etc/bareos/bareos-dir.d/schedule/testcrash.conf
 Run = daily at 02:00 am

Issue History

Date Modified Username Field Change
2020-06-09 11:59 205946a8b92 New Issue
2023-07-31 14:54 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-31 14:54 bruno-at-bareos Status new => closed
2023-07-31 14:54 bruno-at-bareos Resolution open => fixed
2023-07-31 14:54 bruno-at-bareos Note Added: 0005282