librealsense: Segfault in align with a debug build

Required Info
Camera Model D435
Firmware Version 05.11.01.100
Operating System & Version Linux (Ubuntu 18)
Kernel Version (Linux Only) 4.15.0-54
Platform PC
SDK Version 2.24.0
Language C++
Segment AR

Issue Description

When using a debug build with -D_DEBUG, align frames to depth (or colour) results in a segmentation fault whilst performing an atomic operation inside a shared pointer of a stream profile. The relevant file is rs_frame.hpp line 376 (profile = other.profile;). In release mode there are no problems.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (1 by maintainers)

Most upvoted comments

@whatisor Yep, it doesn’t exactly “solve” the issue of this ticket but if you need a solution, using the C API is one work-around you might try which worked for me

@RealSenseCustomerSupport Have you checked my gdb log or try to combine Realsense with OpenVINO on Raspberry Pi 3/4? I am still stuck with the Segmentation fault problem of the Alignment API. As a result, I cannot use for Intel device for my project.