ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43438] New: - looping/race condition in Property/PropertyHelper
Date Thu, 20 Sep 2007 14:18:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43438>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43438

           Summary: looping/race condition in Property/PropertyHelper
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: stevel@apache.org


As raised on ant-dev, the property evaluation code in SVN_HEAD is capable of
going in to an infinite loop, despite the stack checks that appear designed to
prevent exactly that. Marked as critical, as without a fix, Ant does not run to
completion on approximately 50% of my builds.

"main" prio=10 tid=0x0000000040112c00 nid=0x42cf runnable
[0x0000000040229000..0x000000004022aec0]
   java.lang.Thread.State: RUNNABLE
        at java.util.Vector.contains(Vector.java:320)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:105)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
        at org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
        - locked <0x00002aaab4013548> (a org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.PropertyHelper.parseNextProperty(PropertyHelper.java:541)
        at
org.apache.tools.ant.PropertyHelper.parseProperties(PropertyHelper.java:502)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:390)
        - locked <0x00002aaab3f5ea38> (a org.apache.tools.ant.RuntimeConfigurable)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:349)
        at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
        at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:193)
        at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
        at org.apache.tools.ant.Task.perform(Task.java:347)
        at org.apache.tools.ant.Target.execute(Target.java:354)
        at org.apache.tools.ant.Target.performTasks(Target.java:379)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1324)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1293)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1176)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message