-
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
Segfault when press cmd+z #18110
Comments
reproduced on macOS with darktable 5.0.0+23~gec82c72acc: |
Works under Linux with current master, so looks like something MacOS-specific (perhaps the Cmd vs Ctrl difference?) |
No problems on 5.1.0+19~gf2352efd98, Ubuntu 24.04. |
It crashes reproducible in Lines 4402 to 4422 in 8855ec9
But there must be something different in the retouch module. No problems with |
@ralfbrown: The crash is caused by By reading the documentation of gdk_window_get_cursor():
I would assume that the returned object gets invalid by the next call of |
I won't have a chance to test until the weekend, but a |
@ralfbrown : See #18226. Thanks. |
Using ralfbrown proposed fix.
This reverts commit 6df6993.
Describe the bug
When I use retouch module and decide to remove the last circle retouch using cmd+z keyboard combination, the app exits
Steps to reproduce
Expected behavior
remove the last retouch element
Logfile | Screenshot | Screencast
32.9279 used preset temperature 300 preset='as shot to reference': D65 2.309 1.000 1.531, AS-SHOT 1.864 1.000 1.924
32.9305 used preset temperature 300 preset='as shot to reference': D65 2.309 1.000 1.531, AS-SHOT 1.864 1.000 1.924
32.9325 [dt_dev_read_history_ext] temporary history deleted
32.9325 [dt_iop_reload_defaults] defaults reloaded for filmicrgb
32.9325 [dt_iop_reload_defaults] defaults reloaded for basecurve
32.9325 [dt_iop_reload_defaults] defaults reloaded for colorequal
32.9325 [dt_iop_reload_defaults] defaults reloaded for colormapping
32.9325 [dt_iop_reload_defaults] defaults reloaded for channelmixerrgb
32.9327 [dt_iop_reload_defaults] defaults reloaded for colorin
32.9327 [dt_iop_reload_defaults] defaults reloaded for crop
32.9327 [dt_iop_reload_defaults] defaults reloaded for exposure
32.9327 [dt_iop_reload_defaults] defaults reloaded for retouch
32.9327 [dt_iop_reload_defaults] defaults reloaded for clipping
32.9327 [dt_iop_reload_defaults] defaults reloaded for overlay
32.9327 [dt_iop_reload_defaults] defaults reloaded for flip
32.9327 [dt_iop_reload_defaults] defaults reloaded for ashift
32.9327 [dt_iop_reload_defaults] defaults reloaded for cacorrectrgb
32.9336 [dt_iop_reload_defaults] defaults reloaded for lens
32.9336 [dt_iop_reload_defaults] defaults reloaded for rotatepixels
32.9336 [dt_iop_reload_defaults] defaults reloaded for denoiseprofile
32.9336 [dt_iop_reload_defaults] defaults reloaded for demosaic
32.9336 [dt_iop_reload_defaults] defaults reloaded for rawdenoise
32.9336 [dt_iop_reload_defaults] defaults reloaded for hotpixels
32.9336 [dt_iop_reload_defaults] defaults reloaded for cacorrect
32.9336 [dt_iop_reload_defaults] defaults reloaded for highlights
32.9336 [dt_iop_reload_defaults] scene=YES, modern=YES, CAT=NO. D65 2.309 1.000 1.531, AS-SHOT 1.864 1.000 1.924
32.9337 [dt_iop_reload_defaults] defaults reloaded for temperature
32.9337 [dt_iop_reload_defaults] defaults reloaded for invert
32.9337 [dt_iop_reload_defaults] defaults reloaded for rawprepare
32.9348 [dt_dev_read_history_ext] temporary history initialised with default params and presets
32.9348 [dt_dev_read_history_ext] temporary history merged with image history
32.9348 [history] successfully loaded module rawprepare from history
blendop v. 13: version ok params ok
params v. 2: version ok params ok
32.9348 [history] successfully loaded module demosaic from history
blendop v. 13: version ok params ok
params v. 4: version ok params ok
32.9348 [history] successfully loaded module colorin from history
blendop v. 13: version ok params ok
params v. 7: version ok params ok
32.9348 [history] successfully loaded module colorout from history
blendop v. 13: version ok params ok
params v. 5: version ok params ok
32.9348 [history] successfully loaded module gamma from history
blendop v. 13: version ok params ok
params v. 1: version ok params ok
32.9348 [history] successfully loaded module temperature from history
blendop v. 13: version ok params ok
params v. 4: version ok params ok
32.9348 [history] successfully loaded module highlights from history
blendop v. 13: version ok params ok
params v. 4: version ok params ok
32.9348 [history] successfully loaded module channelmixerrgb from history
blendop v. 13: version ok params ok
params v. 3: version ok params ok
32.9348 [history] successfully loaded module exposure from history
blendop v. 13: version ok params ok
params v. 6: version ok params ok
32.9349 [history] successfully loaded module filmicrgb from history
blendop v. 13: version ok params ok
params v. 6: version ok params ok
32.9349 [history] successfully loaded module flip from history
blendop v. 13: version ok params ok
params v. 2: version ok params ok
32.9349 [history] successfully loaded module lens from history
blendop v. 13: version ok params ok
params v. 10: version ok params ok
32.9349 [history] successfully loaded module highlights from history
blendop v. 13: version ok params ok
params v. 4: version ok params ok
32.9349 [history] successfully loaded module demosaic from history
blendop v. 13: version ok params ok
params v. 4: version ok params ok
32.9349 [history] successfully loaded module denoiseprofile from history
blendop v. 13: version ok params ok
params v. 11: version ok params ok
32.9349 [history] successfully loaded module exposure from history
blendop v. 13: version ok params ok
params v. 6: version ok params ok
32.9349 [history] successfully loaded module toneequal from history
blendop v. 13: version ok params ok
params v. 2: version ok params ok
32.9349 [history] successfully loaded module colorin from history
blendop v. 13: version ok params ok
params v. 7: version ok params ok
32.9349 [history] successfully loaded module channelmixerrgb from history
blendop v. 13: version ok params ok
params v. 3: version ok params ok
32.9349 [history] successfully loaded module colorbalancergb from history
blendop v. 13: version ok params ok
params v. 5: version ok params ok
32.9349 [history] successfully loaded module filmicrgb from history
blendop v. 13: version ok params ok
params v. 6: version ok params ok
32.9349 [history] successfully loaded module retouch from history
blendop v. 13: version ok params ok
params v. 3: version ok params ok
32.9369 used preset temperature 300 preset='as shot to reference': D65 2.309 1.000 1.531, AS-SHOT 1.864 1.000 1.924
[1] 32296 segmentation fault /Applications/darktable.app/Contents/MacOS/darktable -d common
Commit
No response
Where did you obtain darktable from?
downloaded from www.darktable.org
darktable version
5.0
What OS are you using?
Mac
What is the version of your OS?
15.1.1
Describe your system?
No response
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered: