Cannot undo delete sample(s) in Keyzones editor

M1 Macbook Pro Sonoma - Renoise 3.4.3

When working in the sample keyzone editor, I noticed that I was not unable to “undo” deleting samples when focused on the keyzone editor. Attempting to do so yields a message at the bottom of the screen reading “Change PlaybackMode” was undone.

Continuing to hold cmd-z results in the “Nothing to Undo” message (with no prior actions being reversed), even when I have a long history of prior actions. Repressing cmd-z yields the same playbackmode message, with no samples being recovered. Making further changes (i.e. adding to the undo-queue) allows you undo those actions, but this list “stops” at where one has deleted samples in the keyzone editor.

This does not happen if you are on the keyzone tab but focused on the sample list (left hand sidebar). Deleting samples in the sample list and “undoing” behaves normally.

This is unfortunate because I have lost some good takes this way that I can’t recover! I use more caution now, but I don’t believe this is at all intended behavior.

Thanks!

Edit: I have not been able to replicate this issue, unfortunately, as opposed to the separate issue discussed below.

I am now having another problem related to sample deletion, though I suspect it may be related.

Renoise has been crashing for me quite often when clicking the “Insert New Sample” on the sample-editor sidebar. The crashing only seems to happen after deleting a large group of samples in an instrument, and then afterwards trying to add a sample.

Renoise will not crash if you try to add a sample into another instrument.

However, saving and reloading the file and clicking “insert new sample” in the original instrument will consistently crash the program.

I have disabled all vst/au plugins and the problem still occurs.

Currently I am able to overcome the issue by loading an arbitrary keyzone preset (.sfz) into the instrument, at which point I can delete all samples and the “insert new sample” button works correctly and doesn’t crash.

I will try to upload a short video demonstration in a moment.

1 Like

Okay. Here is an .xrns file that I can open on my system, click on the “insert new sample” in Inst. 00 (only instrument), and the program will crash.

sample_crash1.xrns (6.8 KB)

I deleted everything out of the original project except the instrument itself. Doing this seemed to actually yield a crash that renoise could detect (as opposed to instantly vanishing from visibility with no messages / warning). Now that this is the case, this is the error I get:

A fatal error or crash occurred (unhandled exception in thread: GUI).

A backup of the current document was saved at
‘/Users/emersonaagaard/Library/Preferences/Renoise/V3.4.3/CrashBackups/sample_crash1_1_10_2024__9_15_crash.xrns’…

This either happened because of a bug in Renoise, or because of a bug in one of its loaded components (plugins). Please contact bug@renoise.com and report this problem, so that it can be fixed.

Note: It’s very important that we know exactly what has happened (what you were doing before this message popped up), or the problem cannot be replicated/analyzed. Please include a description of what you were doing and which components were being used…

I am curious if anyone else experiences this issue, or if it is only a MacOS ARM issue. Thank you in advance for any testing, folks.

1 Like

And here is the what I believe to be the relevant part of log file printout:

CrashLog: Caught signal: SIGSEGV (11) ...
CrashLog: 0   libsystem_platform.dylib            0x0000000185747a24 _sigtramp + 56
CrashLog: 1   Renoise                             0x00000001013308dc _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 5372940
CrashLog: 2   Renoise                             0x00000001013308dc _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 5372940
CrashLog: 3   Renoise                             0x000000010129e808 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4774712
CrashLog: 4   Renoise                             0x000000010129e690 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4774336
CrashLog: 5   Renoise                             0x00000001012872ec _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4679196
CrashLog: 6   Renoise                             0x0000000101280f64 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4653716
CrashLog: 7   Renoise                             0x000000010111a0b8 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 3183592
CrashLog: 8   Renoise                             0x0000000101119e58 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 3182984
CrashLog: 9   Renoise                             0x0000000100b05544 Renoise + 2397508
CrashLog: 10  Renoise                             0x0000000100f87d4c _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 1536124
CrashLog: 11  Renoise                             0x00000001010125e0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2103568
CrashLog: 12  Renoise                             0x0000000100f9fe88 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 1634744
CrashLog: 13  Renoise                             0x000000010101ab34 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2137700
CrashLog: 14  Renoise                             0x000000010101a870 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2136992
CrashLog: 15  Renoise                             0x0000000101062180 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2430128
CrashLog: 16  Renoise                             0x00000001010f1cb8 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 3018728
CrashLog: 17  Renoise                             0x000000010106fe20 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2486608
CrashLog: 18  Renoise                             0x00000001010c41b0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2831584
CrashLog: 19  Renoise                             0x000000010109601c _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2642764
CrashLog: 20  AppKit                              0x00000001897a3f30 -[NSApplication(NSEventRouting) sendEvent:] + 1604
CrashLog: 21  Renoise                             0x00000001010928e0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2628624
CrashLog: 22  AppKit                              0x00000001893f6110 -[NSApplication _handleEvent:] + 60
CrashLog: 23  AppKit                              0x0000000188fc2124 -[NSApplication run] + 512
CrashLog: 24  Renoise                             0x000000010106e420 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2479952
CrashLog: 25  Renoise                             0x00000001008cf900 Renoise + 80128
CrashLog: 26  Renoise                             0x00000001008cf7c8 Renoise + 79816
CrashLog: 27  dyld                                0x000000018539d0e0 start + 2360

Application: Caught an unhandled fatal exception (Thread: GUI)!
Application: Saving a backup...

CrashLog: Caught signal: SIGSEGV (11) ...
CrashLog: 0   libsystem_platform.dylib            0x0000000185747a24 _sigtramp + 56
CrashLog: 1   Renoise                             0x00000001012867c0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676336
CrashLog: 2   Renoise                             0x00000001012867c0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676336
CrashLog: 3   Renoise                             0x00000001012867c0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676336
CrashLog: 4   Renoise                             0x00000001012867c0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676336
CrashLog: 5   Renoise                             0x00000001012867c0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676336
CrashLog: 6   Renoise                             0x00000001012867c0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676336
CrashLog: 7   Renoise                             0x000000010128690c _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4676668
CrashLog: 8   Renoise                             0x0000000100d71c7c Renoise + 4938876
CrashLog: 9   Renoise                             0x00000001008cf2f0 Renoise + 78576
CrashLog: 10  Renoise                             0x000000010106a954 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2464900
CrashLog: 11  Renoise                             0x0000000101069bd0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2461440
CrashLog: 12  Renoise                             0x00000001010696f4 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2460196
CrashLog: 13  Renoise                             0x0000000101065908 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2444344
CrashLog: 14  libsystem_platform.dylib            0x0000000185747a24 _sigtramp + 56
CrashLog: 15  Renoise                             0x00000001013308dc _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 5372940
CrashLog: 16  Renoise                             0x00000001013308dc _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 5372940
CrashLog: 17  Renoise                             0x000000010129e808 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4774712
CrashLog: 18  Renoise                             0x000000010129e690 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4774336
CrashLog: 19  Renoise                             0x00000001012872ec _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4679196
CrashLog: 20  Renoise                             0x0000000101280f64 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 4653716
CrashLog: 21  Renoise                             0x000000010111a0b8 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 3183592
CrashLog: 22  Renoise                             0x0000000101119e58 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 3182984
CrashLog: 23  Renoise                             0x0000000100b05544 Renoise + 2397508
CrashLog: 24  Renoise                             0x0000000100f87d4c _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 1536124
CrashLog: 25  Renoise                             0x00000001010125e0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2103568
CrashLog: 26  Renoise                             0x0000000100f9fe88 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 1634744
CrashLog: 27  Renoise                             0x000000010101ab34 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2137700
CrashLog: 28  Renoise                             0x000000010101a870 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2136992
CrashLog: 29  Renoise                             0x0000000101062180 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2430128
CrashLog: 30  Renoise                             0x00000001010f1cb8 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 3018728
CrashLog: 31  Renoise                             0x000000010106fe20 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2486608
CrashLog: 32  Renoise                             0x00000001010c41b0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2831584
CrashLog: 33  Renoise                             0x000000010109601c _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2642764
CrashLog: 34  AppKit                              0x00000001897a3f30 -[NSApplication(NSEventRouting) sendEvent:] + 1604
CrashLog: 35  Renoise                             0x00000001010928e0 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2628624
CrashLog: 36  AppKit                              0x00000001893f6110 -[NSApplication _handleEvent:] + 60
CrashLog: 37  AppKit                              0x0000000188fc2124 -[NSApplication run] + 512
CrashLog: 38  Renoise                             0x000000010106e420 _ZN4asio6detail16service_registry6createINS0_23reactive_socket_serviceINS_2ip3udpEEENS_10io_contextEEEPNS_17execution_context7serviceEPv + 2479952
CrashLog: 39  Renoise                             0x00000001008cf900 Renoise + 80128
CrashLog: 40  Renoise                             0x00000001008cf7c8 Renoise + 79816
CrashLog: 41  dyld                                0x000000018539d0e0 start + 2360

Closing log file...

huh weird, yes. it crashed on my
Screen Shot 2024-01-10 at 9.58.19 AM
too, when I clicked the “+” button.

perhaps irrelevant, but on opening the xrns it dispayed a missing airwindows plugin notifier

1 Like

Can confirm that this causes a crash here on Win10. Log mentions:

CrashLog: Handling Exception! Code : C0000005

1 Like

The instrument’s document is corrupted/broken: the selected sample index, saved in the document, points to the 24th sample, but there is actually no sample at all present. There are many ways to crash Renoise after that, so the “Insert” operation itself is not broken.

We can manually fix/repair this in the XRNS file, but more interesting and also important for you, I guess, is how this could have happened in the first place.

You’ve mentioned these quirks in the Keyzone Editor. Probably it happened there, which then broke the undo too. Can you recall what else you were doing to the instrument before the broken behaviour started?

2 Likes

Okay this is illuminating, thank you.

I was arranging the order of samples in the keyzone editor, after manually slicing many phrases from a vocal take and having to put them in order a different order.

I can’t recall exactly would have happened to create this problem (because simply deleting large amounts of samples from the keyzone editor does not itself replicate these issues).

I am thinking it had something to do with re-arranging things in both the sample list and the keyzone editor, while making adjustments to my drumkit settings, and frequently hitting cmd-D to reset the samples to the drumkit.

This is all very vague for now, but I will be doing more of the same type of operation soon, and maybe I can figure out exactly what happened, because I know it has happened more than once. I can see how the sample-indexes might get scrambled/broken when I’m doing what I was describing above, so I’m thinking this is the common theme.

I will update as I can – thank you all for your help

Thanks for the help.

If you want the song file you’ve been working on fixed, send it to me with a link in a private message here or via support @ nameofthissoftware .com