View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000946 | bareos-core | director | public | 2018-05-14 19:24 | 2023-07-04 15:17 |
Reporter | loosi | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
Product Version | 17.2.5 | ||||
Summary | 0000946: bareos-dir crashes with .bvfs_lsdirs jobid | ||||
Description | Bareos-dir crashes while listing directories with : .bvfs_lsdirs jobid=202278 path="" Found out via Webinterface and reproduced it with bconsole. "gdb -q -ex 'file /usr/sbin/bareos-dir' -ex 'run -v -f'" points out a "0x00007ffff5f3a746 in strlen () from /lib/x86_64-linux-gnu/libc.so.6". The backtrace itself doesn't really do much help (attached). I do have multiple coredumps here, but thats 360MB. GDB into the coredump reveals 0000003 0x00007fb0ef927746 in strlen () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. 0000004 0x00007fb0f0a8fe6e in bvsnprintf ( buffer=0x7fb0d4010370 "SELECT 'D', PathId, Path, JobId, LStat, FileId FROM ( SELECT Path1.PathId AS PathId, Path1.Path AS Path, lower(Path1.Path) AS lpath, listfile1.JobId AS JobId, listfile1.LStat AS LStat, listfile1.FileI"..., maxlen=maxlen@entry=765, format=0x7fb0eca0f6ab " ) AS listpath1 LEFT JOIN ( SELECT PVD1.PathId AS PathId FROM ( SELECT PV1.PathId AS PathId, MAX(JobId) AS MaxJobId FROM PathVisibility AS PV1 WHERE JobId IN (%s) GROUP BY PathId ) AS PVD1 INNER JOIN "..., format@entry=0x7fb0eca0f468 "SELECT 'D', PathId, Path, JobId, LStat, FileId FROM ( SELECT Path1.PathId AS PathId, Path1.Path AS Path, lower(Path1.Path) AS lpath, listfile1.JobId AS JobId, listfile1.LStat AS LStat, listfile1.FileI"..., args=args@entry=0x7fb0e67fb9a0) at bsnprintf.c:341 ch = <optimized out> value = <optimized out> strvalue = 0x7d0 <error: Cannot access memory at address 0x7d0> wstrvalue = <optimized out> min = 0 max = -1 state = 6 flags = 0 cflags = <optimized out> currlen = 573 base = <optimized out> fvalue = <optimized out> | ||||
Steps To Reproduce | *.bvfs_lsdirs jobid=$ANYJOBID$ path="" | ||||
Tags | No tags attached. | ||||
Works on 22.1.0 *.bvfs_lsdirs jobid=13231 path="" 1195155 0 0 A A A A A A A A A A A A A A . 93746 0 0 A A A A A A A A A A A A A A / |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-14 19:24 | loosi | New Issue | |
2018-05-14 19:24 | loosi | File Added: bareos-dir.bactrace | |
2023-07-04 15:17 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-07-04 15:17 | bruno-at-bareos | Status | new => closed |
2023-07-04 15:17 | bruno-at-bareos | Resolution | open => fixed |
2023-07-04 15:17 | bruno-at-bareos | Note Added: 0005128 |