Please read the ReleaseNotes. The solution to your problem is very clearly indicated -- turn off optimization. It *appears* to be a compiler bug on 64 bit systems.
On Tuesday 22 November 2005 05:50, Mohammad A. Rahman wrote: > Hello, > > I have compiled and installed bacula-1.38.1 on a x86_64 system from > source. bacula-dir and bacula-fd both are running without any problem. > But, whenever a job is being run from console, baculs-sd is crashing. > > I tried by setting LD_ASSUME_KERNEL=2.4.19 and also by renaming the > /lib/tls to something else before compilation ... but the result was the > same. Also had the -O2 flag added to gcc with no luck. > > Configure parameter: > CFLAGS="-g -Wall -O2" ./configure --enable-conio > [EMAIL PROTECTED] --with-smtp-host=mail.domain.com > --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc/bacula > --with-scriptdir=/etc/bacula --enable-smartalloc --enable-gnome > --with-mysql --with-working-dir=/var/bacula --with-pid-dir=/var/run > --with-subsys-dir=/var/lock/subsys --enable-gnome > --enable-tray-monitor --with-python --with-openssl > > (Needed to modify the configure script to point mysql and python > libraries at /usr/lib64 instead of /usr/lib ... needed to modify the > src/tray-monitor/Makefile to point to 64 bit libraries for X11R6 for > successful "make") > > [EMAIL PROTECTED] bacula-1.38.1]# cat /etc/redhat-release > Fedora Core release 4 (Stentz) > [EMAIL PROTECTED] bacula-1.38.1]# uname -r > 2.6.13-CUSTOM-2 > > [EMAIL PROTECTED] bacula-1.38.1]# gcc -v > Using built-in specs. > Target: x86_64-redhat-linux > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-thread > s=posix --enable-checking=release --with-system-zlib > --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-mul > tifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk > --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/ > jre --host=x86_64-redhat-linux > Thread model: posix > gcc version 4.0.1 20050727 (Red Hat 4.0.1-5) > > > GDB traceback output: > > Using host libthread_db library "/lib64/libthread_db.so.1". > [Thread debugging using libthread_db enabled] > [New Thread 46912496356032 (LWP 2099)] > [New Thread 1084229984 (LWP 12757)] > [New Thread 1094719840 (LWP 2108)] > 0x0000003b4c9c2682 in __select_nocancel () from /lib64/libc.so.6 > $1 = "nikita-sd", '\0' <repeats 20 times> > $2 = 0x65b058 "bacula-sd" > $3 = 0x65b098 "/usr/sbin/bacula-sd" > $4 = "MySQL" > $5 = 0x4e5e58 "1.38.1 (14 November 2005)" > $6 = 0x4e2bcb "x86_64-unknown-linux-gnu" > $7 = 0x4e2bed "redhat" > $8 = 0x4e2be4 "(Stentz)" > #0 0x0000003b4c9c2682 in __select_nocancel () from /lib64/libc.so.6 > #1 0x000000000043478a in bnet_thread_server (addrs=Variable "addrs" is not > available. ) at bnet_server.c:148 > #2 0x000000000040a9da in main (argc=Variable "argc" is not available. > ) at stored.c:241 > > Thread 3 (Thread 1094719840 (LWP 2108)): > #0 0x0000003b4d208ae7 in pthread_cond_timedwait@@GLIBC_2.3.2 () > from /lib64/libpthread.so.0 > #1 0x000000000044781e in watchdog_thread (arg=Variable "arg" is not > available. ) at watchdog.c:296 > #2 0x0000003b4d20697c in start_thread () from /lib64/libpthread.so.0 > #3 0x0000003b4c9c992e in clone () from /lib64/libc.so.6 > #4 0x0000000000000000 in ?? () > > Thread 2 (Thread 1084229984 (LWP 12757)): > #0 0x0000003b4d20bf99 in waitpid () from /lib64/libpthread.so.0 > #1 0x0000000000444154 in signal_handler (sig=11) at signal.c:159 > #2 <signal handler called> > #3 fnmatch (pattern=0x20 <Address 0x20 out of bounds>, > string=0x65d7b8 "FileStorage", flags=0) at fnmatch.c:35 > #4 0x000000000042b093 in find_suitable_device_for_job (jcr=0x66e608, > [EMAIL PROTECTED]) at reserve.c:521 > #5 0x000000000042b835 in use_cmd (jcr=0x66e608) at reserve.c:371 > #6 0x000000000041b504 in handle_connection_request (arg=Variable "arg" is > not available. ) at dircmd.c:209 > #7 0x000000000044875b in workq_server (arg=Variable "arg" is not > available. ) at workq.c:347 > #8 0x0000003b4d20697c in start_thread () from /lib64/libpthread.so.0 > #9 0x0000003b4c9c992e in clone () from /lib64/libc.so.6 > #10 0x0000000000000000 in ?? () > > Thread 1 (Thread 46912496356032 (LWP 2099)): > #0 0x0000003b4c9c2682 in __select_nocancel () from /lib64/libc.so.6 > #1 0x000000000043478a in bnet_thread_server (addrs=Variable "addrs" is not > available. ) at bnet_server.c:148 > #2 0x000000000040a9da in main (argc=Variable "argc" is not available. > ) at stored.c:241 > #0 0x0000003b4c9c2682 in __select_nocancel () from /lib64/libc.so.6 > No symbol table info available. > #1 0x000000000043478a in bnet_thread_server (addrs=Variable "addrs" is not > available. ) at bnet_server.c:148 > 148 if ((stat = select(maxfd + 1, &sockset, NULL, NULL, NULL)) < 0) { > Current language: auto; currently c++ > maxfd = 3 > sockset = {fds_bits = {8, 0 <repeats 15 times>}} > #2 0x000000000040a9da in main (argc=Variable "argc" is not available. > ) at stored.c:241 > 241 &dird_workq, handle_connection_request); > ch = /etc/bacula/btraceback.gdb:16: Error in sourced command file: > Variable "ch" is not available. > > > Aany help will be greatly appreciated. > > > > Regards, > > > MR -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users