Skip to content

Don't nullify on_frame_ready lambda - #13650

Merged
OhadMeir merged 1 commit into
realsenseai:developmentfrom
OhadMeir:development
Jan 7, 2025
Merged

Don't nullify on_frame_ready lambda#13650
OhadMeir merged 1 commit into
realsenseai:developmentfrom
OhadMeir:development

Conversation

@OhadMeir

@OhadMeir OhadMeir commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

Tracked on [RSDEV-3022]

We have experienced segmentation faults on Linux while running a start-stop loop test.
Root cause of the problem is handling frame callback in one thread, while stopping in another. Stop deleted the lambda expression calling the user callback, returning from the callback have issued the fault.

@OhadMeir
OhadMeir requested review from Nir-Az and maloel January 2, 2025 13:08

@maloel maloel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I assume this is tested and better?

@maloel

maloel commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

Also, please describe the problem and suspected root-cause in the description.

@OhadMeir

OhadMeir commented Jan 2, 2025

Copy link
Copy Markdown
Contributor Author

Also, please describe the problem and suspected root-cause in the description.

OK. It is described in the Jira ticket by I will also add a short description here.

@Nir-Az Nir-Az closed this Jan 7, 2025
@Nir-Az Nir-Az reopened this Jan 7, 2025
@OhadMeir
OhadMeir merged commit ce21607 into realsenseai:development Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants