-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix crash on startup #18300
fix crash on startup #18300
Conversation
In `dt_iop_gui_cleanup_module()` the mutex `gui_lock` is destroyed. The orientation module (`src/iop/flip.c`) has `gui_data` initialized with NULL, so the cleanup crashes here.
Alternatively, make sure the
from That avoids depending on a coincidental relationship between |
6e64ebc
to
ca37ed4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@dterrahe: This does not clearly fix the problem. Now I get an assertion failure in Lines 613 to 623 in 526cd08
The initialization sequence checks for hidden modules, |
Fully understood that you don't want to spend time now to find the correct solution to the issue. Unfortunately, my setup seems to be more forgiving and does not throw an assertion on failed initialisation, so I'm not able to debug myself. What's your platform/compiler/profile; maybe I can replicate. A few thoughts.
replaced by
Was that the call that caused your crash? |
In
dt_iop_gui_cleanup_module()
the mutexgui_lock
is destroyed. The orientation module (src/iop/flip.c
) hasgui_data
initialized with NULL, so the cleanup crashes here.