# guiMode("queue") crash

**URL:** <https://forum.cabbageaudio.com/t/guimode-queue-crash/4405>\
**Category:** Cabbage slugs\
**Created:** [2 July 2024 18:08 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405 "2024-07-02T18:08:16Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [2 July 2024 18:08 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/1 "2024-07-02T18:08:16Z")

</div>

`guiMode("queue")` seems to be causing crashes (freeze - spinning beachball) when updating multiple widgets or a single widget at a high rate of update. The old `guiMode` seems to be able to handle similar performance demands so I have attached examples of each. It usually crashes after some seconds.

I suspect this is a recently emerging issue as I have csds that worked fine a few months ago that are no longer reliable. This is tested on Mac using the May 4 Cabbage build.

[testPolling.csd](https://forum.cabbageaudio.com/uploads/short-url/jocJo6u3UlEdTQbywdNz1r11Kl8.csd) (1.2 KB) [testQueue.csd](https://forum.cabbageaudio.com/uploads/short-url/3hOq2EHutixgeV6SC30zxPP4zQl.csd) (1.1 KB)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 July 2024 09:23 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/2 "2024-07-03T09:23:02Z")

</div>

Thanks Iain. I’m going to ping @Andy.Fillebrown as it looks like it might have something to do with a patch he submitted. Andy, would you mind taking a look? The .csd in question works fine before this merge.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [3 July 2024 15:03 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/3 "2024-07-03T15:03:00Z")

</div>

@iainmccurdy, I’ve rolled back to a previous build for now. Can you test when it is done in DevOps? Andy is going to look into the issue, but for now he suggested I roll back so we don’t upset the millions of Cabbage users out there 🙂

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [4 July 2024 13:35 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/4 "2024-07-04T13:35:42Z")

</div>

Thanks, Rory. I was indeed responding to a complaint from one of the millions of Cabbage users.

Unfortunately the build you triggered yesterday failed to complete.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [4 July 2024 14:07 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/5 "2024-07-04T14:07:27Z")

</div>

Thanks Iain, trying to a new build now…

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [4 July 2024 19:52 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/6 "2024-07-04T19:52:42Z")

</div>

Thanks, Rory. There still seems to be a problem though. This one using `guiMode("queue")` lasts for about 20 seconds before stalling. (The screen capture doesn’t pick up the spinning beach ball.) I’ll try and investigate further.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [5 July 2024 07:12 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/7 "2024-07-05T07:12:55Z")

</div>

I’ll roll back to another version. It’s good to know that it’s not the PR from @Andy.Fillebrown that did the damage. Looks like I have to take responsibility for this mess 🫣

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [5 July 2024 07:48 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/8 "2024-07-05T07:48:46Z")

</div>

Ok, I think I may have simply messed up the roll back. Can you double check the version number that’s working for you? I’ve triggered a new build in the meantime that hopefully reverts back to 227.

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [5 July 2024 09:56 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/9 "2024-07-05T09:56:35Z")

</div>

Same crashing behaviour with the build you created today.

 ![image](https://forum.cabbageaudio.com/uploads/default/original/2X/2/233d9ed988c828388f94f54285b442e017c6ed2b.png)  
I checked it on another Mac machine and it’s the same. ☹

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [5 July 2024 12:07 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/11 "2024-07-05T12:07:36Z")

</div>

I’m running .222 and get no crash, is that the last stable build?

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [5 July 2024 14:13 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/12 "2024-07-05T14:13:21Z")

</div>

Is there an archive back to .222? The Azure listing of Runs only goes back to .226.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [12 July 2024 10:22 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/13 "2024-07-12T10:22:12Z")

</div>

I’m building version .224 now. Should be available in an hour or so. If that doesn’t work, we’ll go back another. Apologies for the delay in this. 😖

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [25 July 2024 16:49 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/14 "2024-07-25T16:49:49Z")

</div>

Apologies for not getting to this sooner (was cycling round Dingle). Anyway, the issues I reported previously seem to have been addressed by reverting.

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [25 July 2024 17:06 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/15 "2024-07-25T17:06:37Z")

</div>

Sorry, I may have spoken too soon:

  
The polling version still runs without crashing. Let me know if you have any suggestions.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [25 July 2024 19:01 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/16 "2024-07-25T19:01:49Z")

</div>

Hi @iainmccurdy, I hope you got nice weather or Dingle 😉 I’m spending the rest of the summer in Germany, where the weather is outstanding as usual!

Do you have any idea what version was actually working Ok for you? I’ve rolled back all the way to 2.9.203 and it still crashes. It’s weird because when I tested it with 222 it seems to work fine, but maybe I didn’t leave it run longer enough.

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [25 July 2024 20:49 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/17 "2024-07-25T20:49:42Z")

</div>

It’s solid on the most recent official release. I’m afraid I don’t have any other interim beta versions to try.

Enjoy your summer in Germany!

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [26 July 2024 06:52 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/18 "2024-07-26T06:52:39Z")

</div>

> [@iainmccurdy](#):
>
> It’s solid on the most recent official release

Oh wow, I’ll have to dust off the time machine. Might be better then to roll forward in time and tackle this fresh. The problem is the crash is somewhat special. I can’t get any info about it when debugging. It just stops. Leave it with me then 👍

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [27 July 2024 13:57 UTC](https://forum.cabbageaudio.com/t/guimode-queue-crash/4405/19 "2024-07-27T13:57:47Z")

</div>

Right. This it’s hanging is because of the rate at which you’re updating the table (most likely due to a threading issue). I was scratching my head wondering why it works with the old `guiMode()` when I remembered that Cabbage throttles updates in the older system. It works fine for me with an update rate of 32Hz, but that’s probably overkill too. I’ve rolled back/forward to .228 so we get to keep those `hrange` slider updates. Let me know if you have any better look with a slower update rate.
