Hello,

DIR and SD are 2.01 and the FD is 2.0.2. SD/DIR are FreeBSD 6.2- PRERELEASE #1: Sat Oct 28 16:07:28 EDT 2006, FD is on FreeBSD 4.11- RELEASE-p17. Using the conf files that worked with 1.38.11_3 (FreeBSD Port) and looked through the 2.0.0 release notes. The FD is terminating with the messages below. Seems to occur on an InitCatalog and Catalog job type. Same configuration but with an incremental job type and everything runs fine.

Thanks,
Brian

04-Feb 19:41 dir: Start Verify JobId=572 Level=InitCatalog Job=verify. 2007-02-04_19.41.00 04-Feb 19:42 dir: verify.2007-02-04_19.41.00 Fatal error: fd_cmds.c: 673 <filed: Network error getting attributes. ERR=Broken pipe 04-Feb 19:42 dir: verify.2007-02-04_19.41.00 Fatal error: Network error with FD during Verify: ERR=Broken pipe 04-Feb 19:42 dir: verify.2007-02-04_19.41.00 Fatal error: No Job status returned from FD. 04-Feb 19:42 dir: verify.2007-02-04_19.41.00 Error: Bacula 2.0.1 (12Jan07): 04-Feb-2007 19:42:35

Debugging messages from the FD:

fd: job.c:1035 Fileset: N
fd: job.c:663 N
fd: job.c:216 <dird: verify level=init
fd: job.c:232 Executing verify command.
fd: job.c:1507 bfiled>dird: 2000 OK verify
fd: find.c:93 Enter set_find_options()
fd: find.c:96 Leave set_find_options()
fd: verify.c:57 Start find files
fd: find.c:194 F /.cshrc
fd: find_one.c:210 File ----: /.cshrc
fd: verify.c:99 FT_REG saving: /.cshrc
fd: verify.c:186 send ATTR inx=1 fname=/.cshrc
fd: verify.c:201 bfiled>bdird: attribs len=81: msg=1 1 VVpins1 /.cshrc
fd: bfile.c:778 open file /.cshrc
fd: bfile.c:799 Open file 11
Program received signal SIGSEGV, Segmentation fault.
0x8059259 in read_digest (bfd=0xbfadc7b4, digest=0x80d2118, jcr=0x80cbc18)
    at verify.c:324

GDB on the FD:

#0 0x8059259 in read_digest (bfd=0xbfadc7b4, digest=0x80d2118, jcr=0x80cbc18)
    at verify.c:324
#1  0x805922c in digest_file (jcr=0x80cbc18, ff_pkt=0x80ca218,
    digest=0x80d2118) at verify.c:297
#2 0x8058f0b in verify_file (ff_pkt=0x80ca218, pkt=0x80cbc18, top_level=true)
    at verify.c:247
#3 0x805adeb in our_callback (ff=0x80ca218, hpkt=0x80cbc18, top_level=true)
    at find.c:360
#4  0x805b98e in find_one_file (jcr=0x80cbc18, ff_pkt=0x80ca218,
    handle_file=0x805adc0 <our_callback(FF_PKT *, void *, bool)>,
    pkt=0x80cbc18, fname=0x80c6fd8 "/.cshrc", parent_device=4294967295,
    top_level=true) at find_one.c:362
#5  0x805a40a in find_files (jcr=0x80cbc18, ff=0x80ca218,
    callback=0x8058524 <verify_file(FF_PKT *, void *, bool)>,
    his_pkt=0x80cbc18) at find.c:196
#6  0x80584b7 in do_verify (jcr=0x80cbc18) at verify.c:59
#7  0x8053f44 in verify_cmd (jcr=0x80cbc18) at job.c:1512
#8  0x805059d in handle_client_request (dirp=0x80c7718) at job.c:233
#9  0x807f36a in workq_server (arg=0x809e6c0) at workq.c:355
#10 0x2822c334 in _thread_start () from /usr/lib/libc_r.so.4
#11 0x0 in ?? ()
(gdb) p *bfd
$2 = {fid = 11, berrno = 0, prog = 0x0, jcr = 0x0, pio = {<No data fields>}, win32DecompContext = {liNextHeader = 0, bIsInData = false, header_stream = {
      dwStreamId = 0, dwStreamAttributes = 0, Size = 0,
      dwStreamNameSize = 0}}, use_backup_decomp = 0}
(gdb) p *digest
$3 = {type = CRYPTO_DIGEST_SHA1, {sha1 = {Intermediate_Hash = {1732584193,
        4023233417, 2562383102, 271733878, 3285377520}, Length_Low = 0,
      Length_High = 0, Message_Block_Index = 0,
Message_Block = 'U' <repeats 64 times>, Computed = 0, Corrupted = 0}, md5 = {buf = {1732584193, 4023233417, 2562383102, 271733878}, bits = {
        3285377520, 0},
in = "\000\000\000\000\000\000\000\000", 'U' <repeats 56 times>}}}
(gdb) p *jcr
$4 = {mutex = 0x80c6ac0, _use_count = 1, link = {next = 0x0, prev = 0x0},
  my_thread_id = 0x80cb800, dir_bsock = 0x80c7718, store_bsock = 0x0,
file_bsock = 0x0, daemon_free_jcr = 0x805489c <filed_free_jcr(JCR *)>, msg_queue = 0x80c6a98, job_end_push = {<SMARTALLOC> = {<No data fields>}, items = 0x0, num_items = 0, max_items = 0, num_grow = 1, cur_item = 0,
    own_items = false}, dequeuing = false, VolumeName = 0x80ca028 "",
  errmsg = 0x80cc028 "",
  Job = "verify.2007-02-04_19.50.09", '\000' <repeats 95 times>,
  event = '\000' <repeats 127 times>, JobId = 573, VolSessionId = 0,
  VolSessionTime = 0, JobFiles = 1, JobErrors = 0, JobBytes = 0,
ReadBytes = 0, Errors = 0, JobStatus = 82, JobType = 86, JobLevel = 86,
  JobPriority = 0, sched_time = 1170636611, start_time = 1170636611,
  run_time = 0, end_time = 0, client_name = 0x80c6be8 "fd",
  RestoreBootstrap = 0x0, stime = 0x0, sd_auth_key = 0x809f1b8 "dummy",
  jcr_msgs = 0x0, ClientId = 0, where = 0x0, cached_pnl = 0,
cached_path = 0x0, prefix_links = false, gui = false, authenticated = true, Python_job = 0x0, Python_events = 0x0, cached_attribute = false, attr = 0x0,
  db = 0x0, ar = 0x0, num_files_examined = 1,
  last_fname = 0x80ca628 "/.cshrc", acl_text = 0x0, last_type = 0,
  incremental = 0, mtime = 0, listing = 0, Ticket = 0,
  big_buf = 0x80d6018 'U' <repeats 200 times>..., compress_buf = 0x0,
  compress_buf_size = 0, pZLIB_compress_workset = 0x0, replace = 0,
buf_size = 65536, ff = 0x80ca218, stored_addr = '\000' <repeats 127 times>,
  StartFile = 0, EndFile = 0, StartBlock = 0, EndBlock = 0,
  heartbeat_id = 0x0, hb_bsock = 0x0, hb_dir_bsock = 0x0,
RunScripts = 0x80c6b98, pki_sign = false, pki_encrypt = false, digest = 0x0,
  pki_keypair = 0x0, pki_signers = 0x0, pki_recipients = 0x0,
pki_session = 0x0, pki_session_encoded = 0x0, pki_session_encoded_size = 0,
  crypto_buf = 0x0, director = 0x80c7118, runscript_after = false}



Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to