Using gdb I see:

Case 1:

#7 impl_pollset_remove (pollset=0xeebf68, descriptor=0xb377f6a4) at poll/unix/port.c:283
        fd = <optimized out>
        ep = <optimized out>
        rv = 0
        res = <optimized out>
        err = 0
        found = <optimized out>
#8 0xfaddfcdc in apr_pollset_remove (pollset=0xeebf68, descriptor=descriptor@entry=0xb377f6a4) at poll/unix/pollset.c:343
No locals.
#9 0xfaed4b88 in Java_org_apache_tomcat_jni_Poll_maintain (e=0x659884, o=<optimized out>, pollset=<optimized out>, set=0xb377f82c, remove=<optimized out>) at src/poll.c:484 fd = {p = 0x0, desc_type = APR_POLL_SOCKET, reqevents = 5, rtnevents = 0, desc = {f = 0x0, s = 0x0}, client_data = 0xe527b8}
        s = <optimized out>
        p = 0x1157648
        i = 0
        num = 1
        now = <optimized out>
        ep = <optimized out>
        ip = <optimized out>

(gdb) print *pollset
$1 = {pool = 0xeebf28, nelts = 0, nalloc = 8193, flags = 6, wakeup_pipe = {0x1157558, 0x11575a8}, wakeup_pfd = {p = 0xeebf28, desc_type = APR_POLL_FILE, reqevents = 1, rtnevents = -16516, desc = {f = 0x1157558, s = 0x1157558}, client_data = 0xeebf7c}, p = 0xeebfa0, provider = 0xfadf8838}
(gdb) print *descriptor
$2 = {p = 0x0, desc_type = APR_POLL_SOCKET, reqevents = 5, rtnevents = 0, desc = {f = 0x0, s = 0x0}, client_data = 0xe527b8}
(gdb) print *pollset->pool
$3 = {parent = 0x6557d0, child = 0x0, sibling = 0x0, ref = 0x13b8c60, cleanups = 0x1157638, free_cleanups = 0x0, allocator = 0x319d68, subprocesses = 0x0, abort_fn = 0, user_data = 0x0, tag = 0x0, active = 0xde0a50, self = 0xeebf10, self_first_avail = 0xeebf68 "", pre_cleanups = 0x0}


So we crash here:

282     if (descriptor->desc_type == APR_POLL_SOCKET) {
=> 283         fd = descriptor->desc.s->socketdes;
284     }
...

because descriptor->desc.s is NULL.


Case 2:

#8 0xfadd8980 in allocator_free (node=0xb8f170, allocator=0x2d8238) at memory/unix/apr_pools.c:370
        freelist = 0x0
        max_index = <optimized out>
        max_free_index = <optimized out>
        next = <optimized out>
        index = <optimized out>
        current_free_index = <optimized out>
#9  apr_pool_destroy (pool=0xb8f188) at memory/unix/apr_pools.c:856
        active = 0xb8f170
        allocator = 0x2d8238

(gdb) print *node
$2 = {next = 0x0, ref = 0xb8f170, index = 0, free_index = 1465, first_avail = 0x0, endp = 0xb91170 ""}
(gdb) print *allocator
$1 = {max_index = 7756680, max_free_index = 1601139303, current_free_index = 0, mutex = 0x6368655f, owner = 0x0, free = {0x61745f6a, 0x0, 0x72726f72, 0x5f737472, 0x6572726f, 0x7200ffff, 0x4, 0x7a8, 0xffffffff, 0x0, 0x6, 0xb91b20, 0x7, 0x765b88, 0xffffffff, 0x0, 0x9, 0xffffffff, 0xffffffff, 0xa}}
(gdb) print *allocator->mutex
Cannot access memory at address 0x6368655f


So we crash here:

 369     if (allocator->mutex)
=>  370         apr_thread_mutex_lock(allocator->mutex);

since the mutex is already invalid.


Case 3:

#8 0xfadd8980 in allocator_free (node=0x5bd138, allocator=0xd7f138) at memory/unix/apr_pools.c:370
        freelist = 0x0
        max_index = <optimized out>
        max_free_index = <optimized out>
        next = <optimized out>
        index = <optimized out>
        current_free_index = <optimized out>
#9  apr_pool_destroy (pool=0x5bd150) at memory/unix/apr_pools.c:856
        active = 0x5bd138
        allocator = 0xd7f138

(gdb) print *node
$1 = {next = 0x6d1bd8, ref = 0x5bd138, index = 0, free_index = 65, first_avail = 0xf24cf8 "", endp = 0x5bf138 ""}
(gdb) print *allocator
$2 = {max_index = 16381824, max_free_index = 1601139303, current_free_index = 6773064, mutex = 0x6368655f, owner = 0x87cf60, free = {0x61745f6a, 0x0, 0x72726f72, 0x5f737472, 0x6572726f, 0x72000c0c, 0xc0c0c01, 0x30, 0x1010100, 0x0, 0x0, 0x675948, 0x59b70002, 0x706e10, 0x1204b600, 0x0, 0x5b60006, 0xb700072a, 0x1bb50008, 0xd7f130}}
(gdb) print *allocator->mutex
Cannot access memory at address 0x6368655f


So the same as Case 2.


Case 4:

Not easily analyzable with gdb.

Regards,

Rainer



Am 30.03.2017 um 23:37 schrieb Rainer Jung:
Am 28.03.2017 um 21:38 schrieb Violeta Georgieva:
The proposed Apache Tomcat 6.0.52 release is now available for voting.

Note: This is the last Tomcat 6 release.

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-6/v6.0.52/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1129/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_52/

The proposed 6.0.52 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 6.0.52 Stable

I see JVM crashes in APR:

org.apache.catalina.connector.TestSendFile
 testSendFile
org.apache.catalina.core.TestApplicationContext
 testGetRequestDispatcherNullPath02
org.apache.catalina.core.TestApplicationHttpRequest testMergeQueryString02
org.apache.catalina.startup.TestTomcat testSingleWebapp

all result in:

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.

I'd say they happen during shutdown.

Here are the stacks of the crashing threads:

Crash 1:

...
 --- called from signal handler with signal 11 (SIGSEGV) ---
 faddfdb0 impl_pollset_remove (eebf68, b377f6a4, 1585, d7403c92, eebfa0,
eebf68) + 1c
 faddfcd4 apr_pollset_remove (eebf68, b377f6a4, 54bf0, 51add715, 0, 0) + 10
 faed4b80 Java_org_apache_tomcat_jni_Poll_maintain (1, 0, 659884,
1157648, b377f82c, 0) + 160
 f8c0c280 * org/apache/tomcat/jni/Poll.maintain(J[JZ)I+-27472
 f8c0c224 * org/apache/tomcat/jni/Poll.maintain(J[JZ)I+0
 f8c058b8 * org/apache/tomcat/util/net/AprEndpoint$Poller.run()V+659
(line 1612)
...

or from the hs_err file:

Current thread (0x006597c8):  JavaThread
"http-127.0.0.1-auto-1-Poller-0" daemon [_thread_in_native, id=14]

C  [libapr-1.so.0+0x1fdb0]
C  [libapr-1.so.0+0x1fcdc]  apr_pollset_remove+0x18
C  [libtcnative-1.so.0.2.12+0x14b88]
Java_org_apache_tomcat_jni_Poll_maintain+0x168
j  org.apache.tomcat.jni.Poll.maintain(J[JZ)I+38064
j  org.apache.tomcat.jni.Poll.maintain(J[JZ)I+0
j  org.apache.tomcat.util.net.AprEndpoint$Poller.run()V+659

Log:

    [junit] Running org.apache.catalina.connector.TestSendFile
    [junit] Mar 30, 2017 12:40:13 PM
org.apache.catalina.startup.LoggingBaseTest setUp
    [junit] INFO: Starting test case [testSendFile]
    [junit] Created file:/var/tmp/testSendFile-1490870414108-0.txt with
100000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414168-1.txt with
200000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414185-2.txt with
300000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414210-3.txt with
400000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414222-4.txt with
500000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414236-5.txt with
600000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414254-6.txt with
700000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414356-7.txt with
800000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414376-8.txt with
900000 bytes.
    [junit] Created file:/var/tmp/testSendFile-1490870414443-9.txt with
1000000 bytes.
    [junit] Mar 30, 2017 12:40:14 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: Loaded APR based Apache Tomcat Native library 1.2.12
using APR version 1.5.2.
    [junit] Mar 30, 2017 12:40:14 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters [false], random [true].
    [junit] Mar 30, 2017 12:40:14 PM
org.apache.catalina.core.AprLifecycleListener initializeSSL
    [junit] INFO: OpenSSL successfully initialized with version OpenSSL
1.0.2k  26 Jan 2017
    [junit] Mar 30, 2017 12:40:15 PM
org.apache.coyote.http11.Http11AprProtocol init
    [junit] INFO: Initializing Coyote HTTP/1.1 on
http-127.0.0.1-auto-1-56737
    [junit] Mar 30, 2017 12:40:15 PM
org.apache.catalina.core.StandardService start
    [junit] INFO: Starting service Tomcat
    [junit] Mar 30, 2017 12:40:15 PM
org.apache.catalina.core.StandardEngine start
    [junit] INFO: Starting Servlet Engine: Apache Tomcat/6.0.52
    [junit] Mar 30, 2017 12:40:17 PM
org.apache.coyote.http11.Http11AprProtocol start
    [junit] INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-auto-1-56737
    [junit] Server Wrote 100000 bytes in 8 ms.
    [junit] Client received 100000 bytes in 238 ms.
    [junit] #
    [junit] # An unexpected error has been detected by HotSpot Virtual
Machine:
    [junit] #
    [junit] #  SIGSEGV (0xb) at pc=0xfaddfdb0, pid=24546, tid=14
    [junit] #
    [junit] # Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)
    [junit] # Problematic frame:
    [junit] # C  [libapr-1.so.0+0x1fdb0]
    [junit] #
    [junit] # An error report file with more information is saved as
hs_err_pid24546.log
    [junit] Server Wrote 200000 bytes in 5 ms.
    [junit] Client received 200000 bytes in 27 ms.
    [junit] #
    [junit] # If you would like to submit a bug report, please visit:
    [junit] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [junit] #
    [junit] Running org.apache.catalina.connector.TestSendFile
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0 sec


Crash 2:

...
 --- called from signal handler with signal 11 (SIGSEGV) ---
 ff2c1af8 mutex_lock_impl (fb968a00, 0, 6e920, 0, 63686567, 0) + 68
 fadd8978 apr_pool_destroy (b8f188, b327f780, 0, 2d8238, 8c00, b8f170) +
134
 f8c0c280 * org/apache/tomcat/jni/Socket.destroy(J)V+-26616
 f8c0c224 * org/apache/tomcat/jni/Socket.destroy(J)V+0
 f8c05764 * org/apache/tomcat/util/net/AprEndpoint.destroySocket(J)V+30
(line 1316)
 f8c05764 *
org/apache/tomcat/util/net/AprEndpoint.access$000(Lorg/apache/tomcat/util/net/AprEndpoint;J)V+2
(line 61)
 f8c05764 * org/apache/tomcat/util/net/AprEndpoint$Poller.destroy()V+124
(line 1466)
 f8c05764 * org/apache/tomcat/util/net/AprEndpoint$Poller.run()V+598
(line 1605)
...

Current thread (0x00e47aa8):  JavaThread
"http-127.0.0.1-auto-3-Poller-0" daemon [_thread_in_native, id=26]

C  [libc.so.1+0xc1af8]
C  [libapr-1.so.0+0x18980]  apr_pool_destroy+0x13c
j  org.apache.tomcat.jni.Socket.destroy(J)V+-3368952
j  org.apache.tomcat.jni.Socket.destroy(J)V+0
j  org.apache.tomcat.util.net.AprEndpoint.destroySocket(J)V+30
j
org.apache.tomcat.util.net.AprEndpoint.access$000(Lorg/apache/tomcat/util/net/AprEndpoint;J)V+2

j  org.apache.tomcat.util.net.AprEndpoint$Poller.destroy()V+124
j  org.apache.tomcat.util.net.AprEndpoint$Poller.run()V+598


log

    [junit] INFO: Starting test case [testGetRequestDispatcherNullPath02]
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: Loaded APR based Apache Tomcat Native library 1.2.12
using APR version 1.5.2.
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters [false], random [true].
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.catalina.core.AprLifecycleListener initializeSSL
    [junit] INFO: OpenSSL successfully initialized with version OpenSSL
1.0.2k  26 Jan 2017
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.coyote.http11.Http11AprProtocol init
    [junit] INFO: Initializing Coyote HTTP/1.1 on
http-127.0.0.1-auto-3-56752
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.catalina.core.StandardService start
    [junit] INFO: Starting service Tomcat
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.catalina.core.StandardEngine start
    [junit] INFO: Starting Servlet Engine: Apache Tomcat/6.0.52
    [junit] #
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.coyote.http11.Http11AprProtocol start
    [junit] # An unexpected error has been detected by HotSpot Virtual
Machine:
    [junit] INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-auto-3-56752
    [junit] #
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.tomcat.util.net.AprEndpoint$Poller run
    [junit] #  SIGSEGV (0xb) at pc=0xff2c1af8, pid=24547, tid=26
    [junit] SEVERE: Socket [81] poll event: [File descriptor in bad
state] {2}
    [junit] #
    [junit] Mar 30, 2017 12:40:36 PM
org.apache.coyote.http11.Http11AprProtocol pause
    [junit] # Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)
    [junit] INFO: Pausing Coyote HTTP/1.1 on http-127.0.0.1-auto-3-56752
    [junit] # Problematic frame:
    [junit] # C  [libc.so.1+0xc1af8]
    [junit] #
    [junit] # An error report file with more information is saved as
hs_err_pid24547.log
    [junit] #
    [junit] # If you would like to submit a bug report, please visit:
    [junit] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [junit] #
    [junit] Running org.apache.catalina.core.TestApplicationContext
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0 sec



Crash 3:

...
 --- called from signal handler with signal 11 (SIGSEGV) ---
 ff2c1af8 mutex_lock_impl (fb967200, 0, 6e920, 0, 63686567, 0) + 68
 fadd8978 apr_pool_destroy (5bd150, b357f580, 0, d7f138, 8c00, 5bd138) +
134
 f8c0c280 * org/apache/tomcat/jni/Socket.destroy(J)V+-24616
 f8c0c224 * org/apache/tomcat/jni/Socket.destroy(J)V+0
 f8c05764 * org/apache/tomcat/util/net/AprEndpoint.destroySocket(J)V+30
(line 1316)
 f8c05764 *
org/apache/tomcat/util/net/AprEndpoint.access$000(Lorg/apache/tomcat/util/net/AprEndpoint;J)V+2
(line 61)
 f8c05764 * org/apache/tomcat/util/net/AprEndpoint$Poller.destroy()V+124
(line 1466)
 f8c05764 * org/apache/tomcat/util/net/AprEndpoint$Poller.run()V+598
(line 1605)
...

Current thread (0x0023ad50):  JavaThread
"http-127.0.0.1-auto-2-Poller-0" daemon [_thread_in_native, id=21]

C  [libc.so.1+0xc1af8]
C  [libapr-1.so.0+0x18980]  apr_pool_destroy+0x13c
j  org.apache.tomcat.jni.Socket.destroy(J)V+-3366952
j  org.apache.tomcat.jni.Socket.destroy(J)V+0
j  org.apache.tomcat.util.net.AprEndpoint.destroySocket(J)V+30
j
org.apache.tomcat.util.net.AprEndpoint.access$000(Lorg/apache/tomcat/util/net/AprEndpoint;J)V+2

j  org.apache.tomcat.util.net.AprEndpoint$Poller.destroy()V+124
j  org.apache.tomcat.util.net.AprEndpoint$Poller.run()V+598

log

    [junit] INFO: Starting test case [testMergeQueryString01]
    [junit] Mar 30, 2017 12:40:48 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: Loaded APR based Apache Tomcat Native library 1.2.12
using APR version 1.5.2.
    [junit] Mar 30, 2017 12:40:48 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters [false], random [true].
    [junit] Mar 30, 2017 12:40:48 PM
org.apache.catalina.core.AprLifecycleListener initializeSSL
    [junit] INFO: OpenSSL successfully initialized with version OpenSSL
1.0.2k  26 Jan 2017
    [junit] Mar 30, 2017 12:40:49 PM
org.apache.coyote.http11.Http11AprProtocol init
    [junit] INFO: Initializing Coyote HTTP/1.1 on
http-127.0.0.1-auto-1-56755
    [junit] Mar 30, 2017 12:40:49 PM
org.apache.catalina.core.StandardService start
    [junit] INFO: Starting service Tomcat
    [junit] Mar 30, 2017 12:40:49 PM
org.apache.catalina.core.StandardEngine start
    [junit] INFO: Starting Servlet Engine: Apache Tomcat/6.0.52
    [junit] Mar 30, 2017 12:40:51 PM
org.apache.coyote.http11.Http11AprProtocol start
    [junit] INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-auto-1-56755
    [junit] Mar 30, 2017 12:40:51 PM
org.apache.coyote.http11.Http11AprProtocol pause
    [junit] INFO: Pausing Coyote HTTP/1.1 on http-127.0.0.1-auto-1-56755
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.core.StandardService stop
    [junit] INFO: Stopping service Tomcat
    [junit] #
    [junit] # An unexpected error has been detected by HotSpot Virtual
Machine:
    [junit] #
    [junit] #  SIGSEGV (0xb) at pc=0xff2c1af8, pid=24548, tid=21
    [junit] #
    [junit] # Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)
    [junit] # Problematic frame:
    [junit] # C  [libc.so.1+0xc1af8]
    [junit] #
    [junit] # An error report file with more information is saved as
hs_err_pid24548.log
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.coyote.http11.Http11AprProtocol destroy
    [junit] INFO: Stopping Coyote HTTP/1.1 on http-127.0.0.1-auto-1-56755
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.startup.LoggingBaseTest setUp
    [junit] INFO: Starting test case [testMergeQueryString02]
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: Loaded APR based Apache Tomcat Native library 1.2.12
using APR version 1.5.2.
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.core.AprLifecycleListener init
    [junit] INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters [false], random [true].
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.core.AprLifecycleListener initializeSSL
    [junit] INFO: OpenSSL successfully initialized with version OpenSSL
1.0.2k  26 Jan 2017
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.coyote.http11.Http11AprProtocol init
    [junit] INFO: Initializing Coyote HTTP/1.1 on
http-127.0.0.1-auto-2-56761
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.core.StandardService start
    [junit] INFO: Starting service Tomcat
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.catalina.core.StandardEngine start
    [junit] INFO: Starting Servlet Engine: Apache Tomcat/6.0.52
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.coyote.http11.Http11AprProtocol start
    [junit] INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-auto-2-56761
    [junit] Mar 30, 2017 12:40:52 PM
org.apache.tomcat.util.net.AprEndpoint$Poller run
    [junit] SEVERE: Socket [81] poll event: [File descriptor in bad
state] {2}
    [junit] #
    [junit] # If you would like to submit a bug report, please visit:
    [junit] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [junit] #
    [junit] Running org.apache.catalina.core.TestApplicationHttpRequest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0 sec


Crash 4:

...
 --- called from signal handler with signal 10 (SIGBUS) ---
 ff256e74 realfree (39e168, 29, 28, 71d860, 0, 39e1a0) + 154
 ff257634 cleanfree (0, 1d, d8ddc, f8c05764, ff3303c0, ff3392e4) + 5c
 ff25678c _malloc_unlocked (688, c0, 3fc5d0, 3fc5d8, fffffff9, f8c05764)
+ f4
 ff25667c malloc   (687, 1, d9d88, f8c05874, ff3303c0, ff33a558) + 4c
 fe600e20 Java_java_lang_ClassLoader_defineClass1 (687, ffbfcac4,
ffbfcac0, ffbfcabc, 0, 687) + 40
 f8c0c280 *
java/lang/ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+13244

 f8c0c224 *
java/lang/ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0

 f8c05874 *
java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34
(line 621)
 f8c05874 *
org/apache/catalina/loader/WebappClassLoader.clearReferencesJdbc()V+95
(line 2030)
 f8c05764 *
org/apache/catalina/loader/WebappClassLoader.clearReferences()V+1 (line
1953)
 f8c05764 * org/apache/catalina/loader/WebappClassLoader.stop()V+1 (line
1871)
 f8c05c2c * org/apache/catalina/loader/WebappLoader.stop()V+110 (line 742)
 f8c05c2c * org/apache/catalina/core/StandardContext.stop()V+379 (line
4994)
 f8c05c2c * org/apache/catalina/core/ContainerBase.stop()V+118 (line 1114)
 f8c05c2c * org/apache/catalina/core/ContainerBase.stop()V+118 (line 1114)
 f8c05764 * org/apache/catalina/core/StandardEngine.stop()V+1 (line 468)
 f8c05c2c * org/apache/catalina/core/StandardService.stop()V+177 (line 604)
 f8c05c2c * org/apache/catalina/core/StandardServer.stop()V+65 (line 795)
 f8c05764 * org/apache/catalina/startup/Tomcat.stop()V+16 (line 356)
 f8c05764 * org/apache/catalina/startup/TomcatBaseTest.tearDown()V+14
(line 175)
...

Current thread (0x000387e8):  JavaThread "main" [_thread_in_native, id=1]

C  [libc.so.1+0x56e74]
C  [libc.so.1+0x5763c]
C  [libc.so.1+0x56794]
C  [libc.so.1+0x56684]  malloc+0x54
C  [libjava.so+0x10e28]  Java_java_lang_ClassLoader_defineClass1+0x48
j
java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+1061820

j
java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0

j
java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+34

j  org.apache.catalina.loader.WebappClassLoader.clearReferencesJdbc()V+95
j  org.apache.catalina.loader.WebappClassLoader.clearReferences()V+1
j  org.apache.catalina.loader.WebappClassLoader.stop()V+1
j  org.apache.catalina.loader.WebappLoader.stop()V+110
j  org.apache.catalina.core.StandardContext.stop()V+379
j  org.apache.catalina.core.ContainerBase.stop()V+118
j  org.apache.catalina.core.ContainerBase.stop()V+118
j  org.apache.catalina.core.StandardEngine.stop()V+1
j  org.apache.catalina.core.StandardService.stop()V+177
j  org.apache.catalina.core.StandardServer.stop()V+65
j  org.apache.catalina.startup.Tomcat.stop()V+16
j  org.apache.catalina.startup.TomcatBaseTest.tearDown()V+14
...

    [junit] INFO: Starting test case [testSingleWebapp]
    [junit] Mar 30, 2017 12:41:11 PM
org.apache.catalina.core.AprLifecycleListener initializeSSL
    [junit] INFO: OpenSSL successfully initialized with version OpenSSL
1.0.2k  26 Jan 2017
    [junit] Mar 30, 2017 12:41:11 PM
org.apache.coyote.http11.Http11AprProtocol init
    [junit] INFO: Initializing Coyote HTTP/1.1 on
http-127.0.0.1-auto-2-56769
    [junit] Mar 30, 2017 12:41:11 PM
org.apache.catalina.core.StandardService start
    [junit] INFO: Starting service Tomcat
    [junit] Mar 30, 2017 12:41:11 PM
org.apache.catalina.core.StandardEngine start
    [junit] INFO: Starting Servlet Engine: Apache Tomcat/6.0.52
    [junit] Mar 30, 2017 12:41:11 PM
org.apache.catalina.startup.ContextConfig defaultWebConfig
    [junit] INFO: No default web.xml
    [junit] Mar 30, 2017 12:41:11 PM org.apache.catalina.realm.JAASRealm
setContainer
    [junit] INFO: Set JAAS app name Tomcat
    [junit] Mar 30, 2017 12:41:12 PM
org.apache.catalina.core.ApplicationContext log
    [junit] INFO: ContextListener: contextInitialized()
    [junit] Mar 30, 2017 12:41:12 PM
org.apache.catalina.core.ApplicationContext log
    [junit] INFO: SessionListener: contextInitialized()
    [junit] Mar 30, 2017 12:41:12 PM
org.apache.coyote.http11.Http11AprProtocol start
    [junit] INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-auto-2-56769
    [junit] Mar 30, 2017 12:41:12 PM
org.apache.coyote.http11.Http11AprProtocol pause
    [junit] INFO: Pausing Coyote HTTP/1.1 on http-127.0.0.1-auto-2-56769
    [junit] Mar 30, 2017 12:41:12 PM
org.apache.tomcat.util.net.AprEndpoint$Poller run
    [junit] SEVERE: Socket [81] poll event: [File descriptor in bad
state] {2}
    [junit] #
    [junit] # An unexpected error has been detected by HotSpot Virtual
Machine:
    [junit] #
    [junit] #  SIGBUS (0xa) at pc=0xff256e74, pid=24550, tid=1
    [junit] #
    [junit] # Java VM: Java HotSpot(TM) Server VM (1.5.0_22-b03 mixed mode)
    [junit] # Problematic frame:
    [junit] # C  [libc.so.1+0x56e74]
    [junit] #
    [junit] # An error report file with more information is saved as
hs_err_pid24550.log
    [junit] #
    [junit] # If you would like to submit a bug report, please visit:
    [junit] #   http://java.sun.com/webapps/bugreport/crash.jsp
    [junit] #
    [junit] Mar 30, 2017 12:41:13 PM
org.apache.catalina.core.StandardService stop
    [junit] INFO: Stopping service Tomcat
    [junit] Mar 30, 2017 12:41:13 PM
org.apache.catalina.core.ApplicationContext log
    [junit] INFO: SessionListener: contextDestroyed()
    [junit] Mar 30, 2017 12:41:13 PM
org.apache.catalina.core.ApplicationContext log
    [junit] INFO: ContextListener: contextDestroyed()
    [junit] Running org.apache.catalina.startup.TestTomcat
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0 sec


Regards,

Rainer

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


--
kippdata
informationstechnologie GmbH   Tel: 0228 98549 -0
Bornheimer Str. 33a            Fax: 0228 98549 -50
53111 Bonn                     www.kippdata.de

HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417
Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann

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

Reply via email to