Re: [Samba] smbd (3.0.20pre2) crashes at startup, resolved, Jerry is right, -O != -O0

2005-08-08 Thread Fa. Spezifikum
Shame on me. Why did I think -O was no Optimization? With export 
CFLAGS="-O0" smbd starts. Sorry for wasting your time.


kind regards,
Malte



This has reportedlybeen fixed in the gcc shiped in SLES9 SP2.
Also not that -O is the same thign as -O1 apparently.  So
try again without any optimizations.

cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC9kLrIR7qMdg1EfYRAumJAKCgLaDVHVyNC+AOYgXsSGF3h9P8bwCg7vmY
dPiXfy2notauwSajFAIAe0U=
=ZjIa
-END PGP SIGNATURE-


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbd (3.0.20pre2) crashes at startup

2005-08-07 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fa. Spezifikum wrote:

> BTW this unexpected behaviour seems still to exist in 
> 3.0.20rc1. It is not a show stopper for me any more. I just
> thought I should mention this.
> 
> With kind regards,
> Malte
> 
> P.S.: I forgot to set CFLAGS to -O this time, sorry. But 
> I assume it wont change anything. If it does I will tell
> on the mailing list.

This has reportedlybeen fixed in the gcc shiped in SLES9 SP2.
Also not that -O is the same thign as -O1 apparently.  So
try again without any optimizations.




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC9kLrIR7qMdg1EfYRAumJAKCgLaDVHVyNC+AOYgXsSGF3h9P8bwCg7vmY
dPiXfy2notauwSajFAIAe0U=
=ZjIa
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbd (3.0.20pre2) crashes at startup

2005-07-27 Thread Fa. Spezifikum

Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fa. Spezifikum wrote:

| please note that samba3.0.20pre2 is running if installed
| in a new directory.   I once again did:
| export CFLAGS="-O"
| ./configure --prefix=/opt/samba3 --enable-cups --with-sys-quotas
| --with-utmp --with-acl-support
| make
| make install
| I used here for testing the "old" directory, where
| all my samba3.x  compilations went.
| grep CFLAGS Makefile says:
| CFLAGS= -I/usr/include/heimdal -O -D_SAMBA_BUILD_
| Again, the smbd crashes.

Could you try the latest SAMBA_3_0 svn tree
(svn co svn://svnanon.samba.org/samba/branches/SAMBA_3_0 samba_3_0)
and see if that is any better.  I have fixed some upgrade
issues.  I'll look back over that printer code and see if I
see anything.  What version of gcc is this ?




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC55sPIR7qMdg1EfYRAl/fAKDFOHOpCAWW4jmhxYVOAOnsT7NRUwCeJ3WZ
RBiGRqiKZVE48PG+xlug6pM=
=rgRY
-END PGP SIGNATURE-


It didn't help, sorry.
gcc -v:
Thread model: posix
gcc version 3.3.4 (pre 3.3.5 20040809)

I played around with the *.tdb a bit. It may be a normal behaviour, but 
on certain circumstances the smbd does not crash.

in samba3.0.20pre2
rm -rf var/* (I made a backup)
restore orig-tdbs
cp samba3working/var/locks/*.tdb samba3.0.20pre2/var/locks/
=> smbd crashes

Next try, just guessing it has something to do with printing:
rm -rf var/*
restore orig-tdbs
cp ntprinters.tdb /opt/samba3.0.20pre2/var/locks/
rcsmb start && sleep 6 ; rcsmb stop  #OK
cp ntdrivers.tdb /opt/samba3.0.20pre2/var/locks/
rcsmb start && sleep 6 ; rcsmb stop  #crash

Ok, so it's ntdrivers.tdb?
rm -rf var/*
restore orig-tdbs
cp ntdrivers.tdb /opt/samba3.0.20pre2/var/locks/
rcsmb start && sleep 6 ; rcsmb stop  #OK, logfile says:
#[2005/07/27 21:12:35, 0] #printing/nt_printing.c:upgrade_to_version_4(397)
#  upgrade_to_version_4: upgrading printer security descriptors
#So both files are necessary to cause the trouble?
cp ntprinters.tdb /opt/samba3.0.20pre2/var/locks/
rcsmb start && sleep 6 ; rcsmb stop  #No, OK!

Only if I copy all tdb or the ntprinters before the ntdrivers, smbd 
doesn't start. Else, everything seems to be OK.


I don't know if this is of any value for you.

With kind regards,
mamue
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbd (3.0.20pre2) crashes at startup

2005-07-27 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fa. Spezifikum wrote:

| please note that samba3.0.20pre2 is running if installed
| in a new directory.   I once again did:
| export CFLAGS="-O"
| ./configure --prefix=/opt/samba3 --enable-cups --with-sys-quotas
| --with-utmp --with-acl-support
| make
| make install
| I used here for testing the "old" directory, where
| all my samba3.x  compilations went.
| grep CFLAGS Makefile says:
| CFLAGS= -I/usr/include/heimdal -O -D_SAMBA_BUILD_
| Again, the smbd crashes.

Could you try the latest SAMBA_3_0 svn tree
(svn co svn://svnanon.samba.org/samba/branches/SAMBA_3_0 samba_3_0)
and see if that is any better.  I have fixed some upgrade
issues.  I'll look back over that printer code and see if I
see anything.  What version of gcc is this ?




jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC55sPIR7qMdg1EfYRAl/fAKDFOHOpCAWW4jmhxYVOAOnsT7NRUwCeJ3WZ
RBiGRqiKZVE48PG+xlug6pM=
=rgRY
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbd (3.0.20pre2) crashes at startup, was: https://bugzilla.samba.org/show_bug.cgi?id=2916

2005-07-27 Thread Fa. Spezifikum

Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fa. Spezifikum wrote:

| at first glance, samba3.20.pre2 seemed to crash at
| startup, so I posted a bug-report at bugzilla
| (https://bugzilla.samba.org/show_bug.cgi?id=2916).
| After I installed this version in a seperate directory,
| so it wouldn't conflict with any existing *.tdb, but
| still use the same ldap-directory and the same
| smb.conf, it now starts. I assume that I have some
| .tdb-file or something alike, which is "broken". I
| am a bit confused since all the previous versions
| worked (currently 3.0.14a). Am I the only one who
| has this problems? Is there a way to identify which file
| causes the problem? I could copy each old .tdb into the
| new directory but are they independent of each other?
| System is SuSE9.2 on AMD x86_64, 2.6.8-24.16-default.

Malte,

Volker had reproduced that exact backtrace and believed
the bug to be a compiler error.  I'm running SuSE 9.2
on 32-bit systems without a problem.  Are you
sure that the CFLAGS change was applied (based on your
comments in the bug report)?  Could you verify the
CFLAGS in the generated Makefile ?







cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC55IvIR7qMdg1EfYRAnkqAKDCXqFRbfDKaS+g1BUoKXoqH9lXjgCeIcpx
zrZ54z216I5HMqf+nMx++t8=
=f4BL
-END PGP SIGNATURE-




Jerry,

please note that samba3.0.20pre2 is running if installed in a new directory.
I once again did:
export CFLAGS="-O"
./configure --prefix=/opt/samba3 --enable-cups --with-sys-quotas 
--with-utmp --with-acl-support

make
make install
I used here for testing the "old" directory, where all my samba3.x 
compilations went.

grep CFLAGS Makefile says:
CFLAGS= -I/usr/include/heimdal -O -D_SAMBA_BUILD_
Again, the smbd crashes.

With kind regards,
Malte
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbd (3.0.20pre2) crashes at startup, was: https://bugzilla.samba.org/show_bug.cgi?id=2916

2005-07-27 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fa. Spezifikum wrote:

| at first glance, samba3.20.pre2 seemed to crash at
| startup, so I posted a bug-report at bugzilla
| (https://bugzilla.samba.org/show_bug.cgi?id=2916).
| After I installed this version in a seperate directory,
| so it wouldn't conflict with any existing *.tdb, but
| still use the same ldap-directory and the same
| smb.conf, it now starts. I assume that I have some
| .tdb-file or something alike, which is "broken". I
| am a bit confused since all the previous versions
| worked (currently 3.0.14a). Am I the only one who
| has this problems? Is there a way to identify which file
| causes the problem? I could copy each old .tdb into the
| new directory but are they independent of each other?
| System is SuSE9.2 on AMD x86_64, 2.6.8-24.16-default.

Malte,

Volker had reproduced that exact backtrace and believed
the bug to be a compiler error.  I'm running SuSE 9.2
on 32-bit systems without a problem.  Are you
sure that the CFLAGS change was applied (based on your
comments in the bug report)?  Could you verify the
CFLAGS in the generated Makefile ?







cheers, jerry
=
Alleviating the pain of Windows(tm)  --- http://www.samba.org
GnuPG Key- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC55IvIR7qMdg1EfYRAnkqAKDCXqFRbfDKaS+g1BUoKXoqH9lXjgCeIcpx
zrZ54z216I5HMqf+nMx++t8=
=f4BL
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbd (3.0.20pre2) crashes at startup, was: https://bugzilla.samba.org/show_bug.cgi?id=2916

2005-07-27 Thread Fa. Spezifikum

Hi all,
at first glance, samba3.20.pre2 seemed to crash at startup, so I posted 
a bug-report at bugzilla (https://bugzilla.samba.org/show_bug.cgi?id=2916).
After I installed this version in a seperate directory, so it wouldn't 
conflict with any existing *.tdb, but still use the same ldap-directory 
and the same smb.conf, it now starts. I assume that I have some 
.tdb-file or something alike, which is "broken". I am a bit confused 
since all the previous versions worked (currently 3.0.14a). Am I the 
only one who has this problems? Is there a way to identify which file 
causes the problem? I could copy each old .tdb into the new directory 
but are they independent of each other?

System is SuSE9.2 on AMD x86_64, 2.6.8-24.16-default.

with kind regards,
Malte Mueller
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba