Skip to content

malloc(): unaligned fastbin chunk detected in libobsensor::FrameQueue thread causes process crash #153

@mdelcarlo-scale

Description

@mdelcarlo-scale

SDK version: 2.7.6 (arm64, Ubuntu 22.04, Jetson Tegra)
Device: Gemini 305, 4x cameras running concurrently via Pipeline

After a few minutes of streaming, the process crashes with SIGABRT.
gdb stack trace from core dump:

#5  malloc_printerr (str="malloc(): unaligned fastbin chunk detected")
#6  _int_malloc (bytes=80)
#7  __GI___libc_malloc (bytes=80)
#8  operator new(unsigned long)
#9-13  ?? from /usr/local/lib/libOrbbecSDK.so.2
#14 libobsensor::FrameQueue<libobsensor::Frame const>::start({lambda()#1})
#15 libstdc++
#16 pthread_create

The corruption originates inside the SDK — our application code is not involved in the crashing thread. The crash is reproducible and happens consistently during recording sessions with 4 Gemini 305 cameras active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions