Quelea 2021.0 crashing after Mac Monterey upgrade

After upgrading MacOS to Monterey, Quelea has become very unstable. If it fully launches it can crash after importing a song, bible adding a song to a schedule, opening a schedule or saving one, going live etc. All very random, but now unusable.
Crash log below was created whilst trying to import a song pack (character limit meant only first part of log attached).

Translated Report (Full Report Below)

Process: Quelea [39167]
Path: /Applications/Quelea.app/Contents/MacOS/Quelea
Identifier: org.quelea.windows.main
Version: 1.0 (???)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2021-12-15 10:40:32.3464 +0000
OS Version: macOS 12.1 (21C52)
Report Version: 12
Anonymous UUID: 01CFE9CE-E1FD-476B-9088-B6DA66FE4A1B

Time Awake Since Boot: 6400 seconds

System Integrity Protection: enabled

Crashed Thread: 17 Java: Thread-2

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff818ecdaba mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7ff818ecde2b mach_msg + 59
2 CoreFoundation 0x7ff818fd1af2 __CFRunLoopServiceMachPort + 319
3 CoreFoundation 0x7ff818fd01cb __CFRunLoopRun + 1325
4 CoreFoundation 0x7ff818fcf5dd CFRunLoopRunSpecific + 563
5 HIToolbox 0x7ff821c024f1 RunCurrentEventLoopInMode + 292
6 HIToolbox 0x7ff821c02247 ReceiveNextEventCommon + 587
7 HIToolbox 0x7ff821c01fe5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
8 AppKit 0x7ff81b9feb4c _DPSNextEvent + 886
9 AppKit 0x7ff81b9fd1b8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
10 AppKit 0x7ff81b9ef5a9 -[NSApplication run] + 586
11 libglass.dylib 0x10cf66779 -[GlassApplication runLoop:] + 1817
12 Foundation 0x7ff819e57af3 __NSThreadPerformPerform + 179
13 CoreFoundation 0x7ff818fd18fd CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
14 CoreFoundation 0x7ff818fd1865 __CFRunLoopDoSource0 + 180
15 CoreFoundation 0x7ff818fd15e4 __CFRunLoopDoSources0 + 242
16 CoreFoundation 0x7ff818fd001b __CFRunLoopRun + 893
17 CoreFoundation 0x7ff818fcf5dd CFRunLoopRunSpecific + 563
18 CoreFoundation 0x7ff81905762e CFRunLoopRun + 40
19 Quelea 0x10a92d33b std::__1::__function::__func<main::$_0, std::__1::allocatormain::$_0, void (std::__1::function<void* (void*)>, JavaVMInitArgs const&)>::operator()(std::__1::function<void* (void*)>&&, JavaVMInitArgs const&) + 667
20 Quelea 0x10a92ef3e launchJavaVM + 2830
21 Quelea 0x10a92c780 main + 64
22 Quelea 0x10a92c6c4 start + 52

Thread 1:
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc731 Parker::park(bool, long) + 651
3 libjvm.dylib 0x10bdc8fc4 Unsafe_Park + 148
4 ??? 0x10f0186c7 ???
5 ??? 0x10f0082bd ???
6 ??? 0x10f0082bd ???
7 ??? 0x10f007a90 ???
8 ??? 0x10f0082bd ???
9 ??? 0x10f0082bd ???
10 ??? 0x10f0082bd ???
11 ??? 0x10f0082bd ???
12 ??? 0x10f0082bd ???
13 ??? 0x10f0082bd ???
14 ??? 0x10f0007a7 ???
15 libjvm.dylib 0x10bb1d599 JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1905
16 libjvm.dylib 0x10bb4e62f jni_invoke_static(JNIEnv
, JavaValue, _jobject*, JNICallType, jmethodID*, JNI_ArgumentPusher*, Thread*) + 633
17 libjvm.dylib 0x10bb51ea4 jni_CallStaticVoidMethodV + 371
18 Quelea 0x10a935786 JNIEnv
::CallStaticVoidMethod(_jclass*, _jmethodID*, …) + 134
19 Quelea 0x10a934d7b std::__1::__function::__func<launchJavaVM::$_0, std::__1::allocatorlaunchJavaVM::$_0, void* (void*)>::operator()(void*&&) + 5403
20 Quelea 0x10a92c732 launchVM(void*) + 34
21 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
22 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 2:
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcb50fa ParkCommon(ParkEvent*, long) + 59
4 libjvm.dylib 0x10bcb5460 Monitor::IWait(Thread*, long) + 294
5 libjvm.dylib 0x10bcb589f Monitor::wait(bool, long, bool) + 121
6 libjvm.dylib 0x10baaa57a GCTaskManager::get_task(unsigned int) + 68
7 libjvm.dylib 0x10baab4c8 GCTaskThread::run() + 236
8 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
9 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 3:
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcb50fa ParkCommon(ParkEvent*, long) + 59
4 libjvm.dylib 0x10bcb5460 Monitor::IWait(Thread*, long) + 294
5 libjvm.dylib 0x10bcb589f Monitor::wait(bool, long, bool) + 121
6 libjvm.dylib 0x10baaa57a GCTaskManager::get_task(unsigned int) + 68
7 libjvm.dylib 0x10baab4c8 GCTaskThread::run() + 236
8 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
9 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 4:
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcb50fa ParkCommon(ParkEvent*, long) + 59
4 libjvm.dylib 0x10bcb5460 Monitor::IWait(Thread*, long) + 294
5 libjvm.dylib 0x10bcb589f Monitor::wait(bool, long, bool) + 121
6 libjvm.dylib 0x10baaa57a GCTaskManager::get_task(unsigned int) + 68
7 libjvm.dylib 0x10baab4c8 GCTaskThread::run() + 236
8 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
9 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 5:
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcb50fa ParkCommon(ParkEvent*, long) + 59
4 libjvm.dylib 0x10bcb5460 Monitor::IWait(Thread*, long) + 294
5 libjvm.dylib 0x10bcb589f Monitor::wait(bool, long, bool) + 121
6 libjvm.dylib 0x10baaa57a GCTaskManager::get_task(unsigned int) + 68
7 libjvm.dylib 0x10baab4c8 GCTaskThread::run() + 236
8 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
9 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 6:
0 libjvm.dylib 0x10bd32880 SafepointSynchronize::begin() + 658
1 libjvm.dylib 0x10bdee8c4 VMThread::loop() + 870
2 libjvm.dylib 0x10bdee452 VMThread::run() + 116
3 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
4 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
5 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 7:: Java: Reference Handler
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcce83e ObjectMonitor::wait(long, bool, Thread*) + 746
4 libjvm.dylib 0x10bd83e4e ObjectSynchronizer::wait(Handle, long, Thread*) + 246
5 libjvm.dylib 0x10bb7d873 JVM_MonitorWait + 327
6 ??? 0x1101313e8 ???
7 ??? 0x1102fcaec ???

Thread 8:: Java: Finalizer
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcce83e ObjectMonitor::wait(long, bool, Thread*) + 746
4 libjvm.dylib 0x10bd83e4e ObjectSynchronizer::wait(Handle, long, Thread*) + 246
5 libjvm.dylib 0x10bb7d873 JVM_MonitorWait + 327
6 ??? 0x1101313e8 ???
7 ??? 0x10f5f77a4 ???

Thread 9:: Java: Signal Dispatcher
0 libsystem_kernel.dylib 0x7ff818ecdaf6 semaphore_wait_trap + 10
1 libjvm.dylib 0x10bcd9618 check_pending_signals(bool) + 146
2 libjvm.dylib 0x10bcd4daf signal_thread_entry(JavaThread*, Thread*) + 57
3 libjvm.dylib 0x10bdad3f2 JavaThread::thread_main_inner() + 130
4 libjvm.dylib 0x10bdad2b7 JavaThread::run() + 413
5 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
6 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Thread 10:: Java: C2 CompilerThread0
0 libsystem_kernel.dylib 0x7ff818ed0506 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff818f0aa69 _pthread_cond_wait + 1224
2 libjvm.dylib 0x10bcdc415 os::PlatformEvent::park() + 181
3 libjvm.dylib 0x10bcb50fa ParkCommon(ParkEvent*, long) + 59
4 libjvm.dylib 0x10bcb5088 Monitor::ILock(Thread*) + 270
5 libjvm.dylib 0x10bcb565f Monitor::lock_without_safepoint_check() + 39
6 libjvm.dylib 0x10bd33402 SafepointSynchronize::block(JavaThread*) + 372
7 libjvm.dylib 0x10bdaebf3 JavaThread::check_safepoint_and_suspend_for_native_trans(JavaThread*) + 215
8 libjvm.dylib 0x10b9a0932 ciMethod::break_at_execute() + 160
9 libjvm.dylib 0x10bce299e Compile::Output() + 454
10 libjvm.dylib 0x10b9e667b Compile::Code_Gen() + 613
11 libjvm.dylib 0x10b9e4f96 Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool) + 2298
12 libjvm.dylib 0x10b98089e C2Compiler::compile_method(ciEnv*, ciMethod*, int) + 158
13 libjvm.dylib 0x10b9f135e CompileBroker::invoke_compiler_on_method(CompileTask*) + 1614
14 libjvm.dylib 0x10b9f0835 CompileBroker::compiler_thread_loop() + 619
15 libjvm.dylib 0x10bdad3f2 JavaThread::thread_main_inner() + 130
16 libjvm.dylib 0x10bdad2b7 JavaThread::run() + 413
17 libjvm.dylib 0x10bcd8329 java_start(Thread*) + 250
18 libsystem_pthread.dylib 0x7ff818f0a4f4 _pthread_start + 125
19 libsystem_pthread.dylib 0x7ff818f0600f thread_start + 15

Afraid this looks to be a crash deep within the JVM itself, so unlikely to be an issue in the Quelea code directly. Have you tried the 2022.0 beta release, and does that make any difference?

sadly no, for the 2022 beta, whilst better, still crashes out when you try an do something like add a bible, edit a song (typically on save) or even just add a song to a schedule. Tried completely removing Quelea (including from library etc) and reinstalling but to no avail.

1 Like

Same error with 2022.0 version on Monterey 12.1 with Java 8 version 351

2022 has a base of Java 11 - are you definitely running with Java 8?

Should be able to check in help ->about.