[Samba] smbd crashes

Peter Trifonov
Wed, 08 Feb 2012 20:56:34 -0000

Hello folks,


> After upgrading from samba 3.4.9 to samba 3.6.1 on a FreeBSD 8.1 x86
> system smbd stopped working.
> It starts successfully, but crashes as soon as someone tries to connect to
a
> share.
> Log file contains a lot of entries like the following:
>
> [2012/02/06 11:05:13,  1] lib/util_tdb.c:521(tdb_wrap_log)
>   tdb(unnamed): tdb_open_ex: spinlocks no longer supported
> [2012/02/06 11:05:13,  0] lib/messages_local.c:112(messaging_tdb_init)
>   ERROR: Failed to initialise messages database: Unknown error: 0

The problem still remains  after upgrading to samba 3.6.3.
It appears that spinlocks are somehow automatically enabled for any newly
created database. Is there any way to avoid this behavior?