Skip to content

OBI v0.6.0 panic error crash #1738

@Orenico10

Description

@Orenico10

Hey, I ran OBI v0.6.0 on my openshift cluster version 4.16 (k8s 1.29) as a daemonset (using the official chart) and I'm encountering the following error on some specific nodes (some pods so work). I tried changing the configuration to try to minimize what would cause the errors but sadly nothing I did worked. It did work previously but it stopped working at some point.

This is the error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1c8f099]
goroutine 292 [running]:
go.opentelemetry.io/obi/pkg/internal/fastelf.(*ElfContext).shstrtabData(...)
/src/pkg/internal/fastelf/fastelf.go:377
go.opentelemetry.io/obi/pkg/internal/fastelf.(*ElfContext).section(0xc002ad7710?, {0x2c33f43?, 0xc0023211d0?})
/src/pkg/internal/fastelf/fastelf.go:385 +0x39
go.opentelemetry.io/obi/pkg/internal/fastelf.(*ElfContext).HasSection(...)
/src/pkg/internal/fastelf/fastelf.go:357
go.opentelemetry.io/obi/pkg/internal/procs.findLanguageFromElf({0xc002ad7710?, 0x0?})
/src/pkg/internal/procs/proclang_linux.go:99 +0x70
go.opentelemetry.io/obi/pkg/internal/procs.FindProcLanguage(0x625d2)
/src/pkg/internal/procs/proclang_linux.go:42 +0x9c
go.opentelemetry.io/obi/pkg/appolly/discover.(*languageDecorator).decorateEvent(0xc0011149c0, 0xc00199bc80)
/src/pkg/appolly/discover/language_decorator.go:75 +0x11f
go.opentelemetry.io/obi/pkg/appolly/discover.(*languageDecorator).decorate.func1({0xc001994000, 0x254, 0x699})
/src/pkg/appolly/discover/language_decorator.go:89 +0x7a
go.opentelemetry.io/obi/pkg/pipe/swarm/swarms.ForEachInput[...]({0x3088368?, 0xc000622320}, 0xc000383490, 0x692d6e69626f722f, 0xc000c65f40?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions