The downgraded version 17.2.3-3.1 worked well for a few days. Now I get segfaults again.

Anything I shoud look for?

Today's traceback:

Created /var/lib/bareos/bareos-dir.core.1803 for doing postmortem debugging
[New LWP 1803]
[New LWP 1804]
[New LWP 1833]
[New LWP 1834]
[New LWP 1835]
[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  0x00007f0bb47207dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84    ../sysdeps/unix/syscall-template.S: No such file or directory.
[Current thread is 1 (Thread 0x7f0bb6f67740 (LWP 1803))]
$1 = 0x6b6b80 <my_name> "bareos-dir"
$2 = 0x16f8368 "bareos-dir"
$3 = 0x16f83a8 "/usr/sbin/bareos-dir"
$4 = 0x7f0b9400c318 "PostgreSQL"
$5 = 0x7f0bb5e59506 "17.2.3 (14 Aug 2017)"
$6 = 0x7f0bb5e594f2 "x86_64-pc-linux-gnu"
$7 = 0x7f0bb5e594eb "debian"
$8 = 0x7f0bb5e594cd "Debian GNU/Linux 8.0 (jessie)"
$9 = "bareos", '\000' <repeats 249 times>
$10 = 0x7f0bb5e599e8 "debian Debian GNU/Linux 8.0 (jessie)"
Environment variable "TestName" not defined.
#0  0x00007f0bb47207dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0bb5e29514 in bmicrosleep (sec=60, usec=0) at bsys.c:171
#2  0x00000000004470ef in wait_for_next_job (one_shot_job_to_run=0x5a5ca210 <error: Cannot access memory at address 0x5a5ca210>) at scheduler.c:173 #3  0x000000000040f936 in main (argc=<optimized out>, argv=<optimized out>) at dird.c:434

Thread 5 (Thread 0x7f0ba9c98700 (LWP 1835)):
#0  0x00007f0bb4720b3a in __waitpid (pid=17277, stat_loc=0x7f0ba9c9658c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00007f0bb5e49614 in signal_handler (sig=7) at signal.c:240
#2  <signal handler called>
#3  0x00007f0bb5e1f223 in bnet_host2ipaddrs (host=0xaaaaaaaaaaaaaaaa <error: Cannot access memory at address 0xaaaaaaaaaaaaaaaa>, family=0, errstr=0x7f0ba9c97028) at bnet.c:418 #4  0x00007f0bb5e288c6 in BSOCK_TCP::open (this=0x7f0ba000e068, jcr=0x38, name=0x18 <error: Cannot access memory at address 0x18>, host=0x0, service=0x0, port=80, heart_beat=-6148914691236517206, fatal=0x7f0ba9c97bdc) at bsock_tcp.c:182 #5  0x00007f0bb5e27885 in BSOCK_TCP::connect (this=0x7f0ba000e068, jcr=0x7f0ba0001078, retry_interval=2, max_retry_time=0, max_retry_time@entry=1, heart_beat=0, heart_beat@entry=-6148914691236517206, name=0x47c561 "Storage daemon", host=0xaaaaaaaaaaaaaaaa <error: Cannot access memory at address 0xaaaaaaaaaaaaaaaa>, service=0x0, port=-1431655766, verbose=false) at bsock_tcp.c:115 #6  0x000000000044522e in connect_to_storage_daemon (jcr=0x7f0ba0001078, retry_interval=<optimized out>, max_retry_time=<optimized out>, verbose=<optimized out>) at sd_cmds.c:118 #7  0x0000000000447f7b in statistics_thread_runner (arg=0x7f0ba001f3d8, arg@entry=0x0) at stats.c:233 #8  0x00007f0bb5e3a2bf in lmgr_thread_launcher (x=0x17a8318) at lockmgr.c:926 #9  0x00007f0bb4717494 in start_thread (arg=0x7f0ba9c98700) at pthread_create.c:333 #10 0x00007f0bb39b8aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7f0baa499700 (LWP 1834)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1  0x00007f0bb5e3a75c in bthread_cond_timedwait_p (cond=cond@entry=0x7f0bb606fec0 <_ZL5timer>, m=m@entry=0x7f0bb606ff00 <_ZL11timer_mutex>, abstime=abstime@entry=0x7f0baa498e20, file=file@entry=0x7f0bb5e5dda2 "watchdog.c", line=line@entry=313) at lockmgr.c:811 #2  0x00007f0bb5e528bd in watchdog_thread (arg=arg@entry=0x0) at watchdog.c:313 #3  0x00007f0bb5e3a2bf in lmgr_thread_launcher (x=0x17b6af8) at lockmgr.c:926 #4  0x00007f0bb4717494 in start_thread (arg=0x7f0baa499700) at pthread_create.c:333 #5  0x00007f0bb39b8aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7f0baac9a700 (LWP 1833)):
#0  0x00007f0bb39af6ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0bb5e1e3e3 in bnet_thread_server_tcp (addr_list=addr_list@entry=0x16fcd78, max_clients=<optimized out>, sockfds=<optimized out>, client_wq=client_wq@entry=0x6b7540 <socket_workq>, nokeepalive=<optimized out>, handle_client_request=handle_client_request@entry=0x4420b0 <handle_connection_request(void*)>) at bnet_server_tcp.c:306 #2  0x000000000044233f in connect_thread (arg=arg@entry=0x16fcd78) at socket_server.c:115 #3  0x00007f0bb5e3a2bf in lmgr_thread_launcher (x=0x17a8318) at lockmgr.c:926 #4  0x00007f0bb4717494 in start_thread (arg=0x7f0baac9a700) at pthread_create.c:333 #5  0x00007f0bb39b8aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f0bb3197700 (LWP 1804)):
#0  0x00007f0bb47207dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84 #1  0x00007f0bb5e29514 in bmicrosleep (sec=sec@entry=30, usec=usec@entry=0) at bsys.c:171
#2  0x00007f0bb5e3a22c in check_deadlock () at lockmgr.c:566
#3  0x00007f0bb4717494 in start_thread (arg=0x7f0bb3197700) at pthread_create.c:333 #4  0x00007f0bb39b8aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f0bb6f67740 (LWP 1803)):
#0  0x00007f0bb47207dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0bb5e29514 in bmicrosleep (sec=60, usec=0) at bsys.c:171
#2  0x00000000004470ef in wait_for_next_job (one_shot_job_to_run=0x5a5ca210 <error: Cannot access memory at address 0x5a5ca210>) at scheduler.c:173 #3  0x000000000040f936 in main (argc=<optimized out>, argv=<optimized out>) at dird.c:434 #0  0x00007f0bb47207dd in nanosleep () at ../sysdeps/unix/syscall-template.S:84
84    in ../sysdeps/unix/syscall-template.S
No locals.
#1  0x00007f0bb5e29514 in bmicrosleep (sec=60, usec=0) at bsys.c:171
171    bsys.c: No such file or directory.
timeout = {tv_sec = 60, tv_nsec = 0}
tv = {tv_sec = 32, tv_usec = 139688275273760}
tz = {tz_minuteswest = -1241061344, tz_dsttime = 32523}
status = <optimized out>
#2  0x00000000004470ef in wait_for_next_job (one_shot_job_to_run=0x5a5ca210 <error: Cannot access memory at address 0x5a5ca210>) at scheduler.c:173
173    scheduler.c: No such file or directory.
twait = 140726235642896
run = 0x1
now = -516
prev = 1516020240
first = false
#3  0x000000000040f936 in main (argc=<optimized out>, argv=<optimized out>) at dird.c:434
434    dird.c: No such file or directory.
jcr = <optimized out>
export_config = false
ch = <optimized out>
mode = <optimized out>
no_signals = false
export_config_schema = false
uid = 0x0
gid = 0x0
backend_dir = <optimized out>
#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.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to