On Tue, 28 Apr 2009 09:29:39 +0200, Kern Sibbald wrote:
> >> >> it stops with "Bacula interrupted by signal 7: BUS error" - what >> >> does this mean? >> > >> > This can be a double free or something alignment problem. According >> > to your log, it seems that your debug level is very high (something >> > like 900!!), that can >> > fire this problem. >> >> bacula-sd kabooms with or without debug output. >> >> >> other VirtualFull jobs - also other jobs on the same computer as the >> >> one "kabooming" - work without problems. >> >> >> >> bacula-sd debug log and traceback (don't know how to enable the >> >> "debugging symbols", do i need to pass configure options?): >> >> http://pastebin.com/m3154aaf1 >> > >> > Without them, we can do nothing to correct the situation... You need >> > to be sure that binaries are not stripped. Did you compile them >> > yourself ? >> >> found out what went wrong on compiling. DEB_BUILD_OPTIONS had to be >> exported with "nostrip" and not just defined. > > I'm not a Debian expert, so that is nice to know -- and it did work. > > >> here the btraceback (without valgrind): http://pastebin.com/m2b422faf > > Yes, the dump is perfectly good. The only problem is that it is > "imposible" for the code to fail at that point, so it is starting to > look like a compiler bug. > > The valgrind seems to indicate that the value in jcr (a pointer) was > trashed. How is a mystery, but a common way is when the compiler does > poor optimization. There are also lots of other ways it could get > trashed. > > >> >> let me know if you need more information. > > At this point, there are several things you can do: > > - What version of the compiler are you using? If > 4.2.4 I recommend > compiling Bacula with a 4.2 version (we are using 4.2.4). Debian Etch uses GCC 4.1. So i upgraded to lenny. Default there is 4.3. compiled and tested: kaboom. then compiled it with gcc-4.2 which is also avilable in Lenny. Result: kaboom. new btraceback from build with GCC 4.2.4 with -O0: http://pastebin.com/f78051677 > > - can you show the options that were used on the compiler when compiling > the file src/stored/mac.c ? If the optimization has more than -O2 > (i.e. -O3 or greater, reduce it to -O2 or even -O0 (oh zero) for > testing). It was "-O2". I've now enabled "-O0". > > - Manually run the SD under the debugger, and when it crashes and gdb > gets control. Enter the command: > > print jcr > print *jcr > print jcr->dcr > print *(jcr->dcr) > > Sorry you are having these problems. Hopefully we can resolve it > shortly. started with gdb, here ist the ouput: http://pastebin.com/f6151f315 the "No such file or directory" made me run bacula-sd with strace. here the strace filtered by "open" and E* errors: http://pastebin.com/m532540a4 (think the pid 3634 is the crashing one, last open before btraceback: line 114) - Thomas ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
