[Samba] samba crashing on start up INTERNAL ERROR: Signal 11

Volker Lendecke vl at samba.org
Tue Sep 6 17:24:18 UTC 2016


On Tue, Sep 06, 2016 at 10:55:28AM -0400, Sonic wrote:
> Also see:
> https://bugs.gentoo.org/show_bug.cgi?id=592502
> 
> 
> On Tue, Sep 6, 2016 at 9:28 AM, Sonic <sonicsmith at gmail.com> wrote:
> > On Tue, Sep 6, 2016 at 5:16 AM, Volker Lendecke <vl at samba.org> wrote:
> >> When you build, please have the correct header and -dev libs around
> >> that you will later use.
> >
> > In most cases there are no separate dev packages in Gentoo, being a
> > source based distro.
> > When I run Samba (standalone server - smbd and nmbd) with
> > tevent-0.9.30 installed it coredumps (both nmbd and smbd) even if I
> > build Samba against tevent-0.9.30 (that's a make uninstall, make
> > clean, make distclean, configure, make, make install after updating
> > tevent and other packages that depend on it).

Just dropping tevent-0.9.30 into an existing Samba installation
without recompiling Samba is invalid. Maybe we should document that
better, but Samba makes use of internal tevent structures that we give
no ABI guarantees for. See the comment in tevent_internal.h:

   INTERNAL STRUCTS. THERE ARE NO API GUARANTEES.
   External users should only ever have to include this header when
   implementing new tevent backends.

Samba is one such user. Eventually this tight link will be removed,
but for the moment this is the case. With tevent-0.9.30 we have broken
the assumptions in tevent_internal.h by adding fields. Samba uses that
structure directly, so it needs to be compiled against the
tevent_internal.h of the tevent version that is later installed.

Volker



More information about the samba mailing list