Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump commons-lang3 from 3.16.0 to 3.17.0 #11440

Closed
emeroad opened this issue Aug 30, 2024 · 0 comments · Fixed by #11441
Closed

Bump commons-lang3 from 3.16.0 to 3.17.0 #11440

emeroad opened this issue Aug 30, 2024 · 0 comments · Fixed by #11441
Labels
dependencies Pull requests that update a dependency file
Milestone

Comments

@emeroad
Copy link
Member

emeroad commented Aug 30, 2024

Infinite blocking due to entropy issue of security random in commons-lang3

"main" #1 prio=5 os_prio=0 cpu=4356.36ms elapsed=280.44s tid=0x00007ff74c027390 nid=0x102bd runnable [0x00007ff755bf0000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(java.base@17.0.9/Native Method)
at java.io.FileInputStream.read(java.base@17.0.9/FileInputStream.java:276)
at java.io.FilterInputStream.read(java.base@17.0.9/FilterInputStream.java:132)
at sun.security.provider.NativePRNG$RandomIO.readFully(java.base@17.0.9/NativePRNG.java:425)
at sun.security.provider.NativePRNG$RandomIO.ensureBufferValid(java.base@17.0.9/NativePRNG.java:528)
at sun.security.provider.NativePRNG$RandomIO.implNextBytes(java.base@17.0.9/NativePRNG.java:547)
- locked <0x0000000702400270> (a java.lang.Object)
at sun.security.provider.NativePRNG$Blocking.engineNextBytes(java.base@17.0.9/NativePRNG.java:269)
at java.security.SecureRandom.nextBytes(java.base@17.0.9/SecureRandom.java:758)
at org.apache.commons.lang3.CachedRandomBits.(CachedRandomBits.java:67)
at org.apache.commons.lang3.RandomStringUtils.random(RandomStringUtils.java:304)
at org.apache.commons.lang3.RandomStringUtils.next(RandomStringUtils.java:668)
at org.apache.commons.lang3.RandomStringUtils.random(RandomStringUtils.java:165)
at org.apache.commons.lang3.RandomStringUtils.next(RandomStringUtils.java:628)
at org.apache.commons.lang3.RandomStringUtils.random(RandomStringUtils.java:129)
at org.apache.commons.lang3.RandomStringUtils.next(RandomStringUtils.java:610)
at org.apache.commons.lang3.RandomStringUtils.random(RandomStringUtils.java:112)
at com.navercorp.pinpoint.common.server.bo.RandomTSpan.randomTSpan(RandomTSpan.java:54)
at com.navercorp.pinpoint.common.server.bo.thrift.SpanFactoryTest.testNewSpanBo(SpanFactoryTest.java:56)
at com.navercorp.pinpoint.common.server.bo.thrift.SpanFactoryTest.testNewSpanBo_N(SpanFactoryTest.java:67)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@17.0.9/Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@17.0.9/NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@17.0.9/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@17.0.9/Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor$$Lambda$186/0x00007ff6d009a878.apply(Unknown Source)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall$$Lambda$187/0x00007ff6d009ac98.apply(Unknown Source)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$$Lambda$371/0x00007ff6d0136268.apply(Unknown Source)

3.17.0 patch
apache/commons-lang#1235

quarkusio/quarkus#42597
liquibase/liquibase#6156
liquibase/liquibase#6178

@emeroad emeroad added bug dependencies Pull requests that update a dependency file labels Aug 30, 2024
@emeroad emeroad added this to the 3.0.1 milestone Aug 30, 2024
emeroad added a commit to emeroad/pinpoint that referenced this issue Aug 30, 2024
@emeroad emeroad linked a pull request Aug 30, 2024 that will close this issue
emeroad added a commit to emeroad/pinpoint that referenced this issue Aug 30, 2024
@emeroad emeroad removed the bug label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant