Open merlea opened 4 days ago
This is 'known behavior'. You can not edit a tree that is open. We should (to the extent we can) notice that this is going on, and either prevent the tree from being edited since it is open, or as noted in the issue, warn the user.
I am not sure either of these is doable
The TreeEstablishRundownEvent which was probably for this purpose, is not implemented. It is in treeshr/dummy.c
Affiliation SPC-EPFL
Version(s) Affected Stable 7.142.81
Platform(s) Ubuntu 24.04
Installation Method(s) Official DEB repository
Describe the bug If a tree is open in process 1 and process 2 replaces this tree with a new copy, then reopening the tree in process 1 results in a SIGBUS error.
To Reproduce Steps to reproduce the behavior:
default_tree_path=/tmp
and executemdstcl
and the following commandsdefault_tree_path=/tmp
and executetdic
Leave the
tdic
session open.tdic
crashes with SIGBUS errorExpected behavior No crash, maybe an error message explaining that the db entry seems to not be valid anymore and should be closed, or close the tree silently and continue with the user input.