Bug 202565

Summary: [patch] net/samba42 Core dumping
Product: Ports & Packages Reporter: Andrej Ebert <andrej>
Component: Individual Port(s)Assignee: Timur I. Bakeyev <timur>
Status: Closed FIXED    
Severity: Affects Many People CC: ulzeraj
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (timur)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patches replace.c none

Description Andrej Ebert 2015-08-22 10:20:43 UTC
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.
Comment 1 Paulo Roberto Candido dos Santos 2015-08-22 17:20:30 UTC
(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
Comment 2 Timur I. Bakeyev freebsd_committer freebsd_triage 2015-12-18 08:55:01 UTC
Have been fixed in the recent version of the port