Bug 11510 - INTERNAL ERROR: Signal 11 in pid in smbd
INTERNAL ERROR: Signal 11 in pid in smbd
Status: RESOLVED FIXED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
4.2.3
x64 Linux
: P5 major
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-10 13:58 UTC by phillip+bugzilla.samba.org
Modified: 2016-12-05 15:02 UTC (History)
3 users (show)

See Also:


Attachments
smbd core dump (2.99 MB, application/x-core)
2015-09-10 13:58 UTC, phillip+bugzilla.samba.org
no flags Details
log.smbd - backtrace (9.41 KB, text/plain)
2015-09-10 22:38 UTC, phillip+bugzilla.samba.org
no flags Details
gdb - bt full - with samba and kerberos symbols (23.24 KB, text/plain)
2015-09-14 11:50 UTC, phillip+bugzilla.samba.org
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description phillip+bugzilla.samba.org 2015-09-10 13:58:33 UTC
Created attachment 11425 [details]
smbd core dump

Hello,

smbd crashes when I try to connect to the shares (opening \\ip.here in windows explorer)

I am running the sernet packages (4.2.3-SerNet-Debian-7.jessie) on Debian Jessie.

I am running two installations of SAMBA inside LXC containers.

One installation is running fine and serving as a DC (ad mode).
The other installation is joined as a MEMBER (classic mode). smbd, nmbd and winbindd are starting normally.

Once I try to connect to the shares (via windows 8.1 and windows 10 clients) on "member", smbd crashes - reproducible.

Core dump is attached.

regards
Comment 1 Volker Lendecke 2015-09-10 18:26:00 UTC
(In reply to phillip+bugzilla.samba.org from comment #0)

Can you upload the backtrace that smbd throws in the logs, and possibly a "bt full"? I'm sorry, but I would have to install your exact environment, without which the core dump is difficult to analyze
Comment 2 phillip+bugzilla.samba.org 2015-09-10 22:38:08 UTC
Created attachment 11429 [details]
log.smbd - backtrace
Comment 3 phillip+bugzilla.samba.org 2015-09-10 22:42:59 UTC
Hi,

I have added the backtrace (aka logs of smbd).

I was not abel to find information on how to do a "bt full". Please let me know the steps for this and I will provide the info.

thanks for taking care of this, really appreciate :)

cheers
Comment 4 Volker Lendecke 2015-09-11 06:34:21 UTC
(In reply to phillip+bugzilla.samba.org from comment #3)

As a first try, can you install the debuginfo packages for Samba and Kerberos and rerun? In the next step, you could set

panic action = /bin/sleep 99999

with "ps axf" you will see which smbd crashed. You can then

gdb /usr/sbin/smbd --pid=<crashed-smbd-pid>

and at the gdb prompt do a "bt full". We'd need the output of that with debug packages installed.
Comment 5 phillip+bugzilla.samba.org 2015-09-14 11:26:30 UTC
Thanks Volker for the steps to do. This is the full output from gdb incl. bt full:

root@fileserver:~# gdb /usr/sbin/smbd --pid=1959
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/smbd...Reading symbols from /usr/lib/debug//usr/sbin/smbd...done.
done.
Attaching to program: /usr/sbin/smbd, process 1959
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.
done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-util.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-util.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-util.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-debug-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-debug-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-debug-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libtalloc.so.2...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libtalloc.so.2.1.2...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libtalloc.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsocket-blocking-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsocket-blocking-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsocket-blocking-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libtevent.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libtevent.so.0.9.25...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libtevent.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbregistry-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbregistry-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbregistry-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libndr-samba-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libndr-samba-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libndr-samba-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/liberrors-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/liberrors-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/liberrors-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba3-util-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba3-util-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba3-util-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-passdb.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-passdb.so.0.24.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-passdb.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcliauth-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcliauth-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcliauth-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libpopt-samba3-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libpopt-samba3-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libpopt-samba3-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libauth-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libauth-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauth-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbconf.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbconf.so.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbconf.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-cluster-support-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-cluster-support-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-cluster-support-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-sockets-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbd-shim-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libndr-standard.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libndr-standard.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libndr-standard.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-hostconfig.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-hostconfig.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-hostconfig.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsecrets3-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsecrets3-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsecrets3-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libpopt-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libpopt-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libpopt-samba4.so
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libreplace-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libreplace-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libreplace-samba4.so
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libprinting-migrate-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libprinting-migrate-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libprinting-migrate-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libtevent-util.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libtevent-util.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libtevent-util.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libdfs-server-ad-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libdfs-server-ad-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libdfs-server-ad-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-security-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-security-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-security-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libnetapi.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libnetapi.so.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libnetapi.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamdb.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamdb.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamdb.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbd-conn-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbd-conn-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbd-conn-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libutil-tdb-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libutil-tdb-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libutil-tdb-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libnpa-tstream-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libnpa-tstream-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libnpa-tstream-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libtdb.so.1...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libtdb.so.1.3.6...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libtdb.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/liblibsmb-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/liblibsmb-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/liblibsmb-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libmsrpc3-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libmsrpc3-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libmsrpc3-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libccan-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libccan-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libccan-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libdbwrap-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libdbwrap-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libdbwrap-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libkrb5samba-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libkrb5samba-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libkrb5samba-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libndr.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libndr.so.0.0.3...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libndr.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libutil-reg-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libutil-reg-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libutil-reg-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcli-spoolss-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcli-spoolss-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcli-spoolss-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcom_err-samba4.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcom_err-samba4.so.0.25...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcom_err-samba4.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libads-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libads-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libads-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libauthkrb5-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libauthkrb5-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauthkrb5-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libwbclient.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libwbclient.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libutil-setid-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libutil-setid-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libutil-setid-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/liblibcli-lsa3-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/liblibcli-lsa3-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/liblibcli-lsa3-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libgensec.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libgensec.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libgensec.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcli-smb-common-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcli-smb-common-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcli-smb-common-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libgse-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libgse-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libgse-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libdcerpc-binding.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libdcerpc-binding.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libdcerpc-binding.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libndr-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libndr-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libndr-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libCHARSET3-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libCHARSET3-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libCHARSET3-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libevents-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libevents-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libevents-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-modules-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-modules-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-modules-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmb-transport-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmb-transport-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmb-transport-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
Reading symbols from /lib/libdm.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libdm.so.0
Reading symbols from /lib/x86_64-linux-gnu/libattr.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libattr.so.1
Reading symbols from /lib/x86_64-linux-gnu/libacl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libacl.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libcups.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcups.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libasn1util-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libasn1util-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libasn1util-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libndr-nbt.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libndr-nbt.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libndr-nbt.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libz-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libz-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libz-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamdb-common-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamdb-common-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamdb-common-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbldap.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbldap.so.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbldap.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsamba-credentials.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsamba-credentials.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsamba-credentials.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libsmbldaphelper-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libldbsamba-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libldbsamba-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libldbsamba-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libldb.so.1...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libldb.so.1.1.20...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libldb.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcli-ldap-common-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libtdb-wrap-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libtdb-wrap-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libtdb-wrap-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libutil-cmdline-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libutil-cmdline-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libutil-cmdline-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/liblibcli-netlogon3-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/liblibcli-netlogon3-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/liblibcli-netlogon3-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libauth4-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libauth4-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauth4-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libMESSAGING-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libMESSAGING-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libMESSAGING-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libndr-krb5pac.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libndr-krb5pac.so.0.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libndr-krb5pac.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libauth-sam-reply-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libauth-sam-reply-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauth-sam-reply-samba4.so
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /lib/x86_64-linux-gnu/libpam.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpam.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libinterfaces-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libinterfaces-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libinterfaces-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libserver-role-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libserver-role-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libserver-role-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libflag-mapping-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libflag-mapping-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libflag-mapping-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libkrb5-samba4.so.26...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libkrb5-samba4.so.26.0.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libkrb5-samba4.so.26
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libgssapi-samba4.so.2...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libgssapi-samba4.so.2.0.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libgssapi-samba4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcli-cldap-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcli-cldap-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcli-cldap-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libutil-ntdb-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libutil-ntdb-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libutil-ntdb-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libntdb.so.1...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libntdb.so.1.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libntdb.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libasn1-samba4.so.8...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libasn1-samba4.so.8.0.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libasn1-samba4.so.8
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libaddns-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libaddns-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libaddns-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libwinbind-client-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libwinbind-client-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libwinbind-client-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsasl2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcli-nbt-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcli-nbt-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcli-nbt-samba4.so
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libresolv-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libavahi-client.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libavahi-client.so.3
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libauth-unix-token-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libauth-unix-token-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libauth-unix-token-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libdcerpc-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libcluster-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libcluster-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libcluster-samba4.so
Reading symbols from /lib/x86_64-linux-gnu/libaudit.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libaudit.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libheimbase-samba4.so.1...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libheimbase-samba4.so.1.0.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libheimbase-samba4.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libhx509-samba4.so.5...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libhx509-samba4.so.5.0.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libhx509-samba4.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libhcrypto-samba4.so.5...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libhcrypto-samba4.so.5.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libhcrypto-samba4.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libroken-samba4.so.19...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libroken-samba4.so.19.0.1...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libroken-samba4.so.19
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libwind-samba4.so.0...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libwind-samba4.so.0.0.0...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libwind-samba4.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtasn1.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libnettle.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnettle.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libhogweed.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhogweed.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgmp.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgmp.so.10
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcom_err.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libkeyutils.so.1
Reading symbols from /lib/x86_64-linux-gnu/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdbus-1.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/libLIBWBCLIENT-OLD-samba4.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/libLIBWBCLIENT-OLD-samba4.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/libLIBWBCLIENT-OLD-samba4.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libffi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libffi.so.6
Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_winbind.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_winbind.so.2...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_winbind.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_dns.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_dns-2.19.so...done.
done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_dns.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/gconv/IBM850.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/gconv/IBM850.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/gconv/IBM850.so
Reading symbols from /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/gconv/UTF-16.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
Reading symbols from /usr/lib/x86_64-linux-gnu/samba/gensec/krb5.so...Reading symbols from /usr/lib/debug//usr/lib/x86_64-linux-gnu/samba/gensec/krb5.so...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/samba/gensec/krb5.so
Reading symbols from /usr/lib/x86_64-linux-gnu/sasl2/libsasldb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/sasl2/libsasldb.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libdb-5.3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libdb-5.3.so
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007f2b4bc4330c in __libc_waitpid (pid=1961, stat_loc=stat_loc@entry=0x7ffd59a5f0f0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
31      ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
(gdb) bt full
#0  0x00007f2b4bc4330c in __libc_waitpid (pid=1961, stat_loc=stat_loc@entry=0x7ffd59a5f0f0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = 1274221792
#1  0x00007f2b4bbcd18b in do_system (line=line@entry=0x7f2b5098eb00 "/bin/sleep 99999") at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x7f2b4bbcd430 <cancel_handler>, __arg = 0x7ffd59a5f0cc, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = 1504047392
        save = <optimized out>
        pid = 1961
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7f2b5098eb00}
        omask = {__val = {7296, 139824012536148, 139823930749760, 139823997706240, 1, 139823981462002, 140726107503176, 139824012515648, 139824012532672, 139823981458446, 139824012536096, 206158430224,
            140726107501136, 140726107500928, 0, 139823993344128}}
#2  0x00007f2b4bbcd4fa in __libc_system (line=line@entry=0x7f2b5098eb00 "/bin/sleep 99999") at ../sysdeps/posix/system.c:184
No locals.
#3  0x00007f2b4f53c7c5 in system (line=line@entry=0x7f2b5098eb00 "/bin/sleep 99999") at pt-system.c:28
No locals.
#4  0x00007f2b4d0b8fd2 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:801
        cmd = 0x7f2b5098eb00 "/bin/sleep 99999"
        result = <optimized out>
        __FUNCTION__ = "smb_panic_s3"
#5  0x00007f2b4f31d8c5 in smb_panic (why=why@entry=0x7f2b4f324421 "internal error") at ../lib/util/fault.c:166
No locals.
#6  0x00007f2b4f31dc04 in fault_report (sig=<optimized out>) at ../lib/util/fault.c:83
        counter = 1
#7  sig_fault (sig=11) at ../lib/util/fault.c:94
No locals.
#8  <signal handler called>
No locals.
#9  krb5_storage_free (sp=0x0) at ../source4/heimdal/lib/krb5/store.c:273
No locals.
#10 0x00007f2b43278b96 in fkt_end_seq_get (context=0x7f2b50991f50, id=<optimized out>, cursor=0x7ffd59a5f9b0) at ../source4/heimdal/lib/krb5/keytab_file.c:520
No locals.
#11 0x00007f2b432782d4 in krb5_kt_end_seq_get (context=context@entry=0x7f2b50991f50, id=<optimized out>, cursor=cursor@entry=0x7ffd59a5f9b0) at ../source4/heimdal/lib/krb5/keytab.c:795
No locals.
#12 0x00007f2b47bd5f06 in fill_mem_keytab_from_system_keytab (krbctx=krbctx@entry=0x7f2b50991f50, mkeytab=mkeytab@entry=0x7f2b50991f20) at ../source3/librpc/crypto/gse_krb5.c:478
        zero_csr = {fd = 0, sp = 0x0, data = 0x0}
        ret = 2
        keytab = 0x7f2b50992190
        kt_cursor = {fd = -1, sp = 0x0, data = 0x0}
        kt_entry = {principal = 0x0, vno = 0, keyblock = {keytype = 0, keyvalue = {length = 0, data = 0x0}}, timestamp = 0, flags = 0, aliases = 0x0}
        valid_princ_formats = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
        entry_princ_s = 0x0
        my_name = "FILESERVER\000K+\177\000\000\f\000\000\000\000\000\000\000 \366\362K+\177\000\000\016\000\000\000\000\000\000\000\070\374\245Y\375\177\000\000\000\000\000\000\000\000\000\000\340\373\245Y\375\177\000\000\000\000\000\000\000\000\000\000p\200\300K+\177\000\000('\231P+\177\000\000\016\000\000\000\000\000\000\000\300.\231P+\177\000\000\232NzB+\177\000\000\270.\231P+\177\000\000\060\374\245Y\375\177\000\000\000\000\000\000+\177\000\000\206H{B+\177\000\000\000\000\000\000\000\000\000\000\250.\231P+\177\000\000 \374\245Y\375\177\000\000\333w'C+\177\000\000\000\000\000\000+\177\000\000\310\"\231P+\177\000\000P\037\231P+\177\000\000\000\000\000\000\000\000\000\000"...
        my_fqdn = "FILESERVER\000Y\375\177\000\000\000\000\000\000\000\000\000\000rD(C+\177\000\000\000\000\000\000\000\000\000\000XX\275G+\177\000\000\200\200\225P+\177\000\000\016\000\000\000\000\000\000\000n\000\000\000w\000\000\000\260\"\231P+\177", '\000' <repeats 26 times>, "\300\031\231P+\177\000\000\016\000\000\000\000\000\000\000\200\200\225P+\177\000\000P\037\231P+\177\000\000(#\337G+\177\000\000\260\"\231P+\177\000\000\000\000\000\000\000\000\000\000\235\377\377\377\000\000\000\000\016\000\000\000\000\000\000\000\200\200\225P+\177\000\000\352\255\366U", '\000' <repeats 44 times>...
        i = <optimized out>
        __FUNCTION__ = "fill_mem_keytab_from_system_keytab"
#13 0x00007f2b47bd6327 in gse_krb5_get_server_keytab (krbctx=0x7f2b50991f50, keytab=0x7f2b50991f20) at ../source3/librpc/crypto/gse_krb5.c:602
        ret = <optimized out>
        ret1 = 0
        ret2 = 0
        __FUNCTION__ = "gse_krb5_get_server_keytab"
#14 0x00007f2b47bd78fb in gse_init_server (_gse_ctx=<synthetic pointer>, add_gss_c_flags=<optimized out>, do_seal=<optimized out>, do_sign=<optimized out>, mem_ctx=0x7f2b50991c60)
    at ../source3/librpc/crypto/gse.c:346
        gse_ctx = <optimized out>
---Type <return> to continue, or q <return> to quit---
        ret = <optimized out>
        status = <optimized out>
        gss_maj = <optimized out>
        gss_min = 32555
#15 gensec_gse_server_start (gensec_security=0x7f2b50991c60) at ../source3/librpc/crypto/gse.c:794
        gse_ctx = <optimized out>
        nt_status = <optimized out>
        want_flags = <optimized out>
        do_sign = <optimized out>
        do_seal = <optimized out>
#16 0x00007f2b4802f72c in gensec_start_mech (gensec_security=0x7f2b50991c60) at ../auth/gensec/gensec_start.c:678
        status = <optimized out>
        __FUNCTION__ = "gensec_start_mech"
#17 0x00007f2b4802f7b9 in gensec_start_mech_by_ops (gensec_security=<optimized out>, ops=<optimized out>) at ../auth/gensec/gensec_start.c:699
No locals.
#18 0x00007f2b480259a4 in gensec_spnego_create_negTokenInit (gensec_security=gensec_security@entry=0x7f2b5098d940, spnego_state=spnego_state@entry=0x7f2b509917c0,
    out_mem_ctx=out_mem_ctx@entry=0x7f2b509917c0, ev=ev@entry=0x7f2b50991890, in=..., out=0x7f2b50991810) at ../auth/gensec/spnego.c:635
        spnego_out = {type = 1176357824, negTokenInit = {mechTypes = 0x7f2b461dcb48, reqFlags = {data = 0x100000000 <error: Cannot access memory at address 0x100000000>, length = 4294967379},
            reqFlagsPadding = 240 '\360', mechToken = {data = 0x7f2b4fb3c4b0 "\371\321\035F+\177", length = 140726107504672}, mechListMIC = {data = 0x7f2b4fb609d0 "`ĖO+\177", length = 140726107504712},
            targetPrincipal = 0x7f2b4fb60678 ""}, negTokenTarg = {negResult = 1 '\001', supportedMech = 0x7f2b4f75377d <_dl_lookup_symbol_x+349> "\203", <incomplete sequence \370>, responseToken = {
              data = 0x0, length = 139823997502640}, mechListMIC = {data = 0x100000001 <error: Cannot access memory at address 0x100000001>, length = 0}}}
        send_mech_types = <optimized out>
        ok = <optimized out>
        i = 0
        nt_status = <optimized out>
        null_data_blob = <optimized out>
        mechTypes = <optimized out>
        unwrapped_out = {data = 0x0, length = 0}
        all_sec = 0x7f2b50991bc0
        __FUNCTION__ = "gensec_spnego_create_negTokenInit"
#19 0x00007f2b48026033 in gensec_spnego_update (gensec_security=gensec_security@entry=0x7f2b5098d940, out_mem_ctx=out_mem_ctx@entry=0x7f2b509917c0, ev=ev@entry=0x7f2b50991890, in=...,
    out=out@entry=0x7f2b50991810) at ../auth/gensec/spnego.c:826
        nt_status = <optimized out>
        spnego_state = 0x7f2b509917c0
        null_data_blob = <optimized out>
        mech_list_mic = {data = 0x0, length = 0}
        unwrapped_out = {data = 0x0, length = 0}
        spnego_out = {type = -1, negTokenInit = {mechTypes = 0x7f2b4fb65520, reqFlags = {data = 0x7f2b461dc770 "\203\005", length = 139823838791672}, reqFlagsPadding = 0 '\000', mechToken = {data = 0x0,
              length = 139824012511056}, mechListMIC = {data = 0x7f2b509917c0 "", length = 140726107504952},
            targetPrincipal = 0x7f2b461de92c <asn1_read+16> "\204\300u\006\306E \001\353\aHc\333H\001]\020H\203\304\b[]\303H\203\354\b\272\001"}, negTokenTarg = {negResult = 1 '\001',
            supportedMech = 0x7ffd59a600d0 "", responseToken = {data = 0x0, length = 139823836686674}, mechListMIC = {data = 0x0, length = 139823836686845}}}
        spnego = {type = 1504051712, negTokenInit = {mechTypes = 0x7f2b4f75e325 <_dl_runtime_resolve+53>, reqFlags = {data = 0x60 <error: Cannot access memory at address 0x60>, length = 140726107504952},
            reqFlagsPadding = 200 '\310', mechToken = {data = 0x0, length = 140726107504952}, mechListMIC = {data = 0x7ffd59a60200 "", length = 0}, targetPrincipal = 0x7f2b5098c750 "PǘP+\177"},
          negTokenTarg = {negResult = 192 '\300', supportedMech = 0x7f2b461df614 <asn1_peek_full_tag+72> "\204\300u\a\270\006\002", responseToken = {data = 0x7ffd59a60200 "", length = 139823993447205},
            mechListMIC = {data = 0x0, length = 0}}}
        len = <optimized out>
        __FUNCTION__ = "gensec_spnego_update"
#20 0x00007f2b48026f4a in gensec_spnego_update_wrapper (gensec_security=0x7f2b5098d940, out_mem_ctx=0x7f2b5098c750, ev=0x7f2b50991890, in=..., out=0x7ffd59a60200) at ../auth/gensec/spnego.c:1312
        spnego_state = 0x7f2b509917c0
        status = {v = 0}
#21 0x00007f2b4802e1f6 in gensec_update_ev (gensec_security=0x7f2b5098d940, out_mem_ctx=out_mem_ctx@entry=0x7f2b5098c750, ev=0x7f2b50991890, ev@entry=0x0, in=..., out=out@entry=0x7ffd59a60200)
    at ../auth/gensec/gensec.c:249
        status = {v = 0}
        ops = 0x7f2b4823f800 <gensec_spnego_security_ops>
        frame = 0x7f2b5098dc00
        subreq = 0x0
        ok = <optimized out>
        __FUNCTION__ = "gensec_update_ev"
#22 0x00007f2b4802e43b in gensec_update (gensec_security=<optimized out>, out_mem_ctx=out_mem_ctx@entry=0x7f2b5098c750, in=..., out=out@entry=0x7ffd59a60200) at ../auth/gensec/gensec.c:340
No locals.
---Type <return> to continue, or q <return> to quit---
#23 0x00007f2b4eeb5ec3 in negprot_spnego (ctx=ctx@entry=0x7f2b5098c750, xconn=xconn@entry=0x7f2b50975500) at ../source3/smbd/negprot.c:179
        blob = {data = 0x0, length = 0}
        blob_out = <optimized out>
        dos_name = "\317\002\274\336\000\000\000\000\324d\341N+\177\000"
        unix_name = "\377\377\377\377\000\000\000\000/\000\000\000\000\000\000\000\030\330\340N+\177\000\000\000P\267O+\177\000\000e\026\017M+\177\000\000\070\273\061O+\177\000\000@\000\000\000\000\000\000\000,X\000\000\000\000\000\000\001\000\000\000\000\000\000\000\244\201", '\000' <repeats 22 times>, "-\003\000\000\000\000\000\000\000\020\000\000\000\000\000\000\340ʘP+\177\000\000\350./O+\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000dʘP+\177\000\000\000U\227P+\177\000\000\a\000\000\000\000\000\000\000\a~uO+\177\000\000\001\000\000\000+\177", '\000' <repeats 11 times>, "U\227P+\177\000\000\030\330"...
        status = <optimized out>
        gensec_security = 0x7f2b5098d940
        __FUNCTION__ = "negprot_spnego"
#24 0x00007f2b4ef20b83 in smbd_smb2_request_process_negprot (req=req@entry=0x7f2b5098c750) at ../source3/smbd/smb2_negprot.c:214
        xconn = 0x7f2b50975500
        status = <optimized out>
        inbody = <optimized out>
        indyn = 0x7f2b5098ca64 "\377\002"
        outbody = <optimized out>
        outdyn = {data = 0x1 <error: Cannot access memory at address 0x1>, length = 0}
        negprot_spnego_blob = <optimized out>
        security_offset = <optimized out>
        security_buffer = <optimized out>
        expected_dyn_size = 2
        c = <optimized out>
        security_mode = <optimized out>
        dialect_count = 1
        in_security_mode = 0
        in_capabilities = 0
        in_guid_blob = {data = 0x7f2b5098ca4c "", length = 16}
        in_guid = {time_low = 0, time_mid = 0, time_hi_and_version = 0, clock_seq = "\000", node = "\000\000\000\000\000"}
        dialect = 767
        capabilities = <optimized out>
        out_guid_blob = {data = 0xc0000203 <error: Cannot access memory at address 0xc0000203>, length = 139823993447205}
        out_guid = {time_low = 1324476447, time_mid = 32555, time_hi_and_version = 0, clock_seq = "\377\377", node = "\377\377\377\377\377\377"}
        protocol = PROTOCOL_SMB2_10
        max_limit = <optimized out>
        max_trans = <optimized out>
        max_read = <optimized out>
        max_write = <optimized out>
        now = 130867033244023760
        __FUNCTION__ = "smbd_smb2_request_process_negprot"
#25 0x00007f2b4ef1e827 in smbd_smb2_request_dispatch (req=req@entry=0x7f2b5098c750) at ../source3/smbd/smb2_server.c:2201
        xconn = 0x7f2b50975500
        call = <optimized out>
        intf_v = <optimized out>
        inhdr = <optimized out>
        opcode = 0
        flags = 0
        mid = <optimized out>
        status = <optimized out>
        session_status = <optimized out>
        allowed_flags = 268435468
        return_value = <optimized out>
        x = <optimized out>
        signing_required = <optimized out>
        encryption_desired = <optimized out>
        encryption_required = <optimized out>
        __FUNCTION__ = "smbd_smb2_request_dispatch"
#26 0x00007f2b4ef204a0 in smbd_smb2_first_negprot (xconn=0x7f2b50975500, inpdu=<optimized out>, size=size@entry=102) at ../source3/smbd/smb2_server.c:3094
        sconn = 0x7f2b50972090
        status = <optimized out>
---Type <return> to continue, or q <return> to quit---
        req = 0x7f2b5098c750
        __FUNCTION__ = "smbd_smb2_first_negprot"
#27 0x00007f2b4ef207d5 in reply_smb20xx (req=0x7f2b5098bd70, dialect=dialect@entry=767) at ../source3/smbd/smb2_negprot.c:62
        smb2_inpdu = <optimized out>
        smb2_hdr = <optimized out>
        smb2_body = <optimized out>
        smb2_dyn = <optimized out>
        __FUNCTION__ = "reply_smb20xx"
#28 0x00007f2b4ef20808 in reply_smb20ff (req=<optimized out>, choice=<optimized out>) at ../source3/smbd/smb2_negprot.c:83
        xconn = <optimized out>
#29 0x00007f2b4eeb6ee9 in reply_negprot (req=req@entry=0x7f2b5098bd70) at ../source3/smbd/negprot.c:682
        choice = 7
        chosen_level = 7
        protocol = 0
        p = <optimized out>
        arch = <optimized out>
        num_cliprotos = <optimized out>
        cliprotos = <optimized out>
        i = <optimized out>
        converted_size = 10
        xconn = 0x7f2b50975500
        sconn = 0x7f2b50972090
        __FUNCTION__ = "reply_negprot"
#30 0x00007f2b4ef097e0 in switch_message (type=<optimized out>, req=req@entry=0x7f2b5098bd70) at ../source3/smbd/process.c:1648
        flags = 0
        session_tag = <optimized out>
        conn = 0x0
        xconn = <optimized out>
        now = 130867033244015700
        session = 0x0
        status = <optimized out>
        __FUNCTION__ = "switch_message"
#31 0x00007f2b4ef0b2b7 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=159, inbuf=0x0, xconn=0x7f2b5098bd70) at ../source3/smbd/process.c:1684
        sconn = 0x7f2b50972090
        req = 0x7f2b5098bd70
#32 process_smb (xconn=xconn@entry=0x7f2b50975500, inbuf=<optimized out>, nread=159, unread_bytes=0, seqnum=0, encrypted=<optimized out>, deferred_pcd=0x0) at ../source3/smbd/process.c:1930
        sconn = 0x7f2b50972090
        msg_type = <optimized out>
        __FUNCTION__ = "process_smb"
#33 0x00007f2b4ef0c2a7 in smbd_server_connection_read_handler (xconn=xconn@entry=0x7f2b50975500, fd=<optimized out>) at ../source3/smbd/process.c:2529
        inbuf = 0x7f2b5098bc70 ""
        inbuf_len = 159
        unread_bytes = 0
        encrypted = false
        mem_ctx = 0x7f2b5098bc10
        status = {v = 0}
        seqnum = 0
        async_echo = <optimized out>
        from_client = <optimized out>
        __FUNCTION__ = "smbd_server_connection_read_handler"
#34 0x00007f2b4ef0c46c in smbd_server_connection_handler (ev=<optimized out>, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/process.c:2556
        xconn = 0x7f2b50975500
#35 0x00007f2b4d0ce25c in run_events_poll (ev=ev@entry=0x7f2b5096d610, pollrtn=pollrtn@entry=1, pfds=0x7f2b509807f0, num_pfds=4) at ../source3/lib/events.c:257
        pfd = <optimized out>
        flags = <optimized out>
        state = <optimized out>
        pollfd_idx = 0x7f2b509885a0
        fde = 0x7f2b5096dd20
        __FUNCTION__ = "run_events_poll"
#36 0x00007f2b4d0ce3c4 in s3_event_loop_once (ev=0x7f2b5096d610, location=<optimized out>) at ../source3/lib/events.c:326
---Type <return> to continue, or q <return> to quit---
        state = 0x7f2b5095f1a0
        timeout = 60000
        num_pfds = 4
        poll_errno = 0
#37 0x00007f2b4e5cff85 in _tevent_loop_once (ev=ev@entry=0x7f2b5096d610, location=location@entry=0x7f2b4f034318 "../source3/smbd/process.c:3997") at ../lib/tevent/tevent.c:533
        ret = <optimized out>
        nesting_stack_ptr = 0x0
#38 0x00007f2b4e5d00db in tevent_common_loop_wait (ev=0x7f2b5096d610, location=0x7f2b4f034318 "../source3/smbd/process.c:3997") at ../lib/tevent/tevent.c:637
        ret = <optimized out>
#39 0x00007f2b4e5d0158 in _tevent_loop_wait (ev=ev@entry=0x7f2b5096d610, location=location@entry=0x7f2b4f034318 "../source3/smbd/process.c:3997") at ../lib/tevent/tevent.c:656
No locals.
#40 0x00007f2b4ef0dad8 in smbd_process (ev_ctx=0x7f2b5096d610, msg_ctx=<optimized out>, sock_fd=8, interactive=<optimized out>) at ../source3/smbd/process.c:3997
        trace_state = {frame = 0x7f2b5098bc10, smbd_idle_profstamp = 0}
        client = <optimized out>
        sconn = 0x7f2b50972090
        xconn = 0x7f2b50975500
        locaddr = 0x7f2b50989890 ""
        remaddr = 0x7f2b50972460 "iconv(UTF-8,CP850)"
        ret = <optimized out>
        status = <optimized out>
        __FUNCTION__ = "smbd_process"
#41 0x00007f2b4f9766ec in smbd_accept_connection (ev=0x7f2b5096d610, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/server.c:627
        status = {v = 0}
        s = 0x0
        msg_ctx = 0x7f2b5096d700
        addr = {ss_family = 2, __ss_align = 0,
          __ss_padding = '\000' <repeats 40 times>, "(\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000\360\a\230P+\177\000\000\006\000\000\000\000\000\000\000\020֖P+\177\000\000\240\361\225P+\177\000\000\277\355\276N+\177\000\000ȭ\366U\000\000\000\000\362\263\061O+\177\000"}
        in_addrlen = 16
        fd = 8
        pid = 0
        unique_id = 5117675888706137806
        __FUNCTION__ = "smbd_accept_connection"
#42 0x00007f2b4d0ce25c in run_events_poll (ev=ev@entry=0x7f2b5096d610, pollrtn=pollrtn@entry=1, pfds=0x7f2b509807f0, num_pfds=6) at ../source3/lib/events.c:257
        pfd = <optimized out>
        flags = <optimized out>
        state = <optimized out>
        pollfd_idx = 0x7f2b509885a0
        fde = 0x7f2b5098a8c0
        __FUNCTION__ = "run_events_poll"
#43 0x00007f2b4d0ce3c4 in s3_event_loop_once (ev=0x7f2b5096d610, location=<optimized out>) at ../source3/lib/events.c:326
        state = 0x7f2b5095f1a0
        timeout = 48632
        num_pfds = 6
        poll_errno = 0
#44 0x00007f2b4e5cff85 in _tevent_loop_once (ev=ev@entry=0x7f2b5096d610, location=location@entry=0x7f2b4f97a80d "../source3/smbd/server.c:985") at ../lib/tevent/tevent.c:533
        ret = <optimized out>
        nesting_stack_ptr = 0x0
#45 0x00007f2b4e5d00db in tevent_common_loop_wait (ev=0x7f2b5096d610, location=0x7f2b4f97a80d "../source3/smbd/server.c:985") at ../lib/tevent/tevent.c:637
        ret = <optimized out>
#46 0x00007f2b4e5d0158 in _tevent_loop_wait (ev=<optimized out>, location=<optimized out>) at ../lib/tevent/tevent.c:656
No locals.
#47 0x00007f2b4f97807e in smbd_parent_loop (parent=0x7f2b5096dda0, ev_ctx=0x7f2b5096d610) at ../source3/smbd/server.c:985
        trace_state = {frame = 0x7f2b5096e2e0}
        ret = 0
#48 main (argc=<optimized out>, argv=<optimized out>) at ../source3/smbd/server.c:1626
        is_daemon = <optimized out>
        interactive = <optimized out>
        Fork = true
        no_process_group = <optimized out>
---Type <return> to continue, or q <return> to quit---
        log_stdout = <optimized out>
        ports = 0x0
        profile_level = 0x0
        opt = <optimized out>
        pc = <optimized out>
        print_build_options = <optimized out>
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f2b4c13c440 <poptHelpOptions>, val = 0, descrip = 0x7f2b4f97a11e "Help options:", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a12c "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x7f2b4f97a133 "Become a daemon (default)", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a14d "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x7f2b4f97ac80 "Run interactive (not a daemon)", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a159 "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, descrip = 0x7f2b4f97aca0 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a164 "no-process-group", shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x7f2b4f97acd8 "Don't create a new process group", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a175 "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x7f2b4f97a180 "Log to stdout", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a18e "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x7f2b4f97a19c "Print build options", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a1b0 "port", shortName = 112 'p', argInfo = 1, arg = 0x7ffd59a60af0, val = 0, descrip = 0x7f2b4f97a1b5 "Listen on the specified ports", argDescrip = 0x0}, {
            longName = 0x7f2b4f97a1d3 "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0x7ffd59a60af8, val = 0, descrip = 0x7f2b4f97a1e3 "Set profiling level",
            argDescrip = 0x7f2b4f97a1f7 "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f2b4d730a40 <popt_common_samba>, val = 0,
            descrip = 0x7f2b4f97a205 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        parent = 0x7f2b5096dda0
        frame = <optimized out>
        status = <optimized out>
        ev_ctx = <optimized out>
        msg_ctx = <optimized out>
        server_id = {pid = 1455, task_id = 0, vnn = 4294967295, unique_id = 11300583324663014817}
        se = <optimized out>
        np_dir = <optimized out>
        smbd_shim_fns = {cancel_pending_lock_requests_by_fid = 0x7f2b4eef6f01 <smbd_cancel_pending_lock_requests_by_fid>,
          send_stat_cache_delete_message = 0x7f2b4eefce11 <smbd_send_stat_cache_delete_message>, change_to_root_user = 0x7f2b4eee49b6 <smbd_change_to_root_user>,
          become_authenticated_pipe_user = 0x7f2b4eee4a44 <smbd_become_authenticated_pipe_user>, unbecome_authenticated_pipe_user = 0x7f2b4eee4af1 <smbd_unbecome_authenticated_pipe_user>,
          contend_level2_oplocks_begin = 0x7f2b4ef424c5 <smbd_contend_level2_oplocks_begin>, contend_level2_oplocks_end = 0x7f2b4ef42786 <smbd_contend_level2_oplocks_end>,
          become_root = 0x7f2b4eee4aff <smbd_become_root>, unbecome_root = 0x7f2b4eee4b27 <smbd_unbecome_root>, exit_server = 0x7f2b4ef3ad9e <smbd_exit_server>,
          exit_server_cleanly = 0x7f2b4ef3adaf <smbd_exit_server_cleanly>}
        __FUNCTION__ = "main"
(gdb)
Comment 6 phillip+bugzilla.samba.org 2015-09-14 11:47:53 UTC
Sorry for the long output. Kerberos symbols are missing here anyway.

please see the newly attached file for the proper output.

thanks
Comment 7 phillip+bugzilla.samba.org 2015-09-14 11:50:39 UTC
Created attachment 11439 [details]
gdb - bt full - with samba and kerberos symbols
Comment 8 phillip+bugzilla.samba.org 2015-09-29 04:29:41 UTC
Hello Samba Team,

can anyone give me advice here? Another hint might be that I am running on btrfs.

If you need any other information from me, just let me know and I will provide it asap.

Thanks in advance.
Comment 9 Christian Ambach 2015-09-30 18:33:15 UTC
Looks like the problem is caused by a duplicate call to krb5_kt_end_seq_get in source3/librpc/crypto/gse_krb5.c in lines 452 and 478.
Not sure which of those has to go away though.
Comment 10 Christian Ambach 2015-09-30 18:36:11 UTC
(In reply to phillip+bugzilla.samba.org from comment #8)

Can you upload your smb.con please?
And if you use a setting for kerberos method that is different from the default "secrets only", can you try again with the default?
Comment 11 Jeremy Allison 2015-09-30 18:41:06 UTC
Hmmm. How does the second call get called ?

The code does:

    452         krb5_kt_end_seq_get(krbctx, keytab, &kt_cursor);
    453 
    454         ZERO_STRUCT(kt_cursor);

which zero's out kt_cursor once krb5_kt_end_seq_get() has been called.

Then in the out: path it does:

    473         {
    474                 krb5_kt_cursor zero_csr;
    475                 ZERO_STRUCT(zero_csr);
    476                 if ((memcmp(&kt_cursor, &zero_csr,
    477                             sizeof(krb5_kt_cursor)) != 0) && keytab) {
    478                         krb5_kt_end_seq_get(krbctx, keytab, &kt_cursor);
    479                 }
    480         }

so if kt_cursor is zero'ed out, then it shoudn't call krb5_kt_end_seq_get() again.

What is the path through the code that allows both krb5_kt_end_seq_get() calls to happen ? I don't see it.
Comment 12 Christian Ambach 2015-10-12 19:29:35 UTC
In line 413, krb5_kt_start_seq_get gets called. If it fails, the out block is called.
The call finally goes into fkt_start_seq_get_int in source4/heimdal/lib/krb5/keytab_file.c.

If _krb5_xlock or the following call to krb5_storage_from_fd, c->fd will still be set, but c->sp will not and so the comparison between the zero'd struct and kt_cursor will be negative, leading the code into krb5_kt_end_seq_get which will then try to free the c->sp zero pointer.

Sounds possible?
Comment 13 Jeremy Allison 2015-10-12 22:41:05 UTC
Oh that's really horrid code in Heimdal. It shouldn't mess with the krb5_kt_cursor until it knows it's succeeded. But yeah, looks plausible..
Comment 14 Christian Ambach 2015-10-13 21:39:16 UTC
Phillip, can you please upload your smb.conf and the lines of log.smb before the crash?
Any error messages like "timed out locking cache file", "error locking cache file" or other high debug level logs before the crash happens?
Comment 15 phillip+bugzilla.samba.org 2015-10-18 00:45:45 UTC
[global]

  netbios name = SAMBA-FS
  workgroup = AD
  security = ADS
  realm = AD.2LD.TLD
  dedicated keytab file = /etc/krb5.keytab
  kerberos method = secrets and keytab

  idmap config *:backend = tdb
  idmap config *:range = 50001-100000
  idmap config AD:backend = ad
  idmap config AD:schema_mode = rfc2307
  idmap config AD:range = 500-5000

  winbind nss info = rfc2307
  winbind trusted domains only = no
  winbind use default domain = yes
  winbind enum users  = yes
  winbind enum groups = yes
  winbind refresh tickets = Yes

[home]
   path = /home/
   read only = No
[srv]
   path = /srv/
   read only = no
[Profiles]
   path = /profiles/
   read only = no
[Profiles-redirect]
   path = /profiles-redirect/
   read only = no
Comment 16 phillip+bugzilla.samba.org 2015-10-18 01:03:46 UTC
Folks,

sorry but I cant get the old logfiles anymore. I wiped the old installation and started from scratch. Now I am running this release:

ii  sernet-samba             99:4.2.4-7        amd64 

Things are running fine now.

Btw. in my intial post I stated to run Debian-7.jessie. That should be Debian-8.jessie of course.

During my last attempt (when I was running into these crashes) "uidNumber,gidNumber, etc." fields of my user accounts in my SAMBA DC where empty.

I can reproduce this if necessary.

HTH

Phillip
Comment 17 Christian Ambach 2015-10-20 16:41:19 UTC
(In reply to phillip+bugzilla.samba.org from comment #16)
> I can reproduce this if necessary.

That might be very helpful to understand the circumstances under which this problem shows up. Thanks!
Comment 18 Björn Jacke 2016-12-05 15:02:47 UTC
as this started to work after updating from 4.2.3 to 4.2.4, I think we should close this one.