[Samba] smbd crashes

Peter Trifonov
Thu, 09 Feb 2012 10:20:31 -0000

Hi all,

I managed to fix the problem.  The solution was to apply this patch
http://www.opensource.apple.com/source/samba/samba-235/patches/ignore-tdb-sp
inlock-flag
to  libtdb sources. Maybe this helps someone facing the same problem...

With best regards,
P. Trifonov


> -----Original Message-----
> From: samba-bounces at lists.samba.org [mailto:samba-
> bounces at lists.samba.org] On Behalf Of Peter Trifonov
> Sent: Thursday, February 09, 2012 12:57 AM
> To: samba at lists.samba.org
> Subject: Re: [Samba] smbd crashes
>
> 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?
>
>
>
>
>
> With best regards,
> P. Trifonov
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>