Bug 11132 - samba-tool testparm - Segmentation fault
samba-tool testparm - Segmentation fault
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Python
x64 FreeBSD
: P5 normal
: ---
Assigned To: Jelmer Vernooij
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2015-03-04 14:12 UTC by Dron
Modified: 2017-04-04 13:35 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dron 2015-03-04 14:12:19 UTC
FreeBSD 10.1-RELEASE amd64
Samba 4.1.17

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.
Comment 1 amitkuma 2017-04-03 10:32:52 UTC
Is this issue specific to freeBSD, have you tried reproducing on other OS?
Comment 2 Dron 2017-04-04 13:35:18 UTC
No, I didn't try this on other OS.