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 2009/11/12 13:04:34 UTC

[Bug 6236] New: MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

           Summary: MIMEHeaders throws "failed to run"-Warnings if the SA
                    Object is recreated
           Product: Spamassassin
           Version: 3.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: stelios.gikas@noris.net


Created an attachment (id=4571)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4571)
Script to Test the above.

rules: failed to run CTYPE_8SPACE_GIF test, skipping:
        (Can't call method "_mimeheader_eval_CTYPE_8SPACE_GIF" on an undefined
value at (eval 670) line 7.
)
rules: failed to run TVD_FW_GRAPHIC_NAME_LONG test, skipping:
        (Can't call method "_mimeheader_eval_TVD_FW_GRAPHIC_NAME_LONG" on an
undefined value at (eval 679) line 7, <$tmpfile> line 2.
)
rules: failed to run TVD_FW_GRAPHIC_NAME_MID test, skipping:
        (Can't call method "_mimeheader_eval_TVD_FW_GRAPHIC_NAME_MID" on an
undefined value at (eval 695) line 7, <$tmpfile> line 4.
)

This errors are thrown on the second run of SA if not the same Object is used.
Plugin::MIMEHeader doesn't throw the error if I use the same SA Object.

This error has to do with the Patch in Bug 4819.

A script to test has been attached.
I will immediatelly upload a patch for that.

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

--- Comment #6 from Mark Martinec <Ma...@ijs.si> 2011-05-10 12:58:50 UTC ---
I started noticing this problem ever since amavisd started to support
multiple instances of a SpamAssassin object. Needs investigation,
apparently Mail::SpamAssassin objects are not self-contained.

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.2                       |3.4.0

--- Comment #8 from Mark Martinec <Ma...@ijs.si> 2011-05-19 11:52:20 UTC ---
It is a flaw preventing to safely take advantage of having multiple
SA object in existence at the same time. As the solution involves
decoupling a shared namespace of run-time compiled subroutines and
binding each to its SA object, it seems that this involves nontrivial
work. Moving target to 3.4.0.

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.3.0
           Severity|minor                       |normal

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.0                       |3.4.1

--- Comment #9 from Mark Martinec <Ma...@ijs.si> ---
Not easy and not imminently threatening, moving target to 3.4.1.

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

[Bug 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P3

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|security                    |
          Component|Security                    |Libraries
         AssignedTo|security@spamassassin.apach |dev@spamassassin.apache.org
                   |e.org                       |

--- Comment #3 from Justin Mason <jm...@jmason.org> 2010-01-27 03:16:44 UTC ---
reassigning, too

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

Karsten Bräckelmann <gu...@rudersport.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|security                    |
          Component|Security                    |Libraries
         AssignedTo|security@spamassassin.apach |dev@spamassassin.apache.org
                   |e.org                       |

--- Comment #5 from Karsten Bräckelmann <gu...@rudersport.de> 2010-03-23 17:43:00 UTC ---
Moving back off of Security, which got changed by accident during the mass
Target Milestone move.

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

--- Comment #7 from Mark Martinec <Ma...@ijs.si> 2011-05-10 13:01:13 UTC ---
> I started noticing this problem ever since amavisd started to support
> multiple instances of a SpamAssassin object. Needs investigation,
> apparently Mail::SpamAssassin objects are not self-contained.

I should add that 3.3.2(rc) and trunk are no better in this respect.

-- 
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 6236] MIMEHeaders throws "failed to run"-Warnings if the SA Object is recreated

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

--- Comment #1 from Stelios Gikas <st...@noris.net> 2009-11-12 04:06:43 UTC ---
Created an attachment (id=4572)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4572)
The Patch

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