Fix object mask ASan races and scratch overflows#20774
Fix object mask ASan races and scratch overflows#20774sjuxax wants to merge 1 commit intodarktable-org:masterfrom
Conversation
|
Please raise an issue before submitting a PR to fix something. That way if another user encounters the error when they go to raise an issue they can search and find the existing one with the PR linked to it. |
|
Please describe the problem you are facing. What are the steps to reproduce it? |
|
Given the title I suppose this issue arise when compiling Darktable with |
|
Hey @sjuxax – there's been no movement on this PR for a while, so I opened #20815 to port the parts I could confidently review. #20815 takes the I left out the A few questions that would help me understand:
|
This resolves 3-4 crashes I get with the AI masking feature. Some of them happen when running with
threads=18and don't happen withOMP_NUM_THREADS=12 darktable --threads 12. Some of them crash regardless on mask click.