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.
Description
Description
Revisions and Commits
Revisions and Commits
rMITK MITK | |||
Restricted Differential Revision | rMITK1b29c1cf757a T30444-Crash_when_working_with_labels | ||
Restricted Differential Revision | rMITKd50db49303c6 fixed typos | ||
Restricted Differential Revision | rMITKb6bb9b40d428 Secured usage of GetLabel results to ensure that not nullptr access is | ||
Restricted Differential Revision | rMITK18037d1366b5 Changed return of GetLabel() to ensure secure usage of method with auto. |
Related Objects
Related Objects
- Mentioned In
- T30470: 2024 Week 24 (Mid June)
Event Timeline
Comment Actions
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..,