helenginn / mabscape

abmapping
0 stars 0 forks source link

Program crashed after removing mesh #1

Open funkefel opened 3 years ago

funkefel commented 3 years ago

show.sh: line 20: 13058 Segmentation fault (core dumped) LD_LIBRARY_PATH=~/install/lib/x86_64-linux-gnu/ ~/HiWi/Helen/test/mabscape/build/current/mabscape load-structure=rbd.obj load-data=data_27012021.csv load-positions=positions.csv load-metadata=metachains.csv load-metadata=indian_kds.csv load-metadata=ic50.csv load-metadata=p1_ic50.csv load-metadata=p1_kd.csv load-metadata=sa_kd_ratio.csv load-metadata=kd.csv load-metadata=strains.csv load-metadata=sequences.csv read-results=good.results refine-mesh triangulate-mesh triangulate-mesh select-all average-positions

funkefel commented 2 years ago

677f162 Resolved some of the crashes that were cause by trying to run a second command ontop of the currently running one, both messing with the same data. Additionally found an issue, where the program freezes when calling certain actions while something else is happening. This seems to be related to an improper use of _worker->wait() in Experiment::prepareWorkForObject() It seems that this wait() freezes the main thread, which can not be unfrozen because wait() waits for the parent thread to finish running, but that thread does not exist.