Bug 2916 - smbd crashes at startup (3.0.20Pre2)
Summary: smbd crashes at startup (3.0.20Pre2)
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.20
Hardware: x86 Linux
: P3 regression
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 03:30 UTC by Malte Müller
Modified: 2005-08-15 11:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte Müller 2005-07-25 03:30:42 UTC
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.
Comment 1 Volker Lendecke 2005-07-25 03:54:02 UTC
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
Comment 2 Malte Müller 2005-07-25 12:34:51 UTC
(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
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-07-27 06:54:35 UTC
please verify that the CFLAGSin the generated Makefile match what
you set in the environment.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-15 11:40:33 UTC
verified as gcc bug.  -O is the same thing as -O1.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-08-15 11:40:47 UTC
should have been marked as invalid.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2005-08-15 11:41:00 UTC
closing for real now.