Also see: 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). > > Chris
Volker Lendecke
2016-Sep-06 17:24 UTC
[Samba] samba crashing on start up INTERNAL ERROR: Signal 11
On Tue, Sep 06, 2016 at 10:55:28AM -0400, Sonic wrote:> Also see: > 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
On Tue, Sep 6, 2016 at 1:24 PM, Volker Lendecke <vl at samba.org> wrote:> 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.Again - I compiled Samba against tevent-0.9.30. Did a "make uninstall" of Samba, uninstalled the working tevent-0.9.29, installed tevent-0.9.30 and then rebuilt other packages that depend on tevent (libverto, ldb, sssd). Then for Samba did a "make clean" and "make distclean", followed by "configure", "make", and "make install". Result? Samba crashes - both nmbd and smbd dump core. I've repeated the above steps many times, Samba fails with tevent-0.9.30, and runs with tevent-0.9.29. Chris
Maybe Matching Threads
- samba crashing on start up INTERNAL ERROR: Signal 11
- samba crashing on start up INTERNAL ERROR: Signal 11
- samba crashing on start up INTERNAL ERROR: Signal 11
- samba crashing on start up INTERNAL ERROR: Signal 11
- samba crashing on start up INTERNAL ERROR: Signal 11