-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Kern Sibbald wrote: > On Monday 30 July 2007 19:16, Martin Simmons wrote: >>>>>>> On Mon, 30 Jul 2007 16:48:09 +0200, Kern Sibbald said: >>> On Sunday 29 July 2007 19:28, Ryan Novosielski wrote: >>>> Hi all, >>>> >>>> Ever since I added the TapeAlert/smartmonctl command to my tape drive, >>>> it appears as if I get a fairly regular crash of that bacula-sd. I know >>>> there is a case where Bacula and the utility can go for the tape drive >>>> at the same time and cause problems, but I don't think Bacula should go >>>> KABOOM when this happens. >>> The traceback, unfortunately, doesn't demangle the C++ subroutine names > nor >>> provide source line numbers, but the best that I can tell is that the heap >>> has been corrupted, Bacula detects is, then does a Kaboom (self inflicted > seg >>> fault). >> I think there is a bug in bnet_thread_server that causes the Kaboom. >> >> The dlist sockfds contains the fd_ptr objects, which are allocated with >> alloca. The problem is that the dlist destructor will deallocate them using >> free (i.e. sm_free). You can see this in the backtrace, where the argument > to >> sm_free is a pointer into the stack (0xffbff028). > > Oh, that is cute and clever of you to figure out. I'll *certainly* take a > look at it. > > I've never seen such a crash so it must only normally happen on shutdown. Do > you have any idea what is triggering the code that fails in this case? Just so you know, in case I wasn't clear enough, this happens after the LAST job runs. Interestingly enough, the previous jobs (since I'm running concurrently) all succeed no problem, and all have "Device busy" for the TapeAlert command. I don't even notice the problem until the next backup (catalog backup a few hours later), so it apparently crashes after sending out the success e-mail and closing out the running set of jobs. Don't know what-all happens in the code at that point, but I don't find out the -sd has crashed until the next backup fails. - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGriWKmb+gadEcsb4RAoZ8AJoDFK99GqbpHZM6nftnzLGF37cL2QCgpg4y fWBfcWoPaJzeLKg20jYieXE= =uL4V -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users