Add brush to a mask freezes Darktable
As soon as you click on "Add brush", from the mask manager or from a module, Darktable freeze juste after showing the brush handle into the picture (as visible on the included screenshot).
#7 Updated by Igor Kuzmin about 5 years ago
- Affected Version changed from 1.6.0 to 1.6.2
Right, I forgot about this bug. Just tried to reproduce it on my MacBook and I couldn't - works fine for me.
Can you please run the following command in Terminal after you trigger the bug (hang darktable):
killall -SEGV darktable-bin
and post here the resulting crash log, it might shine some light on this issue. But to be honest since I can't reproduce I doubt I will be able to fix it.
#8 Updated by Christian Stussak over 4 years ago
The bug still persists in version 1.6.8. I am going to add some more detail for debugging.
darktable -d all outputs
[masks dynbuf 'brush dpoints'] with initial size 1000000 (is 0x175ba7000)
[masks dynbuf 'brush dborder'] with initial size 1000000 (is 0x175f78000)
[masks ] brush_points init took 0,0000 sec
[masks dynbuf 'brush dpoints'] freed (was 0x0)
[masks dynbuf 'brush dborder'] freed (was 0x0)
[masks ] brush_points point recurs 0,0000 sec
[masks ] brush_points transform took 0,0000 sec
right before freezing. The crash log is attached.
If you need more details, please let me know.
I would really love to see this bug fixed. Some plugins like the blur plugin are kind of useless without brushes ...
BTW: after reopening darktable, a brush has been added to the mask. It is also possible to edit the mask via the control points afterwards, but adding a additional brush just freezes darktable again.