[Bug 7538] New: Bayes_toks grow indefinitely on macOS High Sierra when using APFS

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] New: Bayes_toks grow indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

            Bug ID: 7538
           Summary: Bayes_toks grow indefinitely on macOS High Sierra when
                    using APFS
           Product: Spamassassin
           Version: 3.4.1
          Hardware: Macintosh
                OS: Mac OS X
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Learner
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: Undefined

I have macOS High Sierra 10.13.3 using SpamAssassin 3.4.1 on Perl 5.24
installed via MacPorts. When running SA with bayes enabled, the bayes.toks
files grow indefinitely until the volume is full.

These threads suggest the issue may only occur on an APFS volume which is what
I'm using also: https://discussions.apple.com/thread/8203349
https://discussions.apple.com/thread/8147080

Trying to analyze the problem I noticed that the same situation occurs when
running 'make test' for Mail::SpamAssassin in the bayesdbm.t test.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

hgv <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bayes_toks grow             |Bayes_toks grows
                   |indefinitely on macOS High  |indefinitely on macOS High
                   |Sierra when using APFS      |Sierra when using APFS
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

Kevin A. McGrail <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED
                 CC|                            |[hidden email]

--- Comment #1 from Kevin A. McGrail <[hidden email]> ---
Sorry, but I have to believe it's a bug in Apple's ServerOS

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

Sidney Markowitz <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Sidney Markowitz <[hidden email]> ---
Adding a comment to a closed issue so the solution shows up in searches.

This is caused by Mac OS High Sierra including Berkeley DB version 1.x, which
prevents CPAN DB_File from installing properly.

The workaround is to use Macports or homebrew to install a newer Berkeley DB
and then install DB_File from CPAN.

See https://wiki.apache.org/spamassassin/InstallingOnMacHighSierra

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

Bill Cole <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Bill Cole <[hidden email]> ---
(In reply to Sidney Markowitz from comment #2)
> Adding a comment to a closed issue so the solution shows up in searches.
>
> This is caused by Mac OS High Sierra including Berkeley DB version 1.x,
> which prevents CPAN DB_File from installing properly.

I am dubious of this analysis.

1. DB_File is part of the Perl core installation (5.18) on macOS and the Perl
core installation done via MacPorts (as reported.)

2. DB_File can be updated on macOS High Sierra via CPAN without issues.

3. SpamAssassin can be built from a fresh svn checkout (3.4 branch) without
problems and bayesdbm.t passes.

The system I have running High Sierra is NOT using APFS, a relatively new
filesystem which has had a substantial number of very serious bugs since
release. I suspect this is, as reported, probably APFS-dependent, and possibly
fixed in an update since this was reported and since the cited discussions went
quiet.

(In reply to Kevin A. McGrail from comment #1)
> Sorry, but I have to believe it's a bug in Apple's ServerOS

There has not been a distinct "Server" version of macOS for the past 7 versions
and the fact that the reporter is using a MacPorts Perl indicates that they are
not using Apple's installation of Perl or SpamAssassin.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

--- Comment #4 from Sidney Markowitz <[hidden email]> ---
(In reply to Bill Cole from comment #3)

I can well believe that it only happens on APFS, but I encountered this when I
tried to build SpamAssassin on my Mac yesterday for the first time since
installing High Sierra and APFS. High Sierra was fully up to date. Using the
system perl, I got the error when I did a make test. Switching to a perlbrew
perl that had already been installed before upgrading to High Sierra also
failed the make test. Trying to install a new perl failed when it tried to make
DB_File, as did trying an install of DB_File from CPAN.

After installing a new Berkeley DB I was able to install DB_File from CPAN into
my existing perlbrew perl, and I was able to install a new version of Perl in
perlbrew. The make test of bayesdbm.t passed with both of those perls.

This is discussed as a bug in High Sierra at this link
https://discussions.apple.com/thread/8125401?answerId=32430391022
That might require a login to view, here is the Google cache version of it
https://webcache.googleusercontent.com/search?q=cache:5WaK6PFMMY8J:https://discussions.apple.com/thread/8125401

Again, all that is with APFS, with nothing contradicting that it works on HPFS
disks.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

--- Comment #5 from Sidney Markowitz <[hidden email]> ---
This appears to be fixed in the system perl in the latest beta of Mac OS X
Mojave (10.14)

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 7538] Bayes_toks grows indefinitely on macOS High Sierra when using APFS

bugzilla-daemon-2
In reply to this post by bugzilla-daemon
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7538

Giovanni Bechis <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from Giovanni Bechis <[hidden email]> ---
For the archives:
it seems to be reproducible also with OpenBSD, it seems related to an old
BerkeleyDB version + FFS2 sparse file handling.

--
You are receiving this mail because:
You are the assignee for the bug.