You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2011/05/31 20:46:30 UTC

[Bug 6610] New: Test Suite Failure: uninitialized value in BayesStore/DBM.pm

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6610

             Bug #: 6610
           Summary: Test Suite Failure: uninitialized value in
                    BayesStore/DBM.pm
           Product: Spamassassin
           Version: 3.3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Building & Packaging
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: software+spamassassin@kd6lvw.ampr.org
    Classification: Unclassified


t/text_bad_ctype.t ................ 1/2
 May 31 18:38:01.845 [11408] warn: Use of uninitialized value in concatenation
(.) or string at ../blib/lib/Mail/SpamAssassin/BayesStore/DBM.pm line 315.
May 31 18:38:01.847 [11408] warn: Use of uninitialized value in numeric ge (>=)
at ../blib/lib/Mail/SpamAssassin/BayesStore/DBM.pm line 1889.
May 31 18:38:01.847 [11408] warn: Use of uninitialized value in numeric eq (==)
at ../blib/lib/Mail/SpamAssassin/BayesStore/DBM.pm line 1892.
May 31 18:38:01.847 [11408] warn: Use of uninitialized value in numeric ge (>=)
at ../blib/lib/Mail/SpamAssassin/BayesStore/DBM.pm line 1903.
May 31 18:38:01.847 [11408] warn: Use of uninitialized value in numeric eq (==)
at ../blib/lib/Mail/SpamAssassin/BayesStore/DBM.pm line 1906.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6610] Test Suite Failure: uninitialized value in BayesStore/DBM.pm

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6610

D. Stussy <so...@kd6lvw.ampr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |software+spamassassin@kd6lv
                   |                            |w.ampr.org

--- Comment #2 from D. Stussy <so...@kd6lvw.ampr.org> 2011-06-03 18:55:45 UTC ---
"Anyway, the test is unrelated to bayes."

Then perhaps the test should not be performed.  OK, I'm ignoring it.

As far as the testing you suggest, I'm not intimate enough with [that part of]
SA's code to know what that's doing.  Someone else will have to provide
results.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6610] Test Suite Failure: uninitialized value in BayesStore/DBM.pm

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6610

D. Stussy <so...@kd6lvw.ampr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #3 from D. Stussy <so...@kd6lvw.ampr.org> 2011-08-11 19:59:36 UTC ---
The problem has not re-occurred when I upgraded to the official 3.3.2 release.
Closing as wontfix (could also be invalid).

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6610] Test Suite Failure: uninitialized value in BayesStore/DBM.pm

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6610

--- Comment #1 from Mark Martinec <Ma...@ijs.si> 2011-06-03 14:28:21 UTC ---
Looks like the reason for all these warnings is an undefined
$self->{db_version},
probably as a consequence of some previous error related to bayes database
files. Strangely this test does not even try to create or use a bayes
test database when I try it here. Anyway, the test is unrelated to bayes.

Could you please turn on the -D (debug) option in the test's call to
sarun (there are two of them) and capture the result of running this test:

t/text_bad_ctype.t:
< sarun ("-L -t < data/spam/badctype1", \&patterns_run_cb);
> sarun ("-L -D -t < data/spam/badctype1", \&patterns_run_cb);
(twice)

and then something like:
  prove t/text_bad_ctype.t 2>&1 | tee 0.log

Check also what files are in the directory
  t/log/user_state/
before and after the test run, and what is a protection/ownership
of this directory.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.