james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Aldrich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDKIM-26) java.lang.StackOverflowError runtime exception
Date Tue, 01 Feb 2011 22:25:28 GMT

    [ https://issues.apache.org/jira/browse/JDKIM-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989415#comment-12989415
] 

Ben Aldrich commented on JDKIM-26:
----------------------------------

I ran it through the debugger and was able to track it all the way down to TagValue.java.
When it calls valuePattern.matcher(value).matches() on the z= in the attached message. 

> java.lang.StackOverflowError runtime exception 
> -----------------------------------------------
>
>                 Key: JDKIM-26
>                 URL: https://issues.apache.org/jira/browse/JDKIM-26
>             Project: JAMES jDKIM
>          Issue Type: Bug
>          Components: library
>    Affects Versions: 0.2, 1.0
>         Environment: ubuntu 10.04
> java version "1.6.0_20"
>            Reporter: Ben Aldrich
>            Priority: Critical
>         Attachments: comcast.hostfailed.201009011204
>
>
> When parsing an unusual dkim signature this exception is thrown:
> java.lang.StackOverflowError
>         at java.util.regex.Pattern$Slice.match(Pattern.java:3499)
>         at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
>         at java.util.regex.Pattern$Loop.matchInit(Pattern.java:4328)
>         at java.util.regex.Pattern$Prolog.match(Pattern.java:4268)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
>         at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
>         at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
>         at java.util.regex.Pattern$Curly.match0(Pattern.java:3799)
>         at java.util.regex.Pattern$Curly.match(Pattern.java:3761)
>         at java.util.regex.Pattern$Loop.match(Pattern.java:4321)
>         at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
>         at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
>         at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3383)
>         at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
>         at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
>         at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
>         at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
>         at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3383)
>         at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
>         at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
>         at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
>         at java.util.regex.Pattern$BranchConn.match(Pattern.java:4095)
>         at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3383)
>         at java.util.regex.Pattern$Slice.match(Pattern.java:3499)
>         at java.util.regex.Pattern$Branch.match(Pattern.java:4131)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
>         at java.util.regex.Pattern$Loop.matchInit(Pattern.java:4328)
>         at java.util.regex.Pattern$Prolog.match(Pattern.java:4268)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4185)
>         at java.util.regex.Pattern$Loop.match(Pattern.java:4312)
>         at java.util.regex.Pattern$GroupTail.match(Pattern.java:4244)
> I have uploaded the message causing the issue, I am getting email like this a couple
times a week crashing dkim validation.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message