# Scaler 2.7.1 crashes DAW when using scale selection command in multiple Scaler instances

**URL:** <https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443>\
**Category:** Bug Reports\
**Tags:** Reaper, Windows, Cubase\
**Created:** [December 5, 2022, 8:01pm UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443 "2022-12-05T20:01:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidBluecame](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.scalermusic.com/davidbluecame/32/6702_2.png) [@DavidBluecame](https://forum.scalermusic.com/u/DavidBluecame)\
**Post date:** [December 5, 2022, 8:01pm UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/1 "2022-12-05T20:01:23Z")

</div>

Hello,

I have just bought Scaler2 (v2.7.1 at the moment) and I am experiencing very frequent DAW crashes under the following circumstances:

- Windows 11
- Scaler2 v2.7.1 VST3 64 bit (I think it also happened to me when trying the VST2)
- Host: Reaper 6.71 64bit or Cubase Pro 12, happens in both
- Creating two instances of Scaler 2 in the same project
- Defining (in each instance) two “Scale selection” commands (for example C Major using CC20 and C Minor using CC21)

Then if I start changing from C Major to C Minor repeatedly (both instances changing at the same time as I have defined the same scale selection commands in both), all seems to work fine but after a number of changes to the scale, the whole DAW suddenly crashes without explanation.

This is easy to reproduce, just create the above conditions and then quickly send CC20 and CC21 commands until it crashes.

When I load only one Scaler2 instance, this issue does not happen. So it looks like there is some strange interference between Scaler2 instances, even if you don’t use the Sync options.

I hope you can replicate this. Thanks!

---

<div class="post-metadata">

**Author:** ![DavidBluecame](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.scalermusic.com/davidbluecame/32/6702_2.png) [@DavidBluecame](https://forum.scalermusic.com/u/DavidBluecame)\
**Post date:** [December 5, 2022, 8:16pm UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/2 "2022-12-05T20:16:47Z")

</div>

By the way, an important note: the behavior seems different when the GUI is closed compared when the GUI is shown.

To replicate please make sure the GUI for both Scaler2 instances is open at the same time before sending repeated CC20 and CC21 to change scale from C major to C minor and vice versa. That’s how I replicated it.

---

<div class="post-metadata">

**Author:** ![1stInversion](https://avatars.discourse-cdn.com/v4/letter/1/ac91a4/32.png) [@1stInversion](https://forum.scalermusic.com/u/1stInversion)\
**Post date:** [December 5, 2022, 11:09pm UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/3 "2022-12-05T23:09:52Z")

</div>

> [@DavidBluecame](#):
>
> then quickly send CC20 and CC21 commands until it crashes.

Welcome. Sorry to hear this. I’ve not updated Scaler to v2.7.1 so I can’t speak to the issue. I may find time to try to replicate. When you say “send quickly” – what rate, just a fast toggle or are these are CC 20 and CC 21 embedded in a track?

Anyway, don’t bother answering for now. Some know much more about this than I do. Sounds odd. I’ve not heard this mentioned before.

---

<div class="post-metadata">

**Author:** ![Ed1](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.scalermusic.com/ed1/32/263_2.png) [@Ed1](https://forum.scalermusic.com/u/Ed1)\
**Post date:** [December 6, 2022, 12:44am UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/4 "2022-12-06T00:44:04Z")

</div>

Hi @DavidBluecame

thanks for the detailed reporting, we will try to replicate it and get back to you.

---

<div class="post-metadata">

**Author:** ![DavidBluecame](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.scalermusic.com/davidbluecame/32/6702_2.png) [@DavidBluecame](https://forum.scalermusic.com/u/DavidBluecame)\
**Post date:** [December 6, 2022, 5:11am UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/5 "2022-12-06T05:11:18Z")

</div>

Hello, thank you both for your replies!

To replicate, you can send the CC20 / CC21 events 2-3 times a second repeatedly until it crashes.

In real life situations you don’t send those events so quickly, but still crashes randomly. I sent the events quickly (2-3 times a second) just to force it to happen.

Thanks and best regards.

---

<div class="post-metadata">

**Author:** ![ed66](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.scalermusic.com/ed66/32/5339_2.png) [@ed66](https://forum.scalermusic.com/u/ed66)\
**Post date:** [December 6, 2022, 6:34pm UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/6 "2022-12-06T18:34:53Z")

</div>

I have found that when using midi CC to recall performancees I need to trigger them just before the bar that I want the performance to start (say 1/32 when playing T 120 BPM). Because of this I think that there may be some issues around Scaler responding to these commands, although the issues may be DAW related or even hardware related (cpu and time to load the appropriate performance from disc) or a combination of all these?

> [@DavidBluecame](#):
>
> the behavior seems different when the GUI is closed compared when the GUI is shown

suggests that this may be related to hardware being able to process all the commands.

Having said that I have created a small project in Ableton Live that uses CC20 and CC21 to switch between two performances which seems to work. But on my project I am switching every 4 bars = 16 secs approx.

---

<div class="post-metadata">

**Author:** ![arip](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@arip](https://forum.scalermusic.com/u/arip)\
**Post date:** [December 31, 2022, 11:42am UTC](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-daw-when-using-scale-selection-command-in-multiple-scaler-instances/12443/7 "2022-12-31T11:42:06Z")

</div>

Hi

I have a similar issue when using multiple synced Scaler instances in a project. As I found out, the crash does not occur when I turn off OpenGL rendering with the ScalerSettings App. It would be interesting, if turning off OpenGL rendering also fixes the problem in your situation.

See here for ScalerSettings App:

> [@Manage Default Preferences with ScalerSettings](https://forum.scalermusic.com/t/manage-default-preferences-with-scalersettings/4871):
>
> Scaler 2.1 is distributed with a new application to manage your settings. This was originally aimed at users that couldn’t launch Scaler because of OpenGL issues or weren’t able to access the settings menu because of the default resolution. It proved to be quite useful to change some of the defaults without having to launch the DAW, so we made them all editable, and added a way to reset everything to default. Opening the ScalerSettings Applica…

My assumption as a software developer is, that when multiple Scaler windows are open, they try to update their window content at the same time when receiving the midi CC commands resulting in a crash, maybe because of some shared OpenGL resource.

The same could be the case when multiple Scaler instances are synced.

> [@Scaler 2.7.1 crashes when two or more instances are synced and I switch between the plugin windows - Only when using OpenGL rendering!](https://forum.scalermusic.com/t/scaler-2-7-1-crashes-when-two-or-more-instances-are-synced-and-i-switch-between-the-plugin-windows-only-when-using-opengl-rendering/12670):
>
> Hi I like to report a problem with Scaler 2.7.0 / 2.7.1: When I place two or more Scaler instruments on to different channels in FL Studio 20/21 or on to different tracks in Studio One 4/5/6, I can switch between the plugin windows in FL Studio or the plugin tabs in Studio One back and forth without a problem. As soon as I sync the first Scaler instance to the other Scaler instances (click on gear icon, search for “sync”, click on sync, select “entire state” then click the sync button) FL Stu…

Regards,  
André
