"smbcontrol smbd shutdown" not working in samba 4.3

Guru Prasad gp22online at gmail.com
Thu Sep 22 08:06:19 UTC 2016


Please find the backtrace here.

>>>gdb /usr/local/samba/sbin/smbd 5656

(gdb) bt
#0  0x00007fadaa213c4e in waitpid () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fada4722467 in tdb_runtime_check_for_robust_mutexes () from
/usr/local/samba/lib/private/libtdb.so.1
#2  0x00007fad9faae2e8 in tdb_wrap_open () from
/usr/local/samba/lib/private/libtdb-wrap-samba4.so
#3  0x00007fada7941e83 in ?? () from /usr/local/samba/lib/libsmbconf.so.0
#4  0x00007fada7942a63 in gencache_parse () from
/usr/local/samba/lib/libsmbconf.so.0
#5  0x00007fada7949341 in idmap_cache_find_gid2sid () from
/usr/local/samba/lib/libsmbconf.so.0
#6  0x00007fada8217234 in gid_to_sid () from
/usr/local/samba/lib/libsamba-passdb.so.0
#7  0x00007fada7b91955 in ?? () from
/usr/local/samba/lib/private/libauth-samba4.so
#8  0x00007fada7b91a89 in ?? () from
/usr/local/samba/lib/private/libauth-samba4.so
#9  0x00007fada7b913be in create_local_nt_token_from_info3 () from
/usr/local/samba/lib/private/libauth-samba4.so
#10 0x00007fada7b9c3b6 in create_local_token () from
/usr/local/samba/lib/private/libauth-samba4.so
#11 0x00007fada7b9ce22 in ?? () from
/usr/local/samba/lib/private/libauth-samba4.so
#12 0x00007fada7b9dbb6 in init_guest_info () from
/usr/local/samba/lib/private/libauth-samba4.so
#13 0x000000000040ae62 in main ()

Thank you !

On Tue, Sep 20, 2016 at 9:19 PM, Volker Lendecke <vl at samba.org> wrote:

> On Tue, Sep 20, 2016 at 05:59:09PM +0530, Guru Prasad wrote:
> > Hi Volker,
> >
> > Thank you very much for the reply..
> >
> > I could just see the wait4() call when i do a "smbcontrol smbd shutdown"
> >
> > root at debian:/# strace -p 5656
> > Process 5656 attached - interrupt to quit
> > wait4(-1,
>
> The parent smbd should never sit in a wait call. Can you attach to it
> with gdb and get us a backtrace?
>
> Volker
>


More information about the samba-technical mailing list