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
Volker Lendecke
2016-Sep-06 18:05 UTC
[Samba] samba crashing on start up INTERNAL ERROR: Signal 11
On Tue, Sep 06, 2016 at 01:46:11PM -0400, Sonic wrote:> 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.Does gentoo give any hints about what "tevent-0.9.30" exactly contains? It should contain a tevent_internal.h file. This file should contain something like "pthread_mutex_t scheduled_mutex". Can you check that this exists when you compile Samba? Volker
On Tue, Sep 6, 2016 at 2:05 PM, Volker Lendecke <vl at samba.org> wrote:> Does gentoo give any hints about what "tevent-0.9.30" exactly > contains? It should contain a tevent_internal.h file. This file should > contain something like "pthread_mutex_t scheduled_mutex". Can you > check that this exists when you compile Samba?It's certainly in the tevent-0.9.30 tarball, however I don't see in /usr/include after installing tevent-0.9.30 (assuming it's supposed to be there), it only contains tevent.h. Manually adding 0.9.30's tevent_internal.h and tevent_util.h to /usr/include does not help. The Samba src contains ./lib/tevent/tevent_internal.h ./lib/tevent/tevent.h and ./lib/tevent/tevent_util.h, For one ./lib/tevent/tevent_internal.h is not equivalent to the 0.9.30 version. It seems that in building from src Samba is using it's internal headers and not the system supplied ones, even though it checks for and finds >=tevent-0.9.29 during conifigure. If I delete the internal headers from git src then the compile fails with: =========================[1277/3352] Compiling source4/librpc/rpc/dcerpc_roh_channel_in.c ../source4/librpc/rpc/dcerpc_roh_channel_in.c:24:31: fatal error: lib/tevent/tevent.h: No such file or directory =========================Even though tevent.h exists in /usr/include (and just in case, also a a copy in /usr/include/tevent). 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