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
j
org.apache.coyote.http11.upgrade.AbstractServletInputStream.read([BII)I+20
j  org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable()V+46
j
org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable()V+4
j
org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable()V+11
j
org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/util/net/AbstractEndpoint$Handler$SocketState;
+11
j
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tomcat/ut
il/net/AbstractEndpoint$Handler$SocketState;+212
j
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Lorg/apache/tomcat/util/net/SocketWrapper;Lorg/apache/tomcat/util/net/SocketStatus;)Lorg/apache/tom
cat/util/net/AbstractEndpoint$Handler$SocketState;+76
j  org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun()V+26
j  org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run()V+55
J
java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x1bc72c]  void
JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x320
V  [libjvm.so+0x6bd888]  void
JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,Symbol*,Symbol*,Thread*)+0x1a0
V  [libjvm.so+0x267820]  void thread_entry(JavaThread*,Thread*)+0x170
V  [libjvm.so+0xb0bf98]  void JavaThread::thread_main_inner()+0x9c
V  [libjvm.so+0x263250]  void JavaThread::run()+0x494
V  [libjvm.so+0x9e30f0]  java_start+0x338


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':
Testsuite: org.apache.catalina.connector.TestCoyoteAdapter
Tests run: 18, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 48.535 sec
------------- Standard Output ---------------
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/plain;charset=UTF-8
Transfer-Encoding: chunked
Date: Wed, 18 Sep 2013 22:16:04 GMT

4
TEST
4
TEST
------------- ---------------- ---------------
------------- Standard Error -----------------
19-Sep-2013 00:15:56.939 INFO [main]
org.apache.catalina.core.AprLifecycleListener.init Loaded APR based
Apache Tomcat Native library 1.1.28 using APR version 1.4.8.
19-Sep-2013 00:15:56.945 INFO [main]
org.apache.catalina.core.AprLifecycleListener.init APR capabilities:
IPv6 [true], sendfile [true], accept filters [false], random [true].
19-Sep-2013 00:15:57.238 INFO [main]
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
successfully initialized (OpenSSL 1.0.1esp1 12 Feb 2013)
19-Sep-2013 00:15:58.510 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-apr-127.0.0.1-auto-1"]
19-Sep-2013 00:15:58.555 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Tomcat
...
19-Sep-2013 00:16:18.685 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
Tomcat
19-Sep-2013 00:16:18.685 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
Engine: Apache Tomcat/8.0.0-RC2
19-Sep-2013 00:16:18.709 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-apr-127.0.0.1-auto-13-62683"]
19-Sep-2013 00:16:28.796 SEVERE [http-apr-127.0.0.1-auto-13-Poller]
org.apache.tomcat.util.net.AprEndpoint$Poller.run Poller failed with
error [81] : [File descriptor in bad state]
19-Sep-2013 00:16:38.806 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-apr-127.0.0.1-auto-13-62683"]
19-Sep-2013 00:16:38.858 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
Tomcat
...
------------- ---------------- ---------------

Testcase: testPathParamExtRootNoParam took 4.629 sec
Testcase: testPathParmsFooSessionDummy took 2.014 sec
Testcase: testPathParmsFooSessionValue took 0.658 sec
Testcase: testBug54928 took 4.188 sec
Testcase: testPathParamExtLevel1NoParam took 0.8 sec
Testcase: testPathParmsRootSessionOnly took 0.579 sec
Testcase: testBug54602a took 1.549 sec
Testcase: testBug54602b took 3.198 sec
Testcase: testBug54602c took 1.054 sec
Testcase: testBug54602d took 0.569 sec
Testcase: testBug54602e took 1.18 sec
Testcase: testPathParmsRootNone took 1.617 sec
Testcase: testPathParamsRedirect took 20.782 sec
        Caused an ERROR
Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:772)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)
        at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
        at
org.apache.catalina.startup.TomcatBaseTest.methodUrl(TomcatBaseTest.java:247)
        at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:219)
        at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:213)
        at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:202)
        at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:196)
        at
org.apache.catalina.connector.TestCoyoteAdapter.testPath(TestCoyoteAdapter.java:137)
        at
org.apache.catalina.connector.TestCoyoteAdapter.testPathParamsRedirect(TestCoyoteAdapter.java:116)

Testcase: testPathParmsFooSessionDummyValue took 0.611 sec
Testcase: testPathParmsFooSessionOnly took 1.023 sec
Testcase: testPathParmsFooSessionBar took 1.275 sec
Testcase: testPathParmsFooNone took 1.867 sec
Testcase: testPathParamExtLevel1WithParam took 0.809 sec


Regards,

Rainer

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

Reply via email to