[ 
https://issues.apache.org/jira/browse/ARTEMIS-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959131#comment-14959131
 ] 

ASF GitHub Bot commented on ARTEMIS-249:
----------------------------------------

GitHub user clebertsuconic opened a pull request:

    https://github.com/apache/activemq-artemis/pull/198

    ARTEMIS-249 - Improving LibaioContext shutdown

    This will be avoiding scenarios where you could crash the VM during the 
LibaioContext.close,
    if done outside of the proper order.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/clebertsuconic/activemq-artemis native

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/198.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #198
    
----
commit c6d045b330e676ba1f7ba51f489b7c461b72a33a
Author: Clebert Suconic <[email protected]>
Date:   2015-10-15T00:55:33Z

    ARTEMIS-249 - Improving LibaioContext shutdown
    This will be avoiding scenarios where you could crash the VM during the 
LibaioContext.close,
    if done outside of the proper order.

----


> Failure of multiple tests with SIGSEGV - problematic frame  C  
> [libaio.so.1+0x625]  io_getevents+0x5
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-249
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-249
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: Platform = RHEL7, RHEL6 x86_64
> Java = OpenJdk 1.8, OracleJdk 1.8
>            Reporter: Martin Styk
>
> Running ActiveMQ Artemis (tag 1.1.0) testsuite on RHEL7 or RHEL6 x86_64 with 
> OpenJdk 1.8 or OracleJdk 1.8 and with tests profile fails during run of 
> following tests
> -org.apache.activemq.artemis.tests.unit.core.journal.impl.CleanBufferTest.testCleanOnAIO
> -org.apache.activemq.artemis.tests.integration.client.LargeMessageTest.testReceiveMultipleMessages
> -org.apache.activemq.artemis.tests.integration.journal.AIOJournalImplTest.testParams
>  
> -org.apache.activemq.artemis.tests.unit.core.asyncio.MultiThreadAsynchronousFileTest.testMultipleASynchronousWrites()
> -org.apache.activemq.artemis.tests.integration.cluster.failover.ReplicatedMultipleServerFailoverExtraBackupsTest.testStartBackupFirst
>  
> with following output on OpenJdk1.8 :
> {noformat}
> 09:42:33 # A fatal error has been detected by the Java Runtime Environment:
> 09:42:33 #
> 09:42:33 SUREFIRE-859: #  SIGSEGV (0xb) at pc=0x00007fdc50b18655, pid=11212, 
> tid=140584219399936
> 09:42:33 #
> 09:42:33 # JRE version: OpenJDK Runtime Environment (8.0_51-b16) (build 
> 1.8.0_51-b16)
> 09:42:33 # Java VM: OpenJDK 64-Bit Server VM (25.51-b03 mixed mode 
> linux-amd64 compressed oops)
> 09:42:33 # Problematic frame:
> 09:42:33 # C  [libaio.so.1+0x655]  io_getevents+0x5
> 09:42:33 #
> 09:42:33 SUREFIRE-859: # Failed to write core dump. Core dumps have been 
> disabled. To enable core dumping, try "ulimit -c unlimited" before starting 
> Java again
> 09:42:33 #
> 09:42:33 # An error report file with more information is saved as:
> 09:42:33 # 
> ~/tmp/artemis-project-testsuite-rhel/jdk/openjdk1.8_local/label/EAP-RHEL7/tests/unit-tests/hs_err_pid11212.log
> 09:42:33 #
> 09:42:33 SUREFIRE-859: # If you would like to submit a bug report, please 
> visit:
> 09:42:33 #   http://bugreport.java.com/bugreport/crash.jsp
> 09:42:33 # The crash happened outside the Java Virtual Machine in native code.
> 09:42:33 # See problematic frame for where to report the bug.
> 09:42:33 #
> 09:42:34 /bin/sh: line 1: 11212 Aborted                 (core dumped) 
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/jre/bin/java 
> -Djava.util.logging.manager=org.jboss.logmanager.LogManager 
> -Dlogging.configuration=file:~/tmp/artemis-project-testsuite-rhel/jdk/openjdk1.8_local/label/EAP-RHEL7/tests/unit-tests/../../tests/config/logging.properties
>  
> -Djava.library.path=~/tmp/artemis-project-testsuite-rhel/jdk/openjdk1.8_local/label/EAP-RHEL7/tests/unit-tests/../../artemis-native/bin/
>  -Djgroups.bind_addr=localhost 
> -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost
>  -Djava.net.preferIPv4Stack=true -jar 
> ~/tmp/artemis-project-testsuite-rhel/jdk/openjdk1.8_local/label/EAP-RHEL7/tests/unit-tests/target/surefire/surefirebooter6522119595136367012.jar
>  
> ~/tmp/artemis-project-testsuite-rhel/jdk/openjdk1.8_local/label/EAP-RHEL7/tests/unit-tests/target/surefire/surefire857116190484773658tmp
>  
> ~/tmp/artemis-project-testsuite-rhel/jdk/openjdk1.8_local/label/EAP-RHEL7/tests/unit-tests/target/surefire/surefire_128977093229654762395tmp
> {noformat}
> or following for Oracle Jdk 1.8
> {noformat}
> 03:31:05 #
> 03:31:05 # A fatal error has been detected by the Java Runtime Environment:
> 03:31:05 #
> 03:31:05 SUREFIRE-859: #  SIGSEGV (0xb) at pc=0x00007fb82c98b655, pid=26784, 
> tid=140427868645120
> 03:31:05 #
> 03:31:05 # JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 
> 1.8.0_60-b27)
> 03:31:05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode 
> linux-amd64 compressed oops)
> 03:31:05 # Problematic frame:
> 03:31:05 # C  [libaio.so.1+0x655]  io_getevents+0x5
> 03:31:05 #
> 03:31:05 SUREFIRE-859: # Failed to write core dump. Core dumps have been 
> disabled. To enable core dumping, try "ulimit -c unlimited" before starting 
> Java again
> 03:31:05 #
> 03:31:05 # An error report file with more information is saved as:
> 03:31:05 # 
> ~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/EAP-RHEL7/tests/integration-tests/hs_err_pid26784.log
> 03:31:05 #
> 03:31:05 SUREFIRE-859: # If you would like to submit a bug report, please 
> visit:
> 03:31:05 #   http://bugreport.java.com/bugreport/crash.jsp
> 03:31:05 #
> 03:31:10 /bin/sh: line 1: 26784 Aborted                 (core dumped) 
> /usr/lib/jvm/jdk1.8.0_60/jre/bin/java -Djgroups.bind_addr=::1 
> -Djava.util.logging.manager=org.jboss.logmanager.LogManager 
> -Dlogging.configuration=file:~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/EAP-RHEL7/tests/integration-tests/../../tests/config/logging.properties
>  
> -Djava.library.path=~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/EAP-RHEL7/tests/integration-tests/../../artemis-native/bin/
>  -Djgroups.bind_addr=localhost 
> -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost
>  -Djava.net.preferIPv4Stack=true -jar 
> ~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/EAP-RHEL7/tests/integration-tests/target/surefire/surefirebooter7834663252334220826.jar
>  
> ~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/EAP-RHEL7/tests/integration-tests/target/surefire/surefire4611164123461289010tmp
>  
> ~/tmp/artemis-project-testsuite-rhel/jdk/java18_default/label/EAP-RHEL7/tests/integration-tests/target/surefire/surefire_154864425859589812844tmp
> {noformat}
> This error causes that remaining tests are not executed and testsuite 
> execution is terminated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to