harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [build-test alert] FAILED Linux x86: JettyScenario
Date Fri, 24 Aug 2007 15:14:27 GMT
FYI

Reading the code for SelectorImpl for this failure, it looked suspicious
to me that #implCloseSelector doesn't acquire any locks and calls
#doCancel (which modifies keys and selectedKeys), whereas the call to
#doCancel that occurs as part of #selectInternal(long) does it holding
locks to those sets.

That said, the failure is indexing into the ready readableChannels so it
wouldn't fix that.

Regards,
Tim

nomail@intel.com wrote:
> Jetty server JRE:
> 
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r568614, (Aug 23 2007), Linux/ia32/gcc 3.3.3, release build
> http://harmony.apache.org
<snip>
> Jetty server output:
> 
> 2007-08-24 17:46:16.139::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
> 2007-08-24 17:46:17.418::INFO:  Statistics on = false for SelectChannelConnector @ 0.0.0.0:7070
> 2007-08-24 17:46:17.689::INFO:  jetty-6.1.2rc1
> 2007-08-24 17:46:18.140::INFO:  Deploy /export/users2/cc/cc-suites/build/libs/jetty-6.1.2rc1/contexts/test.xml
-> org.mortbay.jetty.webapp.WebAppContext@10a54e29{/test,/export/users2/cc/cc-suites/build/libs/jetty-6.1.2rc1/webapps/test}
> 2007-08-24 17:46:18.333::INFO:  Deploy /export/users2/cc/cc-suites/build/libs/jetty-6.1.2rc1/contexts/javadoc.xml
-> org.mortbay.jetty.servlet.Context@10a803ce{/javadoc,file:/export/users2/cc/cc-suites/build/libs/jetty-6.1.2rc1/javadoc/}
> 2007-08-24 17:46:46.458::WARN:  Unknown realm: Test JAAS Realm
> 2007-08-24 17:47:01.213::INFO:  Started SelectChannelConnector @ 0.0.0.0:7070
> 2007-08-24 17:47:17.544::WARN:  EXCEPTION 
> java.nio.channels.CancelledKeyException
> 	at org.apache.harmony.nio.internal.SelectionKeyImpl.checkValid(SelectionKeyImpl.java:90)
> 	at org.apache.harmony.nio.internal.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:55)
> 	at org.apache.harmony.nio.internal.SelectorImpl.prepareChannels(SelectorImpl.java:222)
> 	at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:185)
> 	at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:167)
> 	at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:394)
> 	at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:175)
> 	at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
> 	at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> 2007-08-24 17:47:17.561::WARN:  EXCEPTION 
> java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.harmony.nio.internal.SelectorImpl.processSelectResult(SelectorImpl.java:259)
> 	at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:199)
> 	at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:167)
> 	at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:394)
> 	at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:175)
> 	at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:124)
> 	at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> 
> ================================================================================


Mime
View raw message