When starting smbd, the logfile says: [2005/07/25 11:47:26, 0] printing/nt_printing.c:upgrade_to_version_4(397) upgrade_to_version_4: upgrading printer security descriptors [2005/07/25 11:47:26, 0] lib/fault.c:fault_report(36) =============================================================== [2005/07/25 11:47:26, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 11478 (3.0.20pre2) Please read the appendix Bugs of the Samba HOWTO collection [2005/07/25 11:47:26, 0] lib/fault.c:fault_report(39) =============================================================== [2005/07/25 11:47:26, 0] lib/util.c:smb_panic2(1548) PANIC: internal error [2005/07/25 11:47:26, 0] lib/util.c:smb_panic2(1556) BACKTRACE: 11 stack frames: #0 /opt/samba3/sbin/smbd(smb_panic2+0xcb) [0x5a3edb] #1 /opt/samba3/sbin/smbd [0x592256] #2 /lib64/tls/libc.so.6 [0x2a9698c750] #3 /opt/samba3/sbin/smbd(sec_desc_merge+0x66) [0x5bc026] #4 /opt/samba3/sbin/smbd [0x5cd99a] #5 /opt/samba3/sbin/smbd(tdb_traverse+0xcf) [0x5b6d5f] #6 /opt/samba3/sbin/smbd(nt_printing_init+0x62d) [0x5cd3dd] #7 /opt/samba3/sbin/smbd(print_backend_init+0x10a) [0x5c1d6a] #8 /opt/samba3/sbin/smbd(main+0x305) [0x614cf5] #9 /lib64/tls/libc.so.6(__libc_start_main+0xfd) [0x2a9697b00d] #10 /opt/samba3/sbin/smbd [0x4404ea] Samba was configured: ./configure --prefix=/opt/samba3 --enable-cups --with-sys-quotas --with-utmp --with-acl-support CFLAGS were "-O2", OS is: SuSE9.2 on AMD X86_64. Samba3.0.14a runs flawlessly with same configure parameters.
Could you retry without optimization? I hit this bug on SLES9 SP1, upgrading to SP2 or compiling without optimization helped here. I *very* stronly assume a compiler bug, as with other gcc options and version it works fine. Closing this bug, it is very probably not ours. Please reopen if it still persists without -O. Volker
(In reply to comment #1) > Could you retry without optimization? I hit this bug on SLES9 SP1, upgrading to > SP2 or compiling without optimization helped here. I *very* stronly assume a > compiler bug, as with other gcc options and version it works fine. > > Closing this bug, it is very probably not ours. Please reopen if it still > persists without -O. > > Volker Hi Volker, my steps were now as follows: make distclean export CFLAGS="-O" ./configure --prefix=/opt/samba3 --enable-cups --with-sys-quotas --with-utmp --with-acl-support && make && make install I still get the same error. It's quite unlikely that I am the only one, so I must have been done something wrong. On the other hand, the same procedure worked since samba2.2.x and I rarely leave out any pre-alphas ;-) Should I rather post this to the samba-mailing list? Sincerely, Malte
please verify that the CFLAGSin the generated Makefile match what you set in the environment.
verified as gcc bug. -O is the same thing as -O1.
should have been marked as invalid.
closing for real now.