Skip to content

[Bug]: Opentelemetry SIGSEGV frauddetectionservice #1546

@michalbiesek

Description

@michalbiesek

Steps To Reproduce

kind create cluster
docker run -it cribl/scope:dev scope k8s --metricdest file://tmp/metrics.log --metricformat statsd --metricprefix appscope --eventdest file://tmp/events.log --noexporter | kubectl apply -f -
kubectl label namespace default scope=enabled
kubectl apply -f kubernetes/opentelemetry-demo.yaml

Ref: https://github.com/open-telemetry/opentelemetry-demo.git

Observe the restart of frauddetectionservice

Environment

- AppScope: 1.4.0 
- OS: Linux
- Architecture: x86_64
- Kernel: 5.14.0

Requested priority

None

Relevant log output

Defaulted container "frauddetectionservice" out of: frauddetectionservice, wait-for-kafka (init), scope-pod-init (init), scope-pod-extract-0 (init)
Picked up JAVA_TOOL_OPTIONS: -javaagent:/app/opentelemetry-javaagent.jar -agentpath:/scope/0/libscope.so
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
[otel.javaagent 2023-06-23 12:54:55:812 +0000] [main] INFO io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent - version: 1.23.0
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
Consumed record with orderId: e027f3ea-11c4-11ee-81d9-32a83bb17db5, and updated total count to: 1
Consumed record with orderId: e0a0d433-11c4-11ee-81d9-32a83bb17db5, and updated total count to: 2
Consumed record with orderId: e34a1f70-11c4-11ee-81d9-32a83bb17db5, and updated total count to: 3
Consumed record with orderId: e72587c9-11c4-11ee-81d9-32a83bb17db5, and updated total count to: 4
Consumed record with orderId: ec382ba0-11c4-11ee-81d9-32a83bb17db5, and updated total count to: 5
Consumed record with orderId: f53413e1-11c4-11ee-81d9-32a83bb17db5, and updated total count to: 6
Consumed record with orderId: 07758f0b-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 7
Consumed record with orderId: 0d91b925-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 8
Consumed record with orderId: 114139fd-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 9
Consumed record with orderId: 12254ea1-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 10
Consumed record with orderId: 130fb0c6-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 11
Consumed record with orderId: 13cabbba-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 12
Consumed record with orderId: 18014b4d-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 13
Consumed record with orderId: 18571fa7-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 14
Consumed record with orderId: 3172660c-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 15
Consumed record with orderId: 38970245-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 16
Consumed record with orderId: 3c718d4f-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 17
Consumed record with orderId: 3f160560-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 18
Consumed record with orderId: 4038b460-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 19
Consumed record with orderId: 462d90f8-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 20
Consumed record with orderId: 48660f9f-11c5-11ee-81d9-32a83bb17db5, and updated total count to: 21
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f932ec073db, pid=1, tid=36
#
# JRE version: OpenJDK Runtime Environment (17.0.6+10) (build 17.0.6+10-Debian-1deb11u1)
# Java VM: OpenJDK 64-Bit Server VM (17.0.6+10-Debian-1deb11u1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xb4f3db][thread 32 also had an error][thread 14 also had an error]


#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /usr/src/app/core.1)
#
# An error report file with more information is saved as:
# /usr/src/app/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.debian.org/openjdk-17
#

[error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at pc=0x00007f932fc4d602]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions