View Issue Details

IDProjectCategoryView StatusLast Update
0001423bareos-corestorage daemonpublic2022-02-23 20:18
Reporterembareossed Assigned Toarogge  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionwon't fix 
Platformx86_64OSLinux DevuanOS VersionChimaera
Product Version18.2.12 
Summary0001423: Bareos GDB traceback of bareos-sd
Description

Created /var/lib/bareos/bareos-sd.core.2076 for doing postmortem debugging
[New LWP 2076]
[New LWP 2080]
[New LWP 27143]
[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-sd'.
#0 0x00007f1839f4a8bd in poll () at ../sysdeps/unix/syscall-template.S:84
84 ../sysdeps/unix/syscall-template.S: No such file or directory.
[Current thread is 1 (Thread 0x7f183cc99040 (LWP 2076))]
$1 = 1634166125
$2 = 600761304
$3 = 600761368
$4 = 0
$5 = 1007796297
$6 = 1007796378
$7 = 1007796404
$8 = 1007796416
$9 = 1634166125
$10 = 1007796328
Environment variable "TestName" not defined.
#0 0x00007f1839f4a8bd in poll () at ../sysdeps/unix/syscall-template.S:84
0000001 0x00007f183c0b11b6 in BnetThreadServerTcp(dlist*, int, alist*, workq_tag*, bool, void* (*)(ConfigurationParser*, void*), ConfigurationParser*, std::atomic<BnetServerState>*) () from /usr/lib/bareos/libbareos.so.18
0000002 0x000055e3237ac3c9 in storagedaemon::StartSocketServer(dlist*) ()
0000003 0x000055e3237a1266 in main ()

Thread 3 (Thread 0x7f1832ffd700 (LWP 27143)):
#0 0x00007f183b743b5a in __waitpid (pid=27154, stat_loc=0x7f1832ffc44c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
0000001 0x00007f183c0ec614 in SignalHandler () from /usr/lib/bareos/libbareos.so.18
0000002 <signal handler called>
0000003 strlen () at ../sysdeps/x86_64/strlen.S:106
0000004 0x00007f183c0bc16b in fmtstr(char*, int, int, char const*, int, int, int) () from /usr/lib/bareos/libbareos.so.18
0000005 0x00007f183c0bbf4c in Bvsnprintf(char*, int, char const*, __va_list_tag*) () from /usr/lib/bareos/libbareos.so.18
0000006 0x00007f183c0bde0c in BareosSocket::fsend(char const*, ...) () from /usr/lib/bareos/libbareos.so.18
0000007 0x000055e3237b1cf0 in storagedaemon::PassiveCmd(JobControlRecord*) ()
0000008 0x000055e3237aca89 in storagedaemon::HandleDirectorConnection(BareosSocket*) ()
0000009 0x000055e3237ac2a3 in storagedaemon::HandleConnectionRequest(ConfigurationParser*, void*) ()
0000010 0x00007f183c1003a9 in workq_server () from /usr/lib/bareos/libbareos.so.18
0000011 0x00007f183b73a4a4 in start_thread (arg=0x7f1832ffd700) at pthread_create.c:456
0000012 0x00007f1839f53d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f1839259700 (LWP 2080)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
0000001 0x00007f183c0ff9fe in watchdog_thread () from /usr/lib/bareos/libbareos.so.18
0000002 0x00007f183b73a4a4 in start_thread (arg=0x7f1839259700) at pthread_create.c:456
0000003 0x00007f1839f53d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f183cc99040 (LWP 2076)):
#0 0x00007f1839f4a8bd in poll () at ../sysdeps/unix/syscall-template.S:84
0000001 0x00007f183c0b11b6 in BnetThreadServerTcp(dlist*, int, alist*, workq_tag*, bool, void* (*)(ConfigurationParser*, void*), ConfigurationParser*, std::atomic<BnetServerState>*) () from /usr/lib/bareos/libbareos.so.18
0000002 0x000055e3237ac3c9 in storagedaemon::StartSocketServer(dlist*) ()
0000003 0x000055e3237a1266 in main ()
#0 0x00007f1839f4a8bd in poll () at ../sysdeps/unix/syscall-template.S:84
84 in ../sysdeps/unix/syscall-template.S
No locals.
0000001 0x00007f183c0b11b6 in BnetThreadServerTcp(dlist*, int, alist*, workq_tag*, bool, void* (*)(ConfigurationParser*, void*), ConfigurationParser*, std::atomic<BnetServerState>*) () from /usr/lib/bareos/libbareos.so.18
No symbol table info available.
0000002 0x000055e3237ac3c9 in storagedaemon::StartSocketServer(dlist*) ()
No symbol table info available.
0000003 0x000055e3237a1266 in main ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#0 0x0000000000000000 in ?? ()
No symbol table info available.

Steps To ReproduceUnknown. This is the first time I've ever received an email containing this type of information from bareos.
Additional InformationThe bareos version is older than current, and I am hoping to retire this in the next week or so. I have a newer, version 21 server that has been running successfully for several months which is intended to replace the older one.
TagsNo tags attached.

Activities

embareossed

embareossed

2022-01-21 22:01

reporter   ~0004483

I meant to add that the storage daemon is still running even after receiving this email from the director.
arogge

arogge

2022-02-23 20:18

manager   ~0004523

Thank you. As Bareos 18.2 is EOL I'm going to close the issue as "won't fix".
It looks like some weird memory corruption in the SD - we have fixed quite a few of these in the meantime, so I wouldn't want to invest any time in hunting this down in the old codebase.

Your SD must have been terminated (otherwise you wouldn't get that message). However, your init-system might have restarted it automatically.
If this ever comes up with a recent version of Bareos, feel free to re-open or open a new bugreport.

Issue History

Date Modified Username Field Change
2022-01-21 22:00 embareossed New Issue
2022-01-21 22:01 embareossed Note Added: 0004483
2022-02-23 20:18 arogge Assigned To => arogge
2022-02-23 20:18 arogge Status new => closed
2022-02-23 20:18 arogge Resolution open => won't fix
2022-02-23 20:18 arogge Note Added: 0004523