https://bz.apache.org/bugzilla/show_bug.cgi?id=63950
Bug ID: 63950
Summary: org.apache.catalina.core.TestAsyncContextStateChanges
with APR blocks forever on FreeBSD
Product: Tomcat 7
Version: 7.0.96
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: major
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 36893
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36893&action=edit
Thread dump of locked JVM
Running the mentioned test from 7.0.x on
> FreeBSD 12.1-STABLE #1 r353717
on a very capable machine:
> $ sysctl hw.physmem
> hw.physmem: 34200395776
>
> $ sysctl hw.model hw.machine hw.ncpu
> hw.model: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz
> hw.machine: amd64
> hw.ncpu: 20
on
> openjdk version "1.8.0_232"
> OpenJDK Runtime Environment (build 1.8.0_232-b09)
> OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
The JVM running the test is completely blocked. The last lines from the output:
> [junit] Nov 21, 2019 10:59:30 PM
> org.apache.catalina.startup.LoggingBaseTest setUp
> [junit] INFORMATION: Starting test case [testAsync[10: end [ERROR_NONE],
> timing [THREAD_AFTER_EXIT]]]
> [junit] Nov 21, 2019 10:59:30 PM
> org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> [junit] INFORMATION: An older version [1.2.21] of the APR based Apache
> Tomcat Native library is installed, while Tomcat recommends a minimum version
> of [1.2.23]
> [junit] Nov 21, 2019 10:59:30 PM
> org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> [junit] INFORMATION: Loaded APR based Apache Tomcat Native library
> [1.2.21] using APR version [1.7.0].
> [junit] Nov 21, 2019 10:59:30 PM
> org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> [junit] INFORMATION: APR capabilities: IPv6 [false], sendfile [true],
> accept filters [true], random [true].
> [junit] Nov 21, 2019 10:59:30 PM
> org.apache.catalina.core.AprLifecycleListener initializeSSL
> [junit] INFORMATION: OpenSSL successfully initialized [OpenSSL
> 1.1.1d-freebsd 10 Sep 2019]
> [junit] Nov 21, 2019 10:59:30 PM org.apache.coyote.AbstractProtocol init
> [junit] INFORMATION: Initialisiere
> ProtocolHandler["http-apr-127.0.0.1-auto-11"]
> [junit] Nov 21, 2019 10:59:30 PM org.apache.catalina.core.StandardService
> startInternal
> [junit] INFORMATION: Starting service [Tomcat]
> [junit] Nov 21, 2019 10:59:30 PM org.apache.catalina.core.StandardEngine
> startInternal
> [junit] INFORMATION: Starting Servlet Engine: Apache Tomcat/7.0.98-dev
> [junit] Nov 21, 2019 10:59:30 PM org.apache.catalina.startup.TldConfig
> execute
> [junit] INFORMATION: At least one JAR was scanned for TLDs yet contained
> no TLDs. Enable debug logging for this logger for a complete list of JARs
> that were scanned but no TLDs were found in them. Skipping unneeded JARs
> during scanning can improve startup time and JSP compilation time.
> [junit] Nov 21, 2019 10:59:30 PM org.apache.coyote.AbstractProtocol start
> [junit] INFORMATION: Starting ProtocolHandler
> ["http-apr-127.0.0.1-auto-11-31205"]
dump has been attached.
During the block truss reports me:
> _umtx_op(0x801afd320,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffddedcd08)
> ERR#60 'Operation timed out'
in a loop
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]