Created attachment 160210 [details] patches replace.c Samba 4.2.3 (running as AD DC) core dumps with the latest version of databases/ntdb, databases/ldb, databases/tdb, devel/tevent and devel/talloc. In all these ports replace.c needs to be patched, see according Samba bug: https://bugzilla.samba.org/show_bug.cgi?id=11455 See also(russian): http://forum.lissyara.su/viewtopic.php?f=8&t=43337 Attached an svn diff that adds an patch for replace.c to all affected ports. With these patches Samba and the other ports builds and runs fine on FreeBSD 10.2-PRERELEASE #0 r285847 amd64 with the latest ports tree.
(In reply to andrej from comment #0) I've experienced core dumps with the 4.0.x version too but the problem doesn't happen if I upgrade everything except databases/ldb. Please see https://forums.freebsd.org/threads/samba41-core-dump-after-moving-to-4-1-18.52915
Have been fixed in the recent version of the port