Page MenuHomePhabricator

[SEG] Crash when working a lot with labels on label delete
Closed, ResolvedPublic

Description

Not really reproducable but sometimes the application crashes when working with labels.
It seems like some kind of "race condition" and it seems correlated with deleting labels or groups.

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Related Objects

Event Timeline

floca triaged this task as Unbreak Now! priority.May 11 2024, 12:21 PM
floca created this task.

After monkey testing in RelWDebugInfo, I think I found a lead. It can happen due to different processing of the Qt event queue that GetLabel is queried in a widget on a label that does not exist anymore. But it is not checked if GetLabel returns nullptr. Which in this case can happen. I hope this will fix the problem..,

kislinsk added a revision: Restricted Differential Revision.May 13 2024, 12:05 PM

Seems to be solved as it was not found again be our monkey testing.