From: Mantis B. T. <no...@bu...> - 2009-01-21 18:03:38
|
The following issue has been CLOSED ====================================================================== http://bugs.bacula.org/view.php?id=1218 ====================================================================== Reported By: tim4dev Assigned To: ====================================================================== Project: bacula Issue ID: 1218 Category: bconsole Reproducibility: always Severity: minor Priority: normal Status: closed Resolution: not a bug Fixed in Version: ====================================================================== Date Submitted: 2009-01-21 16:43 UTC Last Modified: 2009-01-21 18:03 UTC ====================================================================== Summary: buffer overflow detected Description: Build from bacula-2.4.4-1.src.rpm Run # /usr/sbin/bconsole -c /etc/bacula/bconsole.conf -t *** buffer overflow detected ***: /usr/sbin/bconsole terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x48)[0x52ab58] /lib/libc.so.6[0x529200] /usr/sbin/bconsole[0x806431e] /usr/sbin/bconsole[0x804ce71] /lib/libc.so.6(__libc_start_main+0xe0)[0x457390] /usr/sbin/bconsole[0x804be71] ======= Memory map: ======== 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 00268000-0028d000 r-xp 00000000 08:05 916983 /usr/lib/libk5crypto.so.3.1 0028d000-0028e000 rw-p 00025000 08:05 916983 /usr/lib/libk5crypto.so.3.1 00394000-003d5000 r-xp 00000000 08:05 13065459 /lib/libssl.so.0.9.8b 003d5000-003d9000 rw-p 00040000 08:05 13065459 /lib/libssl.so.0.9.8b 00422000-0043d000 r-xp 00000000 08:05 13063353 /lib/ld-2.7.so 0043d000-0043e000 r--p 0001a000 08:05 13063353 /lib/ld-2.7.so 0043e000-0043f000 rw-p 0001b000 08:05 13063353 /lib/ld-2.7.so 00441000-00594000 r-xp 00000000 08:05 13063354 /lib/libc-2.7.so 00594000-00596000 r--p 00153000 08:05 13063354 /lib/libc-2.7.so 00596000-00597000 rw-p 00155000 08:05 13063354 /lib/libc-2.7.so 00597000-0059a000 rw-p 00597000 00:00 0 0059c000-005c3000 r-xp 00000000 08:05 13061781 /lib/libm-2.7.so 005c3000-005c4000 r--p 00026000 08:05 13061781 /lib/libm-2.7.so 005c4000-005c5000 rw-p 00027000 08:05 13061781 /lib/libm-2.7.so 005c7000-005ca000 r-xp 00000000 08:05 13063356 /lib/libdl-2.7.so 005ca000-005cb000 r--p 00002000 08:05 13063356 /lib/libdl-2.7.so 005cb000-005cc000 rw-p 00003000 08:05 13063356 /lib/libdl-2.7.so 005ce000-005e3000 r-xp 00000000 08:05 13063357 /lib/libpthread-2.7.so 005e3000-005e4000 r--p 00014000 08:05 13063357 /lib/libpthread-2.7.so 005e4000-005e5000 rw-p 00015000 08:05 13063357 /lib/libpthread-2.7.so 005e5000-005e7000 rw-p 005e5000 00:00 0 005e9000-005fb000 r-xp 00000000 08:05 13063358 /lib/libz.so.1.2.3 005fb000-005fc000 rw-p 00011000 08:05 13063358 /lib/libz.so.1.2.3 006c8000-006e1000 r-xp 00000000 08:05 13061956 /lib/libselinux.so.1 006e1000-006e3000 rw-p 00018000 08:05 13061956 /lib/libselinux.so.1 00954000-0095f000 r-xp 00000000 08:05 13063360 /lib/libgcc_s-4.1.2-20070925.so.1 0095f000-00960000 rw-p 0000a000 08:05 13063360 /lib/libgcc_s-4.1.2-20070925.so.1 009a4000-009b4000 r-xp 00000000 08:05 13063366 /lib/libresolv-2.7.so 009b4000-009b5000 r--p 00010000 08:05 13063366 /lib/libresolv-2.7.so 009b5000-009b6000 rw-p 00011000 08:05 13063366 /lib/libresolv-2.7.so 009b6000-009b8000 rw-p 009b6000 00:00 0 009e9000-00ac9000 r-xp 00000000 08:05 918800 /usr/lib/libstdc++.so.6.0.8 00ac9000-00acd000 r--p 000df000 08:05 918800 /usr/lib/libstdc++.so.6.0.8 00acd000-00ace000 rw-p 000e3000 08:05 918800 /usr/lib/libstdc++.so.6.0.8 00ace000-00ad4000 rw-p 00ace000 00:00 0 00ad6000-00ad9000 r-xp 00000000 08:05 13061729 /lib/libtermcap.so.2.0.8 00ad9000-00ada000 rw-p 00002000 08:05 13061729 /lib/libtermcap.so.2.0.8 00b1c000-00b1e000 r-xp 00000000 08:05 13061736 /lib/libcom_err.so.2.1 00b1e000-00b1f000 rw-p 00001000 08:05 13061736 /lib/libcom_err.so.2.1 00c71000-00c9e000 r-xp 00000000 08:05 918656 /usr/lib/libgssapi_krb5.so.2.2 00c9e000-00c9f000 rw-p 0002d000 08:05 918656 /usr/lib/libgssapi_krb5.so.2.2 00d19000-00d21000 r-xp 00000000 08:05 916981 /usr/lib/libkrb5support.so.0.1 00d21000-00d22000 rw-p 00007000 08:05 916981 /usr/lib/libkrb5support.so.0.1 00dfb000-00dfd000 r-xp 00000000 08:05 13063372 /lib/libkeyutils-1.2.so 00dfd000-00dfe000 rw-p 00001000 08:05 13063372 /lib/libkeyutils-1.2.so 04722000-0483f000 r-xp 00000000 08:05 13061694 /lib/libcrypto.so.0.9.8b 0483f000-04851000 rw-p 0011d000 08:05 13061694 /lib/libcrypto.so.0.9.8b 04851000-04855000 rw-p 04851000 00:00 0 06921000-069b1000 r-xp 00000000 08:05 918651 /usr/lib/libkrb5.so.3.3 069b1000-069b4000 rw-p 0008f000 08:05 918651 /usr/lib/libkrb5.so.3.3 08048000-0807d000 r-xp 00000000 08:05 8086152 /usr/sbin/bconsole 0807d000-0807f000 rw-p 00035000 08:05 8086152 /usr/sbin/bconsole 0807f000-0809f000 rw-p 0807f000 00:00 0 0986f000-09890000 rw-p 21-??? 18:41 bconsole: Fatal Error because: Bacula interrupted by signal 6: IOT trap Kaboom! bconsole, bconsole got signal 6 - IOT trap. Attempting traceback. Kaboom! exepath=/usr/sbin/ Calling: /usr/sbin/btraceback /usr/sbin/bconsole 14853 Traceback complete, attempting cleanup ... --- bconsole.conf --- Director { Name = localhost-dir DIRport = 9101 address = <remote ip> Password = "pass" } ====================================================================== ---------------------------------------------------------------------- (0003897) kern (administrator) - 2009-01-21 18:03 http://bugs.bacula.org/view.php?id=1218#c3897 ---------------------------------------------------------------------- This appears to be caused by building Bacula with the FORTIFY_SOURCE flag turned on. Doing so enables redundant and faulty code in Glibc that incorrectly terminates Bacula. Solution: compile without FORTIFY_SOURCE turned on. Issue History Date Modified Username Field Change ====================================================================== 2009-01-21 16:43 tim4dev New Issue 2009-01-21 18:03 kern Note Added: 0003897 2009-01-21 18:03 kern Status new => closed 2009-01-21 18:03 kern Resolution open => not a bug ====================================================================== |