-
Notifications
You must be signed in to change notification settings - Fork 221
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
A fatal error has been detected by the Java Runtime Environment #467
Comments
Hi - thank you for bringing this to our attention. Do you have the |
遇到了 A fatal error has been detected by the Java Runtime Environment:EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffeb4d69a0, pid=6132, tid=0x0000000000004c0cJRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06)Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode windows-amd64 compressed oops)Problematic frame:C 0x00007fffeb4d69a0Failed to write core dump. Minidumps are not enabled by default on client versions of WindowsAn error report file with more information is saved as:G:\shanghai\mty-system\hs_err_pid6132.logIf you would like to submit a bug report, please visit:https://github.com/corretto/corretto-8/issues/The crash happened outside the Java Virtual Machine in native code.See problematic frame for where to report the bug. |
出现的原因是因为同时注入了两个相同的stub,只是名称不一样。 @GrpcClient("cloud-grpc-server") |
Can you attach |
hi, we lack the context of your problem. I am not sure whether it is allowed to inject the same variable 'analysisBlockingStub' using 2 different beans, but it is not supposed to crash hotspot. we need the hs_err_pid6132.log to know what made your jvm crash. |
A fatal error has been detected by the Java Runtime Environment:EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffafc869a0, pid=27516, tid=0x0000000000006f58JRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06)Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode windows-amd64 compressed oops)Problematic frame:C 0x00007fffafc869a0Failed to write core dump. Minidumps are not enabled by default on client versions of WindowsIf you would like to submit a bug report, please visit:https://github.com/corretto/corretto-8/issues/The crash happened outside the Java Virtual Machine in native code.See problematic frame for where to report the bug.--------------- T H R E A D --------------- Current thread (0x000001fc4f7ef000): JavaThread "main" [_thread_in_native, id=28504, stack(0x000000ca24900000,0x000000ca24a00000)] siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x00007fffafc869a0 Registers: Top of Stack: (sp=0x000000ca249fca98) Instructions: (pc=0x00007fffafc869a0) Register to memory mapping: RAX=0x00007fffafc869a0 is an unknown value Stack: [0x000000ca24900000,0x000000ca24a00000], sp=0x000000ca249fca98, free space=1010k Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) --------------- P R O C E S S --------------- Java Threads: ( => current thread ) Other Threads: VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None heap address: 0x00000006c2600000, size: 4058 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 Heap: Card table byte_map: [0x000001fc607c0000,0x000001fc60fb0000] byte_map_base: 0x000001fc5d1ad000 Marking Bits: (ParMarkBitMap*) 0x0000000051087860 Polling page: 0x000001fc4f780000 CodeCache: size=245760Kb used=6114Kb max_used=6114Kb free=239645Kb Compilation events (10 events): GC Heap History (10 events): Deoptimization events (0 events): Classes redefined (0 events): Internal exceptions (10 events): Events (10 events): Dynamic libraries: VM Arguments: Environment Variables: --------------- S Y S T E M --------------- OS: Windows 10.0 , 64 bit Build 19041 (10.0.19041.3031) CPU:total 12 (initial active 12) (6 cores per cpu, 2 threads per core) family 6 model 158 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx Memory: 4k page, physical 16620788k(4114260k free), swap 27943524k(4887696k free) vm_info: OpenJDK 64-Bit Server VM (25.322-b06) for windows-amd64 JRE (1.8.0_322-b06), built on Jan 13 2022 23:37:51 by "Administrator" with MS VC++ 12.0 (VS2013) time: Fri Jun 16 14:06:28 2023 |
This looks relevant: netty/netty#11879 - Have you checked if gRPC is including a "shaded" version of Netty? If you have two versions of Netty on the classpath or two versions of the tcnative library, you may experience issues like this. |
The text was updated successfully, but these errors were encountered: