The Samba-Bugzilla – Bug 11132
samba-tool testparm - Segmentation fault
Last modified: 2017-04-04 13:35:18 UTC
FreeBSD 10.1-RELEASE amd64
root@test:/etc # samba-tool testparm
Segmentation fault(core dumped)
root@test:/usr/ports/net/samba41/work/samba-4.1.17/python # gdb /usr/local/bin/python2.7 ../python2.7.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `python2.7'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000080eb8c6d5 in py_set_debug_level (self=0x0, args=0x81105a750) at ../python/pyglue.c:119
119 (DEBUGLEVEL) = level;
[New Thread 801c06400 (LWP 100262/python2.7)]
Adding log level parameter to smb4.conf resolves issue. Seems there is no log level by default.
Is this issue specific to freeBSD, have you tried reproducing on other OS?
No, I didn't try this on other OS.