Bacula-users

[Bacula-users] Director segmentation violation on scheduled backups after RH updates

2008-12-19 09:14:20
Subject: [Bacula-users] Director segmentation violation on scheduled backups after RH updates
From: Brian Willis <Brian.Willis AT noaa DOT gov>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 19 Dec 2008 09:10:56 -0500
I have a compiled copy of Bacula 2.2.8 running on x86_64 RHEL ES 4. 
It's been running great for months.

I ran some system updates last week, and now my scheduled jobs cause the 
director to crash.  I can run a manual backup fine on the clients after 
I restart the director.

The only 2 things I can think of to do are to recompile my current 
version or upgrade.  Any other ideas?

My GDB traceback is attached.

Using host libthread_db library "/lib64/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 182894173888 (LWP 3596)]
[New Thread 1105209696 (LWP 3602)]
[New Thread 1094719840 (LWP 3599)]
[New Thread 1084229984 (LWP 3598)]
0x000000383180c18a in waitpid () from /lib64/tls/libpthread.so.0
$1 = "tgp91-dir", '\0' <repeats 20 times>
$2 = 0x68b058 "bacula-dir"
$3 = 0x68b098 "/home/bacula/bin/bacula-dir"
$4 = 0x68cd58 "MySQL"
$5 = 0x516e68 "2.2.8 (26 January 2008)"
$6 = 0x4fd2d8 "x86_64-unknown-linux-gnu"
$7 = 0x4fd2d1 "redhat"
$8 = 0x4fd2be "Enterprise release"
#0  0x000000383180c18a in waitpid () from /lib64/tls/libpthread.so.0
#1  0x000000000046601c in signal_handler (sig=11) at signal.c:167
#2  <signal handler called>
#3  0x0000003831445098 in mysql_store_result ()
    from /usr/lib64/mysql/libmysqlclient_r.so.14
#4  0x0000000000443b3c in QueryDB (file=0x50f97f "sql_create.c", line=489,
     jcr=0x6c09a8, mdb=0x6bf988,
     cmd=0x68cf50 "SELECT ClientId,Uname FROM Client WHERE Name='tgp91-fd'")
     at sql.c:146
#5  0x00000000004460b2 in db_create_client_record (jcr=0x6c09a8, 
mdb=0x6bf988,
     cr=0x7fbffff690) at sql_create.c:489
#6  0x000000000041978c in get_or_create_client_record (jcr=0x6c09a8)
     at job.c:656
#7  0x000000000041a321 in setup_job (jcr=0x6c09a8) at job.c:160
#8  0x000000000041a660 in run_job (jcr=0x0) at job.c:89
#9  0x000000000040af70 in main (argc=Variable "argc" is not available.
) at dird.c:289

Thread 4 (Thread 1084229984 (LWP 3598)):
#0  0x0000003830dc28d6 in __select_nocancel () from /lib64/tls/libc.so.6
#1  0x0000000000450c25 in bnet_thread_server (addrs=0x68cd98, 
max_clients=20,
     client_wq=0x6841a0,
     handle_client_request=0x43bb50 <handle_UA_client_request>)
     at bnet_server.c:161
#2  0x000000000043b938 in connect_thread (arg=0x68cd98) at ua_server.c:84
#3  0x0000003831806137 in start_thread () from /lib64/tls/libpthread.so.0
#4  0x0000003830dc9883 in clone () from /lib64/tls/libc.so.6

Thread 3 (Thread 1094719840 (LWP 3599)):
#0  0x0000003831808d2f in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    from /lib64/tls/libpthread.so.0
#1  0x000000000046d4fb in watchdog_thread (arg=Variable "arg" is not 
available.
) at watchdog.c:307
#2  0x0000003831806137 in start_thread () from /lib64/tls/libpthread.so.0
#3  0x0000003830dc9883 in clone () from /lib64/tls/libc.so.6

Thread 2 (Thread 1105209696 (LWP 3602)):
#0  0x000000383180b25f in __read_nocancel () from /lib64/tls/libpthread.so.0
#1  0x000000000044fb39 in read_nbytes (bsock=0x6aefb8, ptr=0x41e020a4 "",
     nbytes=4) at bnet.c:82
#2  0x0000000000452a9d in BSOCK::recv (this=0x5) at bsock.c:381
#3  0x000000000043bbc0 in handle_UA_client_request (arg=Variable "arg" 
is not available.
) at ua_server.c:140
#4  0x000000000046dff0 in workq_server (arg=Variable "arg" is not available.
) at workq.c:357
#5  0x0000003831806137 in start_thread () from /lib64/tls/libpthread.so.0
#6  0x0000003830dc9883 in clone () from /lib64/tls/libc.so.6

Thread 1 (Thread 182894173888 (LWP 3596)):
#0  0x000000383180c18a in waitpid () from /lib64/tls/libpthread.so.0
#1  0x000000000046601c in signal_handler (sig=11) at signal.c:167
#2  <signal handler called>
#3  0x0000003831445098 in mysql_store_result ()
    from /usr/lib64/mysql/libmysqlclient_r.so.14
#4  0x0000000000443b3c in QueryDB (file=0x50f97f "sql_create.c", line=489,
     jcr=0x6c09a8, mdb=0x6bf988,
     cmd=0x68cf50 "SELECT ClientId,Uname FROM Client WHERE Name='tgp91-fd'")
     at sql.c:146
#5  0x00000000004460b2 in db_create_client_record (jcr=0x6c09a8, 
mdb=0x6bf988,
     cr=0x7fbffff690) at sql_create.c:489
#6  0x000000000041978c in get_or_create_client_record (jcr=0x6c09a8)
     at job.c:656
#7  0x000000000041a321 in setup_job (jcr=0x6c09a8) at job.c:160
#8  0x000000000041a660 in run_job (jcr=0x0) at job.c:89
#9  0x000000000040af70 in main (argc=Variable "argc" is not available.
) at dird.c:289
#0  0x000000383180c18a in waitpid () from /lib64/tls/libpthread.so.0
No symbol table info available.
#1  0x000000000046601c in signal_handler (sig=11) at signal.c:167
167              waitpid(pid, NULL, 0);       /* wait for child to produce 
dump */
Current language:  auto; currently c++
sigdefault = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0},
   sa_mask = {__val = {18446744067267100671,
       18446744073709551615 <repeats 15 times>}}, sa_flags = 0, 
sa_restorer = 0}
argv = {0x0, 0x0, 0x0, 0x0}
pid_buf = "3596", '\0' <repeats 15 times>
buf = 
"°Ll\000\000\000\000\000°,l\000\000\000\000\000°,l\000\000\000\000\000\006\000\000\000\000\000\000\000\000
 
\000\000\000\000\000\000\000\000\000@\000\000\000\000\005\000\000\000\005\000\000\000\2003á\001\2003á\001\001",
 
'\0' <repeats 34 times>
pid = 28846
btpath = "/home/bacula/bin/btraceback", '\0' <repeats 372 times>
exelen = /home/bacula/bin/btraceback.gdb:14: Error in sourced command file:
Variable "exelen" is not available.


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>