Bacula-users

Re: [Bacula-users] Director crashes running .bvfs_update

2010-02-18 19:56:12
Subject: Re: [Bacula-users] Director crashes running .bvfs_update
From: Craig Miskell <craig.miskell AT opus.co DOT nz>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 19 Feb 2010 13:53:02 +1300
Craig Miskell wrote:

I'm going to go try to compile without stripping symbols in the hope I'll get more info out of the backtrace. Can anyone enlighten me as to the appropriate options to the build commands to build with symbols?
And I've got a better back trace with no stripping, which is attached. Looks a bit sparse of information to me, but hopefully it helps. Will try compiling with -g and see if I get even more info.

Any suggestions for other details to try and capture to fix this?

Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
I've coined new words, like, misunderstanding and Hispanically,
-George W Bush
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1214769472 (LWP 23785)]
[New Thread -1302717520 (LWP 26591)]
[New Thread -1250514000 (LWP 26588)]
[New Thread -1242125392 (LWP 26571)]
[New Thread -1232118864 (LWP 24364)]
[New Thread -1223730256 (LWP 23789)]
[New Thread -1215341648 (LWP 23788)]
0xb7d89b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
$1 = "com-dir", '\0' <repeats 22 times>
$2 = 0x80be050 "bacula-dir"
$3 = 0x80be078 "/usr/sbin/bacula-dir"
$4 = 0x80d2210 "PostgreSQL"
$5 = 0xb7f49b0a "5.0.0 (26 January 2010)"
$6 = 0xb7f49b22 "i486-pc-linux-gnu"
$7 = 0xb7f49b34 "debian"
$8 = 0xb7f49b3b "4.0"
$9 = "com", '\0' <repeats 46 times>
#0  0xb7d89b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7f145d0 in bmicrosleep (sec=60, usec=0) at bsys.c:61
#2  0x080789fa in wait_for_next_job (one_shot_job_to_run=0x0)
    at scheduler.c:131
#3  0x08053dad in main (argc=<value optimized out>, argv=Cannot access memory 
at address 0x4
) at dird.c:338

Thread 7 (Thread -1215341648 (LWP 23788)):
#0  0xb7a71cd7 in select () from /lib/tls/libc.so.6
#1  0xb7f16d8d in bnet_thread_server (addrs=0x80c0d70, max_clients=20, 
    client_wq=0x80bd780, 
    handle_client_request=0x80935c0 <handle_UA_client_request>)
    at bnet_server.c:161
#2  0x080935bb in connect_thread (arg=0x80c0d70) at ua_server.c:82
#3  0xb7d840bd in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7a7901e in clone () from /lib/tls/libc.so.6

Thread 6 (Thread -1223730256 (LWP 23789)):
#0  0xb7d86e62 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7f408f7 in watchdog_thread (arg=0x0) at watchdog.c:308
#2  0xb7d840bd in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7a7901e in clone () from /lib/tls/libc.so.6

Thread 5 (Thread -1232118864 (LWP 24364)):
#0  0xb7d8a231 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7f37466 in signal_handler (sig=11) at signal.c:229
#2  <signal handler called>
#3  htable::lookup (this=0x80dab60, key=0xb68f52d4 "586471") at htable.c:305
#4  0xb7f4521c in htable::insert (this=0x80dab60, key=0xb68f52d4 "586471", 
    item=0x1646a1e0) at htable.c:277
#5  0xb7f79dc4 in bvfs_update_path_hierarchy_cache (jcr=0x80d4458, 
    mdb=0x80d5978, jobids=0x80daac0 "8") at bvfs.c:125
#6  0x0807f352 in dot_bvfs_update (ua=0x80d56e8, 
    cmd=0x80be9c8 ".bvfs_update jobid=8") at ua_dotcmds.c:177
#7  0x0807d853 in do_a_dot_command (ua=0x80d56e8) at ua_dotcmds.c:151
#8  0x080937ea in handle_UA_client_request (arg=0x80d3af0) at ua_server.c:144
#9  0xb7f41080 in workq_server (arg=0x80bd780) at workq.c:346
#10 0xb7d840bd in start_thread () from /lib/tls/libpthread.so.0
#11 0xb7a7901e in clone () from /lib/tls/libc.so.6

Thread 4 (Thread -1242125392 (LWP 26571)):
#0  0xb7d86c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7f34f30 in rwl_writelock (rwl=0x80d5980) at rwlock.c:242
#2  0xb7f68f38 in _db_lock (file=0xb7f811fd "sql_list.c", line=86, 
    mdb=0x80d5978) at sql.c:385
#3  0xb7f73a98 in db_list_pool_records (jcr=0x80d68f0, mdb=0x80d5978, 
    pdbr=0xb5f69fb0, sendit=0x8083e10 <prtit(void*, char const*)>, 
    ctx=0x80d7d30, type=VERT_LIST) at sql_list.c:86
#4  0x0808554f in do_list_cmd (ua=0x80d7d30, cmd=<value optimized out>, 
    llist=VERT_LIST) at ua_output.c:420
#5  0x0807ba0f in do_a_command (ua=0x80d7d30) at ua_cmds.c:240
#6  0x08093692 in handle_UA_client_request (arg=0x80da8e8) at ua_server.c:146
#7  0xb7f41080 in workq_server (arg=0x80bd780) at workq.c:346
#8  0xb7d840bd in start_thread () from /lib/tls/libpthread.so.0
#9  0xb7a7901e in clone () from /lib/tls/libc.so.6

Thread 3 (Thread -1250514000 (LWP 26588)):
#0  0xb7d86c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7f34f30 in rwl_writelock (rwl=0x80d5980) at rwlock.c:242
#2  0xb7f68f38 in _db_lock (file=0xb7f811fd "sql_list.c", line=125, 
    mdb=0x80d5978) at sql.c:385
#3  0xb7f7397b in db_list_client_records (jcr=0x80d99c8, mdb=0x80d5978, 
    sendit=0x8083e10 <prtit(void*, char const*)>, ctx=0x163ce068, 
    type=VERT_LIST) at sql_list.c:125
#4  0x08085598 in do_list_cmd (ua=0x163ce068, cmd=<value optimized out>, 
    llist=VERT_LIST) at ua_output.c:423
#5  0x0807ba0f in do_a_command (ua=0x163ce068) at ua_cmds.c:240
#6  0x08093692 in handle_UA_client_request (arg=0x80d6490) at ua_server.c:146
#7  0xb7f41080 in workq_server (arg=0x80bd780) at workq.c:346
#8  0xb7d840bd in start_thread () from /lib/tls/libpthread.so.0
#9  0xb7a7901e in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1302717520 (LWP 26591)):
#0  0xb7d86c01 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb7f34f30 in rwl_writelock (rwl=0x80d5980) at rwlock.c:242
#2  0xb7f68f38 in _db_lock (file=0xb7f811fd "sql_list.c", line=330, 
    mdb=0x80d5978) at sql.c:385
#3  0xb7f73c0e in db_list_job_records (jcr=0x163d2d50, mdb=0x80d5978, 
    jr=0xb25a0d60, sendit=0x8083e10 <prtit(void*, char const*)>, 
    ctx=0x163d41b8, type=VERT_LIST) at sql_list.c:330
#4  0x08084d12 in do_list_cmd (ua=0x163d41b8, cmd=<value optimized out>, 
    llist=VERT_LIST) at ua_output.c:312
#5  0x0807ba0f in do_a_command (ua=0x163d41b8) at ua_cmds.c:240
#6  0x08093692 in handle_UA_client_request (arg=0x163cf8b0) at ua_server.c:146
#7  0xb7f41080 in workq_server (arg=0x80bd780) at workq.c:346
#8  0xb7d840bd in start_thread () from /lib/tls/libpthread.so.0
#9  0xb7a7901e in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1214769472 (LWP 23785)):
#0  0xb7d89b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7f145d0 in bmicrosleep (sec=60, usec=0) at bsys.c:61
#2  0x080789fa in wait_for_next_job (one_shot_job_to_run=0x0)
    at scheduler.c:131
#3  0x08053dad in main (argc=<value optimized out>, argv=Cannot access memory 
at address 0x4
) at dird.c:338
#0  0xb7d89b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#0  0xb7d89b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb7f145d0 in bmicrosleep (sec=60, usec=0) at bsys.c:61
61      bsys.c: No such file or directory.
        in bsys.c
Current language:  auto; currently c++
timeout = {tv_sec = 60, tv_nsec = 0}
tv = {tv_sec = 1, tv_usec = 46800}
tz = {tz_minuteswest = 1, tz_dsttime = 3}
stat = <value optimized out>
#2  0x080789fa in wait_for_next_job (one_shot_job_to_run=0x0)
    at scheduler.c:131
131     scheduler.c: No such file or directory.
        in scheduler.c
jcr = (JCR *) 0xb7f55478
job = <value optimized out>
run = (RUN *) 0xb7f56d70
now = <value optimized out>
next_job = (job_item *) 0x0
first = false
#3  0x08053dad in main (argc=<value optimized out>, argv=Cannot access memory 
at address 0x4
) at dird.c:338
338     dird.c: No such file or directory.
        in dird.c
ch = <value optimized out>
jcr = (JCR *) 0x0
no_signals = false
test_config = false
uid = 0x0
gid = 0x0
python_args = {progname = 0x80c0dd0 "com-dir", scriptdir = 0x0, 
  modulename = 0x809efb6 "DirStartUp", 
  configfile = 0x80be1f0 "/etc/bacula/bacula-dir.conf", 
  workingdir = 0x80c0da0 "/var/lib/bacula", 
  job_getattr = 0x8074c60 <job_getattr(_object*, char*)>, 
  job_setattr = 0x8075100 <job_setattr(_object*, char*, _object*)>}
mode = <value optimized out>
#0  0x00000000 in ?? ()
No symbol table info available.
#0  0x00000000 in ?? ()
No symbol table info available.
#0  0x00000000 in ?? ()
No symbol table info available.
#0  0x00000000 in ?? ()
No symbol table info available.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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>