You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jeroen Markerink (Jira)" <ji...@apache.org> on 2021/05/10 07:32:00 UTC
[jira] [Comment Edited] (CRYPTO-159) JRE (x86) crash
(EXCEPTION_ACCESS_VIOLATION)
[ https://issues.apache.org/jira/browse/CRYPTO-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17341734#comment-17341734 ]
Jeroen Markerink edited comment on CRYPTO-159 at 5/10/21, 7:31 AM:
-------------------------------------------------------------------
When I did rebuild with MSYS2 MINGW32 Shell and a 32 bit JDK and gcc the native build doesn't cause a crash.
{code:java}
jmarkerink@ws ~
$mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\tools\maven-3.6.3
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: C:\Program Files (x86)\Java\jdk1.8.0_201\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
jmarkerink@ws ~
$javac -version
javac 1.8.0_201
jmarkerink@ws ~
$gcc --version
gcc.exe (Rev1, Built by MSYS2 project) 10.3.0
{code}
was (Author: jmarkerink):
When I did rebuild with MSYS2 MINGW32 Shell and a 32 bit JDK and gcc the native build doesn't cause a crash.
{code:java}
jmarkerink@ws ~
$mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\tools\maven-3.6.3
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_201\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
jmarkerink@ws ~
$javac -version
javac 1.8.0_201
jmarkerink@ws ~
$gcc --version
gcc.exe (Rev1, Built by MSYS2 project) 10.3.0
{code}
> JRE (x86) crash (EXCEPTION_ACCESS_VIOLATION)
> --------------------------------------------
>
> Key: CRYPTO-159
> URL: https://issues.apache.org/jira/browse/CRYPTO-159
> Project: Commons Crypto
> Issue Type: Bug
> Components: Native
> Affects Versions: 1.1.0
> Reporter: Jeroen Markerink
> Priority: Major
> Attachments: hs_err_pid4640.log
>
>
> I have tested commons-crypto on Windows 7 and 10 and Java 32 bit with
> {code:java}
> java -cp commons-crypto-1.1.0.jar org.apache.commons.crypto.Crypto
> {code}
> but got a JRE crash . See attachment 'hs_err_pid4640.log'
> Additional info: Tested successfully with JRE 1.8.0_201 (x86_64):
> {code:java}
> java -cp commons-crypto-1.1.0.jar org.apache.commons.crypto.Crypto
> Apache Commons Crypto 1.1.0
> Native code loaded OK: 1.1.0-SNAPSHOT
> Native name: Apache Commons Crypto
> Native built: Aug 16 2020
> OpenSSL library loaded OK, version: 0x1000215f
> OpenSSL library info: OpenSSL 1.0.2u 20 Dec 2019
> Random instance created OK: org.apache.commons.crypto.random.OpenSslCryptoRandom@4a574795
> Cipher AES/CTR/NoPadding instance created OK: org.apache.commons.crypto.cipher.OpenSslCipher@87aac27
> {code}
> {code:java}
> java -cp commons-crypto-1.1.0.jar org.apache.commons.crypto.Crypto
> Apache Commons Crypto 1.1.0
> Native code loaded OK: 1.1.0-SNAPSHOT
> Native name: Apache Commons Crypto
> Native built: Aug 16 2020
> OpenSSL library loaded OK, version: 0x101010bf
> OpenSSL library info: OpenSSL 1.1.1k 25 Mar 2021
> Random instance created OK: org.apache.commons.crypto.random.OpenSslCryptoRandom@4a574795
> Cipher AES/CTR/NoPadding instance created OK: org.apache.commons.crypto.cipher.OpenSslCipher@87aac27
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)