H
Hanky-panky
Guest
I read a lot about this issue, before someone ask.
Samba41 from ports build pretty fine. No problem at all. It used to work before the upgrade from 10-RELEASE to 10.1-RELEASE, now it wont.
I had problem upgrading because of the freebsd-update(8) broken problem.
To be sure to have a consistent system I had also rebuilt all this system from scratch, starting from a subversion clean source and building and installing kernel and world.
My actual system level is:
Everything went perfectly fine. I then rebuilt all the ports and everything went fine again but Samba41
Samba41 build and install perfectly fine too, then it wont start because it fails testparm sanity check. Testparm segfault (signal 11) and so many of the others Samba41 utility like smbclient, smbpasswd, smbstatus and so on.
I deleted everything Samba related from the disk and reinstalled from scratch: same results, install went fine, every Samba41 segfaults (always signal 11).
If I do delete Samba41 and I do install Samba36, Samba36 doesn't have this problem: it works perfectly with the same smb.conf on the same system.
I try to rebuild smb.conf with a minimal one: no joy: Samba41 still and always segfaults.
I read a lot about the subject, then nothing of the known cure seems to fix this system.
Someone said it could be a Python27 problem so I deleted my Python27 (perfectly working with any other program in this system) and rebuild it from scratch too: still no joy.
I try to use gdb to debug the problem, then it seems there is nothing useful (or I can understand) on that code:
I'm out of ideas. Can someone help me?
I have to say I do not have this same problem on similar other 10.1-RELEASE machines upgraded via subversion after a broken freebsd-update(8), so there is something wrong with this failing machine related with Samba41, then It seems I'm unable to find and fix the problem.
Samba41 from ports build pretty fine. No problem at all. It used to work before the upgrade from 10-RELEASE to 10.1-RELEASE, now it wont.
I had problem upgrading because of the freebsd-update(8) broken problem.
To be sure to have a consistent system I had also rebuilt all this system from scratch, starting from a subversion clean source and building and installing kernel and world.
My actual system level is:
Code:
FreeBSD freebsd101 10.1-RELEASE FreeBSD 10.1-RELEASE #3 r281227: Wed Apr 8 09:59:13 CEST 2015 root@freebsd101:/usr/obj/usr/src/sys/GENERIC i386
Everything went perfectly fine. I then rebuilt all the ports and everything went fine again but Samba41
Samba41 build and install perfectly fine too, then it wont start because it fails testparm sanity check. Testparm segfault (signal 11) and so many of the others Samba41 utility like smbclient, smbpasswd, smbstatus and so on.
I deleted everything Samba related from the disk and reinstalled from scratch: same results, install went fine, every Samba41 segfaults (always signal 11).
If I do delete Samba41 and I do install Samba36, Samba36 doesn't have this problem: it works perfectly with the same smb.conf on the same system.
I try to rebuild smb.conf with a minimal one: no joy: Samba41 still and always segfaults.
I read a lot about the subject, then nothing of the known cure seems to fix this system.
Someone said it could be a Python27 problem so I deleted my Python27 (perfectly working with any other program in this system) and rebuild it from scratch too: still no joy.
I try to use gdb to debug the problem, then it seems there is nothing useful (or I can understand) on that code:
Code:
gdb testparm
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 "i386-marcel-freebsd"...
(gdb) core testparm.core
Core was generated by `testparm'.
Program terminated with signal 11, Segmentation fault.
#0 0x21d731b5 in ?? ()
(gdb) backtrace
#0 0x21d731b5 in ?? ()
#1 0x21f129d0 in ?? ()
#2 0x00000000 in ?? ()
(gdb)
I'm out of ideas. Can someone help me?
I have to say I do not have this same problem on similar other 10.1-RELEASE machines upgraded via subversion after a broken freebsd-update(8), so there is something wrong with this failing machine related with Samba41, then It seems I'm unable to find and fix the problem.
Last edited by a moderator: