We’ve been getting reports of random crashes on ARM macOS13 (sometimes after hours of inactivity, which is very annoying to debug of course!). This seems to be a crash on the JUCE Timer thread when taking a lock via pthread_mutex_lock(). See the JSON crash fragment below.
This seems to be similar to this one:
https://discussions.apple.com/thread/254536452?answerId=258479254022#258479254022
…which is not what what the post says about NI plugins but the JUCE Timer thread in a “bettermaker” plugin. There appear to be two JUCE Timer threads in that one FWIW.
Anyone got any ideas or seing similar?
Our crash fragment:
{
"triggered" : true,
"id" : 22680,
"name" : "JUCE Timer",
"threadState" : {
"x" : [
{
"value" : 0
},
{
"value" : 4588586352
},
{
"value" : 257
},
{
"value" : 74995457
},
{
"value" : 322101931431974660
},
{
"value" : 74995457
},
{
"value" : 0
},
{
"value" : 299998875
},
{
"value" : 11124867072
},
{
"value" : 4254010488855810
},
{
"value" : 4254010488855808
},
{
"value" : 4254010488855810
},
{
"value" : 4254010488855810
},
{
"value" : 4254010488855808
},
{
"value" : 256
},
{
"value" : 0
},
{
"value" : 6820226380,
"symbolLocation" : 0,
"symbol" : "pthread_mutex_lock"
},
{
"value" : 8430363264
},
{
"value" : 0
},
{
"value" : 0
},
{
"value" : 4588586352
},
{
"value" : 11051760528
},
{
"value" : 11124928256
},
{
"value" : 16115560
},
{
"value" : 16115560
},
{
"value" : 1
},
{
"value" : 11124924416
},
{
"value" : 4294967295
},
{
"value" : 100
}
],
"flavor" : "ARM_THREAD_STATE64",
"lr" : {
"value" : 9946622000622467000
},
"cpsr" : {
"value" : 1610616832
},
"fp" : {
"value" : 11439566512
},
"sp" : {
"value" : 11439566512
},
"esr" : {
"value" : 2449473542,
"description" : "(Data Abort) byte read Translation fault"
},
"pc" : {
"value" : 6820226392,
"matchesCrashFrame" : 1
},
"far" : {
"value" : 0
}
},
"frames" : [
{
"imageOffset" : 5464,
"symbol" : "pthread_mutex_lock",
"symbolLocation" : 12,
"imageIndex" : 19
},
{
"imageOffset" : 10369040,
"imageIndex" : 3
},
{
"imageOffset" : 10721176,
"imageIndex" : 3
},
{
"imageOffset" : 10726144,
"imageIndex" : 3
},
{
"imageOffset" : 10199160,
"imageIndex" : 3
},
{
"imageOffset" : 10374332,
"imageIndex" : 3
},
{
"imageOffset" : 28584,
"symbol" : "_pthread_start",
"symbolLocation" : 148,
"imageIndex" : 19
},
{
"imageOffset" : 7584,
"symbol" : "thread_start",
"symbolLocation" : 8,
"imageIndex" : 19
}
]
}
