Skip to content

Crash: Setting Enum Value #301

@dsokoloski

Description

@dsokoloski

Environment

  • OS: MacOS 15.6.1 AS
  • Version 1.9.24, 1.9.25b13, bleeding-edge [006c845]

Describe the bug
It's difficult to know exactly what's happening because it's intermittent; appears to be a timing issue. In summary, I have a mapping that updates an enum when I set the value of another Custom Variable. I can test for hours and everything is fine, and then for apparently no obvious reason, I get the following stack trace dumped to the log (>= v1.9.25), or the app completely crashes (< v1.9.25):

16:44:18    CrashHandler    A Crash happened !

               0   Chataigne                           0x0000000102dc455c _ZN4juce11SystemStats17getStackBacktraceEv + 72
               1   Chataigne                           0x0000000103268784 _ZN17CrashDumpUploader11handleCrashEi + 2736
               2   Chataigne                           0x0000000102dc4658 _ZN4juceL11handleCrashEi + 16
               3   libsystem_platform.dylib            0x00000001929e96a4 _sigtramp + 56
               4   Chataigne                           0x0000000102fddb0c _ZN4juce12ListenerListI17ParameterListenerNS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEE20callCheckedExcludingIZNS6_20callCheckedExcludingINS6_19DummyBailOutCheckerEJP9ParameterEJSB_EEEvS3_RKT_MS1_FvDpT0_EDpOT1_EUlRS1_E_S9_EEvS3_RKT0_OSC_ + 316
               5   Chataigne                           0x0000000102fdc4a8 _ZN9Parameter8setValueEN4juce3varEbbb + 508
               6   Chataigne                           0x0000000102feb108 _ZN13EnumParameter16setValueWithDataEN4juce3varE + 236
               7   Chataigne                           0x0000000102a9c050 _ZN26GenericControllableCommand15triggerInternalEi + 1032
               8   Chataigne                           0x0000000102785050 _ZN18ConsequenceManager10triggerAllEi + 204
               9   Chataigne                           0x0000000102770004 _ZN6Action19triggerConsequencesEbi + 104
               10  Chataigne                           0x000000010276f768 _ZN6Action27onContainerTriggerTriggeredEP7Trigger + 220
               11  Chataigne                           0x0000000102faf1a8 _ZThn24_N21ControllableContainer16triggerTriggeredEP7Trigger + 68
               12  Chataigne                           0x000000010309bf18 _ZN7Trigger7triggerEv + 456
               13  Chataigne                           0x0000000102784c78 _ZN26ConsequenceStaggerLauncher3runEv + 1244
               14  Chataigne                           0x0000000102d9d9cc _ZZN4juce6Thread18createNativeThreadENS0_8PriorityEEN4$_288__invokeEPv + 492
               15  libsystem_pthread.dylib             0x00000001929afc0c _pthread_start + 136
               16  libsystem_pthread.dylib             0x00000001929aab80 thread_start + 8

To Reproduce
I just keep cycling through my Cues. Appears to be "random", or a timing issue.

Let me know if I should attach my noisette.

Expected Behaviour
No crashes.

Additional Context
As a software developer I'm willing to debug myself, but I can't get the project to compile under Xcode and wasn't able to find any documentation describing how to configure my environment. I'm willing to contribute to the debugging if I could get to a point were I could successfully compile.

I've used Chataigne for a community theatre production last year and it was rock solid. This time my noisette is more complex as I understand it better and our automation requirements are more demanding. It's great software, I'm likely (hopefully) just doing something wrong?

Any suggestions are very much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions