tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: [VOTE] Release Apache Tomcat 7.0.24
Date Mon, 16 Jan 2012 09:44:50 GMT
On 16.01.2012 00:29, Mark Thomas wrote:
> The proposed Apache Tomcat 7.0.24 release is now available for voting.
>
> It can be obtained from:
> http://people.apache.org/~markt/dev/tomcat-7/v7.0.24/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_24/
>
> The proposed 7.0.24 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 7.0.24 Stable
>
> I dropped both alpha and beta as if it is not stable, I'll re-roll the
> release.

Two problems noticed:

1) Unit test failure due to missing target directory in src dist
================================================================

I noticed that test/webapp-3.0-virtual-library/target is missing from 
the src dist. So when rebuilding from src dist and running unit tests, I 
get a failure in TestVirtualContext, because some resource which is 
usually retrieved form the target dir is missing:

Testcase: testVirtualClassLoader took 7.434 sec
         FAILED
expected:<200> but was:<404>
junit.framework.AssertionFailedError: expected:<200> but was:<404>
         at 
org.apache.catalina.loader.TestVirtualContext.assertPageContains(TestVirtualContext.java:302)
         at 
org.apache.catalina.loader.TestVirtualContext.assertPageContains(TestVirtualContext.java:294)
         at 
org.apache.catalina.loader.TestVirtualContext.testVirtualClassLoader(TestVirtualContext.java:100)

AFAIK the root cause is, that we exclude **/target/** in the ant target 
dist-source from being copied.

Note that there is also test/webapp-3.0-virtual-library/target.

I don't know, whether we can simply drop this exclude, or should rename 
the directory. I CC'd Sylvain explicitely, maybe he can comment on it.


2) Crash during Unit tests for APR
==================================

Testcase: testAdditionalWebInfClassesPaths took 0.623 sec
WARN: Test failure in 
'output/build/logs/TEST-org.apache.tomcat.util.net.TestXxxEndpoint.APR.txt':
Testsuite: org.apache.tomcat.util.net.TestXxxEndpoint
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

Testcase: testStartStopBindOnStart took 0.005 sec
»·······Caused an ERROR
Forked Java VM exited abnormally. Please note the time in the report 
does not reflect the time until the VM exit.
junit.framework.AssertionFailedError: Forked Java VM exited abnormally. 
Please note the time in the report does not reflect the time until the 
VM exit.


HotSpot and pstack say it was in the HotSot Compiler:

Stack: [0xb6f00000,0xb6f80000],  sp=0xb6f7e3c0,  free space=504k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)
V  [libjvm.so+0xfc598]  unsigned IndexSetIterator::advance_and_next()+0x13c
V  [libjvm.so+0x18a7dc]  void PhaseIFG::SquareUp()+0x178
V  [libjvm.so+0x1b6000]  void PhaseChaitin::Register_Allocate()+0xab4
V  [libjvm.so+0x1b8bc4]  void Compile::Code_Gen()+0x39c
V  [libjvm.so+0x431098] 
Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,bool,bool)+0xdb0
V  [libjvm.so+0x1d2cd8]  void 
C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0xa8
V  [libjvm.so+0x1d3b64]  void 
CompileBroker::invoke_compiler_on_method(CompileTask*)+0x99c
V  [libjvm.so+0x245d88]  void CompileBroker::compiler_thread_loop()+0x8d0
V  [libjvm.so+0x873688]  void JavaThread::thread_main_inner()+0x50
V  [libjvm.so+0x79357c]  java_start+0x178

The only other likely thread would be the APR thread:

  b6c32708 __umoddi3 (0, cad85ac0, 0, 16f7, 0, b6c85b88) + 48
  b6b7d064 BN_mod_word (1be7c0, 16f7, 7, 0, 16fb1c, b) + 64
  b6b7f530 probable_prime (1be7c0, 200, 616660, 608, ffffba3a, b6c4aeec) 
+ 50
  b6b7fee4 BN_generate_prime_ex (1be7c0, 200, 0, 0, 0, fe37d854) + 384
  b6b9a024 RSA_generate_key_ex (29cde8, 200, 1, fe37d854, 0, a639b0) + 144
  b6b9e254 RSA_generate_key (400, 10001, 0, 0, 101888, 29cde8) + b4
  fe05c044 ssl_tmp_key_init_rsa (400, 1, ffffffff, fffffff8, 0, 
fe079de0) + 20
  fe05cebc Java_org_apache_tomcat_jni_SSL_initialize (a4, 0, 0, 
fe07a344, 0, 31928) + 340
  fc00d700 * org/apache/tomcat/jni/SSL.initialize(Ljava/lang/String;)I+24676
  fc00d6ac * org/apache/tomcat/jni/SSL.initialize(Ljava/lang/String;)I+0
...
  fc005940 * 
org/apache/catalina/core/AprLifecycleListener.initializeSSL()V+106 (line 
487)

I will rerun test using the APR build I used for testing 7.0.23. Since 
then I rebuild APR to use the newer OpenSSL version. I also updated Java 
from 1.6.0_29 to _30.

Regards,

Rainer

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


Mime
View raw message