List Info

Thread: DO NOT REPLY New: - looping/race condition in Property/PropertyHelper




DO NOT REPLY New: - looping/race condition in Property/PropertyHelper
country flaguser name
United States
2007-09-20 09:18:37
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=43
438>.
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: devant.apache.org
        ReportedBy: stevelapache.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.eval
uate(Property.java:105)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.taskdefs.Property$PropertyResolver.eval
uate(Property.java:110)
        at
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelp
er.java:787)
        - locked <0x00002aaab4013548> (a
org.apache.tools.ant.PropertyHelper)
        at
org.apache.tools.ant.PropertyHelper.parseNextProperty(Proper
tyHelper.java:541)
        at
org.apache.tools.ant.PropertyHelper.parseProperties(Property
Helper.java:502)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(Runt
imeConfigurable.java:390)
        - locked <0x00002aaab3f5ea38> (a
org.apache.tools.ant.RuntimeConfigurable)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(Runt
imeConfigurable.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(UnknownEl
ement.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.ja
va:1324)
        at
org.apache.tools.ant.Project.executeTarget(Project.java:1293
)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D
efaultExecutor.java:41)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:117
6)
        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=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - looping/race condition in Property/PropertyHelper
country flaguser name
United States
2007-09-26 12:14:05
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=43
438>.
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





------- Additional Comments From gudnabrsamyahoo.com
 2007-09-26 10:14 -------
Did Peter's changes help here?

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - looping/race condition in Property/PropertyHelper
country flaguser name
United States
2007-09-28 04:09:24
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=43
438>.
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


stevelapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
           Severity|critical                    |regression
             Status|NEW                         |NEEDINFO




------- Additional Comments From stevelapache.org  2007-09-28 02:09 -------
seems to, but let's leave it open for a while until I am
more convinced all is
well. That's the trouble with any concurrency-related bug:
hard to replicate,
and hard to verify that it is gone. 

downgrading to regression, as it is no longer critical for
me, marking as needinfo

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )