You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Under certain conditions, not well understood, lua attempts to garbage collect widgets that are still in use. This should not happen.
To Reproduce case 1
comment out the collectgarbage(stop) line in tools/script_manager.lua
start darktable in a terminal with the -d lua flag.
observe a crash with an error about trying to destroy a parented widget
you may have to start darktable several times to see the error
case 2
enable contrib/enfuseAdvanced, contrib/image_stack, and contrib/geoToolbox.
start darktable from a terminal
scroll back and forth through the lighttable until darktable crashes or an error message occurs saying trying to garbage collect a widget that hasn't been destroyed.
Expected behavior
lua should not try and garbage collect widgets that are in use
Platform (please complete the following information):
Darktable Version: all
OS: all
Additional context
This issue manifests itself with widgets, but it may be a problem with lua garbage collection in general or it may be a problem with our understanding of lua garbage collection. Either way it needs investigated.
The text was updated successfully, but these errors were encountered:
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.
I think this can safely be closed. We found the original problem and through code tracing have a fairly good idea of how it works. I'll create a new issue if we encounter problems again.
Describe the bug
Under certain conditions, not well understood, lua attempts to garbage collect widgets that are still in use. This should not happen.
To Reproduce
case 1
case 2
Expected behavior
lua should not try and garbage collect widgets that are in use
Platform (please complete the following information):
Additional context
This issue manifests itself with widgets, but it may be a problem with lua garbage collection in general or it may be a problem with our understanding of lua garbage collection. Either way it needs investigated.
The text was updated successfully, but these errors were encountered: