Skip to content

JVM crash is happening in native code inside Netty tcnative #12363

@gauravkumar3768

Description

@gauravkumar3768

The grpc netty library is crashing the JVM during application startup. Here is the logs:

2025-09-16T07:00:57.852428777Z # A fatal error has been detected by the Java Runtime Environment:
2025-09-16T07:00:57.852460738Z #
2025-09-16T07:00:57.852464612Z # SIGSEGV (0xb) at pc=0x0000000000021866, pid=49, tid=446
2025-09-16T07:00:57.852467527Z #
2025-09-16T07:00:57.852470061Z # JRE version: OpenJDK Runtime Environment (17.0.10+7) (build 17.0.10+7-alpine-r0)
2025-09-16T07:00:57.852472712Z # Java VM: OpenJDK 64-Bit Server VM (17.0.10+7-alpine-r0, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
2025-09-16T07:00:57.852475505Z # Problematic frame:
2025-09-16T07:00:57.852478466Z # C [libio_grpc_netty_shaded_netty_tcnative_linux_x86_647144860362400581495.so+0x28f83] _init+0x79cb
2025-09-16T07:00:57.852481439Z #
2025-09-16T07:00:57.852483897Z # Core dump will be written. Default location: Core dumps may be processed with "/wsl-capture-crash %t %E %p %s" (or dumping to /app/core.49)
2025-09-16T07:00:57.852486829Z #
2025-09-16T07:00:57.852497116Z # An error report file with more information is saved as:
2025-09-16T07:00:57.852500087Z # /tmp/hs_err_pid49.log
2025-09-16T07:00:57.922616828Z #
2025-09-16T07:00:57.922762658Z # If you would like to submit a bug report, please visit:
2025-09-16T07:00:57.922786596Z # https://gitlab.alpinelinux.org/alpine/aports/issues
2025-09-16T07:00:57.922798401Z # The crash happened outside the Java Virtual Machine in native code.
2025-09-16T07:00:57.922804837Z # See problematic frame for where to report the bug.
2025-09-16T07:00:57.922810798Z #
2025-09-16T07:01:16.877439704Z Java process ended with return code 134
2025-09-16T07:01:16.886294682Z start to send crash dump

In my code, I'm connecting to Google PubSub. During testing of my use case, the application crashed.

Help me to resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions