On 19/09/2013 07:18, Rainer Jung wrote:
> I get a crash when using tcnative 1.1.28 and JDK 1.7.0_40 on Solaris 10:
> 
> WARN: Test failure in
> 'output/build/logs/TEST-org.apache.tomcat.websocket.TestWsWebSocketContainer.APR.txt':
> Testsuite: org.apache.tomcat.websocket.TestWsWebSocketContainer
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> 
> Testcase: testSessionExpiryContainer took 0.006 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.
> 
> Stack from HotSpot error file:
> 
> Stack: [0xb2800000,0xb2880000],  sp=0xb287cfa8,  free space=499k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> C  [libtcnative-1.so.0.1.28+0x100fc]
> Java_org_apache_tomcat_jni_Socket_recv+0x40
> j  org.apache.tomcat.jni.Socket.recv(J[BII)I+1
> j  org.apache.tomcat.jni.Socket.recv(J[BII)I+0
> j  org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(Z[BII)I+83

That looks like the error I thought I had fixed.

I've had some ideas for a more robust fix. I'll try implementing them to
see how practical they are.

How repeatable is this failure? If you run the single test case for APR
do you always get the crash?

<snip/>

> Note that there's another error only happening with apr:
> WARN: Test failure in
> 'output/build/logs/TEST-org.apache.catalina.connector.TestCoyoteAdapter.APR.txt':

<snip/>

> Testcase: testPathParamsRedirect took 20.782 sec
>         Caused an ERROR
> Unexpected end of file from server
> java.net.SocketException: Unexpected end of file from server

That is very strange. Looks like a connection timeout. I'm inclined to
view this one as a false positive.

Again, how repeatable is it?

Mark

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

Reply via email to