Bug 202565 - [patch] net/samba42 Core dumping
Summary: [patch] net/samba42 Core dumping
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Timur I. Bakeyev
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-08-22 10:20 UTC by Andrej Ebert
Modified: 2015-12-18 08:55 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments
patches replace.c (7.31 KB, patch)
2015-08-22 10:20 UTC, Andrej Ebert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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