helgoboss / helgobox

Helgobox: ReaLearn & Playtime
https://www.helgoboss.org/projects/helgobox
GNU General Public License v3.0
211 stars 20 forks source link

Errors with more than one project tab #541

Open SoliDeoGloria2 opened 2 years ago

SoliDeoGloria2 commented 2 years ago

Hi!

When I use ReaLearn (for example, when I learn a source CC) with more than one project tab in Reaper, this log appears with an error sign :

REAPER version: 6.51+dev0312/linux-x86_64 Module name: ReaLearn Module version: v2.12.0-pre.4/x86_64 rev cdddd1 (2021-12-30 00:26:59 UTC) Module base address: - Module size: -

Message: already borrowed: BorrowMutError

0: 0x7f0bbeee4bf7 - 1: 0x7f0bbeee72f8 - 2: 0x7f0bbedd4965 - 3: 0x7f0bbef289f9 - 4: 0x7f0bbef284b7 - 5: 0x7f0bbef2604c - 6: 0x7f0bbef28419 - 7: 0x7f0bbe4b4981 - 8: 0x7f0bbe4b4a73 - 9: 0x7f0bbe819153 - 10: 0x7f0bbed4ca84 - 11: 0x7f0bbed4ae85 - 12: 0x7f0be39569c6 - 13: 0x7f0be39499e7 - 14: 0x7f0be394edda - 15: 0x7f0be39499e7 - 16: 0x7f0be394c077 - 17: 0x7f0bbee49f57 - 18: 0x7f0bbe8169bd - 19: 0x7f0bbe8163b3 - 20: 0x7f0bbe663fb6 - 21: 0x7f0bbe96e439 - 22: 0x7f0bbe5fcbe7 - 23: 0x7f0bbedabcd1 - 24: 0x7f0bbea730f7 - 25: 0x7f0bbee4a4a2 - cpp_to_rust_IReaperControlSurface_Run 26: 0x63ffd5 - 27: 0x553172 - 28: 0x553a1f - 29: 0x7df75d - 30: 0x7f0be39569c6 - 31: 0x7f0be39499e7 - 32: 0x7f0be3956e17 - 33: 0x40d7b6 - 34: 0x7f0be3c01b25 - __libc_start_main 35: 0x41a70a - _start 36: 0x0 -

I've had, one various occasions, ReaLearn inactive and showing a blank GUI, without any functioning of its mappings (much to my grief in the midst of some live situations during my classes as a music teacher), most probably after something like this -loading various projects with similar Realearn mappings at the same time-.

Any insight will be appreciated.

Thanks!

helgoboss commented 2 years ago

I tried but can't reproduce this. I need:

Thanks!

helgoboss commented 2 years ago

BTW, pre-releases are not meant to be used in live situations.

SoliDeoGloria2 commented 2 years ago

Hi! Sorry for the delay. I've been trying to reproduce the issue with some minimal test projects, but I am not able to do it. The failures all happened with moderately heavy projects. Sorry that I opened the issue but cannot give for now an easy recipe to reproduce it. Maybe it is related to the multiple tabs feature of REAPER, which I perceive as prone to create some weird issues in certain scenarios.

Byt the way, you're right regarding the pre-releases, I acknowledge it...