View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001101 | bareos-core | director | public | 2019-07-17 03:10 | 2019-12-18 15:41 |
Reporter | progserega | Assigned To | arogge | ||
Priority | high | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | unable to reproduce | ||
Platform | Linux | OS | Debian | OS Version | 9 |
Product Version | 17.2.4 | ||||
Summary | 0001101: bareos-dir segfault after start new job to run | ||||
Description | июл 15 12:01:51 bareos kernel: bareos-dir[889]: segfault at 0 ip 00007f3b7b8fcda1 sp 00007f3b6f7fc658 error 4 in libbareos-17.2.4.so[7f3b7b8e2000+6b000] | ||||
Steps To Reproduce | 1. create new backup job 2. add to director 3. reload director (all good), 4. start job 5. see in webui that job started and work 6. some time after that bareos-dir is segfault | ||||
Additional Information | I get develop files for bareos and try start it in debugger, but can not: Starting program: /usr/sbin/bareos-dir [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Inferior 1 (process 31748) exited normally] (gdb) r Starting program: /usr/sbin/bareos-dir [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Inferior 1 (process 31796) exited normally] (gdb) | ||||
Tags | No tags attached. | ||||
Please install the debug package (bareos-dbg on debian) and attach the latest generated traceback (/var/lib/bareos/*.traceback). Thank you! |
|
bareos-dbg was installed. Attach traceback from this bug bareos.867.traceback (636 bytes)
Created /var/lib/bareos/bareos-dir.core.867 for doing postmortem debugging [New LWP 867] [New LWP 878] [New LWP 887] [New LWP 888] [New LWP 889] [New LWP 3860] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/bareos-dir'. #0 0x00007f3b7a15a7dd in nanosleep () from /lib/x86_64-linux-gnu/libpthread.so.0 [Current thread is 1 (Thread 0x7f3b7ca4c740 (LWP 867))] $1 = 1701994850 $2 = -34839704 $3 = -34839640 /usr/lib/bareos/scripts/btraceback.gdb:4: Error in sourced command file: No symbol table is loaded. Use the "file" command. |
|
That did not (yet) work as expected. Does the bareos-dbg package match your other installed bareos packages? gdb in the traceback doesn't seem to load the symbol table, so there's no meaningful traceback information. You can try this with "btraceback test <pid-of-bareos-process> /tmp". This should write a traceback for a running bareos program to /tmp/bareos.<pid-of-bareos-process>.traceback and it should contain debug symbols and the stack traces for each running thread. Once you get that working (usually just by installing gdb and the right version of bareos-dbg) crashes will generate a meaningful traceback that we can look at. |
|
dpkg-query -l|grep 'bareos\|gdb' ii bareos-bconsole 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - text console ii bareos-client 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - client metapackage ii bareos-common 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - common files ii bareos-database-common 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - common catalog files ii bareos-database-postgresql 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - PostgreSQL backend ii bareos-database-tools 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - database tools ii bareos-dbg 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - debugging symbols ii bareos-devel 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - development files ii bareos-director 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - director daemon ii bareos-filedaemon 17.2.4-9.1 amd64 Backup Archiving Recovery Open Sourced - file daemon ii bareos-webui 17.2.4-15.1 all Backup Archiving Recovery Open Sourced - webui ii gdb 7.12-6 amd64 GNU Debugger ii libgdbm3:amd64 1.8.3-14 amd64 GNU dbm database routines (runtime version) '"btraceback test <pid-of-bareos-process> /tmp ' succsess create file. Sorry, I was not attach core file for bareos.867.traceback: https://yadi.sk/d/i2s-Rs1mOjxxuA (it is more then 5 mb) |
|
Thanks, but we really need the traceback muck more than the core file. | |
closing due to no response on feedback request | |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-07-17 03:10 | progserega | New Issue | |
2019-07-17 11:20 | arogge | Status | new => feedback |
2019-07-17 11:20 | arogge | Note Added: 0003496 | |
2019-07-19 03:24 | progserega | File Added: bareos.867.traceback | |
2019-07-19 03:24 | progserega | Note Added: 0003498 | |
2019-07-19 03:24 | progserega | Status | feedback => new |
2019-07-19 08:04 | arogge | Status | new => feedback |
2019-07-19 08:04 | arogge | Note Added: 0003499 | |
2019-07-29 08:09 | progserega | Note Added: 0003529 | |
2019-07-29 08:09 | progserega | Status | feedback => new |
2019-07-29 17:31 | arogge | Status | new => feedback |
2019-07-29 17:31 | arogge | Note Added: 0003531 | |
2019-12-18 15:41 | arogge | Assigned To | => arogge |
2019-12-18 15:41 | arogge | Status | feedback => resolved |
2019-12-18 15:41 | arogge | Resolution | open => unable to reproduce |
2019-12-18 15:41 | arogge | Status | resolved => closed |
2019-12-18 15:41 | arogge | Note Added: 0003693 |