Segmentation Faults happen sometimes - Not reproducible
Hi!
I sometime encounter segmentation faults:
Fatal Python error: pygame_parachute: (pygame parachute) Segmentation Fault
Python runtime state: initialized
Thread 0x00000002925ff000 (most recent call first):
File "/Users/tristanbehrens/miniforge3/lib/python3.9/threading.py", line 316 in wait
File "/Users/tristanbehrens/miniforge3/lib/python3.9/threading.py", line 574 in wait
File "/Users/tristanbehrens/miniforge3/lib/python3.9/site-packages/tqdm/_monitor.py", line 60 in run
File "/Users/tristanbehrens/miniforge3/lib/python3.9/threading.py", line 973 in _bootstrap_inner
File "/Users/tristanbehrens/miniforge3/lib/python3.9/threading.py", line 930 in _bootstrap
Current thread 0x00000001035d8580 (most recent call first):
[...]
zsh: abort python testsonification.py generate
/Users/tristanbehrens/miniforge3/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 2 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
This is impossible to reproduce.
Any ideas?
Did you try to reproduce but it only happened once? If you manage to reproduce it please share a minimal reproducible example. There's a chance it's related to this singleton https://github.com/DBraun/DawDreamer/blob/d0d97e421241a66ffd3e0cb78d99174d7d8f61d6/Source/PluginProcessor.cpp#L69
Can you try version 0.6.16? There's a possible fix.
Wow! Thanks! I will keep you updated.
Hi! I did a quick check today. I upgraded to 0.6.16. I immediately ran into a new problem.
It seems that synth.load_state(synth_state) does not work anymore.
I downgraded to 0.6.15.
I did another test with 0.6.16. The semaphore problem is still there:
UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Hi @DBraun! I believe I have a minimal script here. And it causes segmentation faults. Please suggest I way to share a zip file with you.
You can email me [lastname]@ccrma.stanford.edu