Bug 11132 - samba-tool testparm - Segmentation fault
Summary: samba-tool testparm - Segmentation fault
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Python (show other bugs)
Version: 4.1.17
Hardware: x64 FreeBSD
: P5 normal (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: Samba QA Contact
Depends on:
Reported: 2015-03-04 14:12 UTC by Dron
Modified: 2020-05-14 13:26 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 Amit Kumar 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.
Comment 3 Douglas Bagnall 2019-01-31 04:12:41 UTC
Dron: can you reproduce this with a recent version of Samba?

If not, I will close the bug. The relevant code has changed quite a bit.
Comment 4 Rowland Penny 2020-05-14 13:26:32 UTC
Closing bug report, cannot reproduce and reporter hasn't responded to Douglas's request.