Open Parakleta opened 3 years ago
Please specify your LMMS version and operating system.
Sorry, I get the following version string from LMMS.
LMMS 1.2.2
(FreeBSD x86_64, Qt 5.15.2, GCC FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2))
I'm running FreeBSD 12.2
The issue I think is that the shared memory key is determined by the following line:
Which in turn uses the following global path:
https://github.com/LMMS/lmms/blob/2f17c0da2b20ecb9b00f8dcb227d02731325796b/include/VstSyncData.h#L37
Since this doesn't have any element relevant to to the process ID or the user ID this is the same for all users, but different users cannot (and should not) access the same shared memory due to the access permissions. The solution is probably to use the user's home directory or some temporary file based on the process ID (or something else similar).
I get the error from the following line when trying to boot LMMS with two different users on the same computer (system is accessed through VNC).
https://github.com/LMMS/lmms/blob/2f17c0da2b20ecb9b00f8dcb227d02731325796b/src/core/VstSyncController.cpp#L79