net/samba413 crashes in `testparm` on 12-STABLE amd64

Lev Serebryakov lev at FreeBSD.org
Tue Nov 24 17:08:29 UTC 2020


  I've updated old samba410 to samba413-4.13.1_1 on my 12-STABLE (r367937) system. Package has been built by local poudriere, jail is equivalent to host (installed from same src+obj).

  Package has been built with minimal options to support standalone sever: no AD/DC, no Kerberos, no DNS updates, nothing fancy.

  And `testparm` from this package core dumps:

Core was generated by `/usr/local/bin/testparm --suppress-prompt --verbose /usr/local/etc/smb4.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  thr_malloc_lock (curthread=0x801e167d0) at /usr/src/lib/libthr/thread/thr_malloc.c:66
66              curthread->locklevel++;
(gdb) bt
#0  thr_malloc_lock (curthread=0x801e167d0) at /usr/src/lib/libthr/thread/thr_malloc.c:66
#1  __thr_calloc (num=1, size=96) at /usr/src/lib/libthr/thread/thr_malloc.c:88
#2  0x0000000801448843 in mutex_init (mutex=0x801072008, mutex_attr=<optimized out>, calloc_cb=<optimized out>) at /usr/src/lib/libthr/thread/thr_mutex.c:295
#3  __Tthr_mutex_init (mutex=0x801072008, mutex_attr=<optimized out>) at /usr/src/lib/libthr/thread/thr_mutex.c:395
#4  0x00000008016e52fc in ?? () from /usr/local/lib/libgnutls.so.30
#5  0x00000008016decb3 in ?? () from /usr/local/lib/libgnutls.so.30
#6  0x00000008016df077 in ?? () from /usr/local/lib/libgnutls.so.30
#7  0x000000080103730d in objlist_call_init (list=<optimized out>, lockstate=<optimized out>) at /usr/src/libexec/rtld-elf/rtld.c:2823
#8  0x000000080103603d in _rtld (sp=0x7fffffffed08, exit_proc=0x7fffffffecc0, objp=0x7fffffffecc8) at /usr/src/libexec/rtld-elf/rtld.c:811
#9  0x00000008010338c9 in rtld_start () at /usr/src/libexec/rtld-elf/amd64/rtld_start.S:39
#10 0x0000000000000000 in ?? ()
(gdb)


  `samba412` built with same options on same system works.


-- 
// Lev Serebryakov


More information about the freebsd-ports mailing list