Hello, I will probably be releasing Bacula version 1.38.6 this weekend. If any of you are using 1.38.6-beta6, I would recommend that you apply the attached patch, which corrects a mutex initialization bug. This bug probably only affects *BSD users. If you are not currently having problems, you can probably wait for the official release. More details on the patch and how to apply it are in the patch file.
-- Best regards, Kern ("> /\ V_V
This patch fixes a bug where a mutex was used before it was initialized. This apparently was no problem for Linux, but created a crash on Win32, and would probably also cause problems on FreeBSD and other OSes with strict mutex checks. Apply it to the 1.38.6-beta6 source directory with the following: cd <bacula-1.38.6-beta6> patch -p0 <1.38.6-beta6-mutex.patch make make install Index: src/lib/jcr.c =================================================================== RCS file: /cvsroot/bacula/bacula/src/lib/jcr.c,v retrieving revision 1.75.2.6 retrieving revision 1.75.2.7 diff -u -u -r1.75.2.6 -r1.75.2.7 --- src/lib/jcr.c 14 Mar 2006 21:41:41 -0000 1.75.2.6 +++ src/lib/jcr.c 21 Mar 2006 11:33:43 -0000 1.75.2.7 @@ -4,7 +4,7 @@ * * Kern E. Sibbald, December 2000 * - * Version $Id: jcr.c,v 1.75.2.6 2006/03/14 21:41:41 kerns Exp $ + * Version $Id: jcr.c,v 1.75.2.7 2006/03/21 11:33:43 kerns Exp $ * * These routines are thread safe. * @@ -229,8 +229,8 @@ jcr->job_end_push.init(1, false); jcr->sched_time = time(NULL); jcr->daemon_free_jcr = daemon_free_jcr; /* plug daemon free routine */ - jcr->inc_use_count(); jcr->init_mutex(); + jcr->inc_use_count(); jcr->JobStatus = JS_Created; /* ready to run */ jcr->VolumeName = get_pool_memory(PM_FNAME); jcr->VolumeName[0] = 0;