|
Bugzilla – Full Text Bug Listing |
| Summary: | java segfaults during EC keypair generation because of NSS update | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Andreas Schneider <asn> |
| Component: | Java | Assignee: | Fridrich Strba <fstrba> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | fstrba, wolfgang |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | TestECDSA.java | ||
|
Description
Andreas Schneider
2017-01-30 17:32:02 UTC
Created attachment 712228 [details]
TestECDSA.java
$ javac -d . TestECDSA.java
$ java TestECDSA
Exception in thread "main" java.security.ProviderException: java.lang.NegativeArraySizeException
at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:147)
at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:703)
at TestECDSA.main(TestECDSA.java:30)
Caused by: java.lang.NegativeArraySizeException
at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method)
at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:128)
... 2 more
I've installed java-1_8_0-openjdk-headless-1.8.0.121-215.1.x86_64 and the issue is fixed. java TestECDSA Signature: 3045022100bc1c5ef98023f238ad612b1122a47cc26948a6c0a034ecc351a69596b1e5673402206cef73b972e78805928b1f02d2122ba331272622f78f4c55f26a7b078cbfadc1 Test passed. I think this can be closed, but if you update nss on 42.2 this will happen again ... duplicate of bug 1022053 *** This bug has been marked as a duplicate of bug 1022053 *** |