Useless piece of software. Continually crashes.

• Jul 23, 2024 - 19:25

Musescore 4 constantly crashes on start up. Doesn't matter which score or .mid file I open; it never works. Apple Mac Mini M2 32gb Ram, macOS Sonoma 14.5.
Beginning of crash report:


Translated Report (Full Report Below)

Process: mscore [1279]
Path: /Applications/MuseScore 4.app/Contents/MacOS/mscore
Identifier: org.musescore.MuseScore
Version: 4.3.2 (241630832)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-07-23 19:20:55.1497 +0100
OS Version: macOS 14.5 (23F79)
Report Version: 12
Anonymous UUID: 54B7BA4E-101F-DED3-723F-3BD89C295211

Time Awake Since Boot: 410 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x11939C1E4)

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Codes: 0x0000000000000001, 0x0000000000000018

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [1279]

VM Region Info: 0x18 is not in any region. Bytes before following region: 4376788968
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 104e08000-107d74000 [ 47.4M] r-x/r-x SM=COW /Applications/MuseScore 4.app/Contents/MacOS/mscore

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x11939C1E4)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x11939c1e4 QPlatformWindow::window() const + 4
1 libqcocoa.dylib 0x116ed1204 0x116e98000 + 233988
2 AppKit 0x7ff806fe4d7c -[NSTextInputContext(NSInputContext_WithCompletion) selectedRangeWithCompletionHandler:] + 93
3 AppKit 0x7ff806ecb992 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1622
4 AppKit 0x7ff806ecb2cd _NSTSMEventHandler + 299
5 HIToolbox 0x7ff80e5d0573 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1364
6 HIToolbox 0x7ff80e5cf9bf SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 336
7 HIToolbox 0x7ff80e5cf85e SendEventToEventTargetWithOptions + 45
8 HIToolbox 0x7ff80e628de1 SendTSMEvent_WithCompletionHandler + 388
9 HIToolbox 0x7ff80e781620 SendTextInputEvent_WithCompletionHandler_block_invoke + 511
10 HIToolbox 0x7ff80e77ff68 SendTextInputEvent_WithCompletionHandler + 1046
11 HIToolbox 0x7ff80e7e21cd -[IMKInputSession _postEvent:completionHandler:] + 156
12 HIToolbox 0x7ff80e7f495f -[IMKInputSession selectedRange_withCompletionHandler:] + 285
13 HIToolbox 0x7ff80e7e2a6f __49-[IMKInputSession imkxpc_selectedRangeWithReply:]_block_invoke + 459
14 HIToolbox 0x7ff80e7d1c3c __87+[IMKInputSession IMKXPCPerformBlockOnMainThreadInMode:performHow:callerCmd:workBlock:]_block_invoke + 103
15 CoreFoundation 0x7ff80370540e __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK
+ 12
16 CoreFoundation 0x7ff803705347 CFRunLoopDoBlocks + 396
17 CoreFoundation 0x7ff8037041a6 __CFRunLoopRun + 901
18 CoreFoundation 0x7ff803703859 CFRunLoopRunSpecific + 557
19 HIToolbox 0x7ff80e7d08e4 -[IMKInputSessionXPCInvocation runPrivateRunloopWithTimeLimit_0_innerRunLoop0:] + 102
20 HIToolbox 0x7ff80e63976f -[IMKInputSessionXPCInvocation invocationAwaitXPCReply] + 235
21 HIToolbox 0x7ff80e633de9 -[IMKInputSession activate] + 1927
22 HIToolbox 0x7ff80e633654 IMKInputSessionActivate + 36
23 HIToolbox 0x7ff80e633620 ActivateInputMethodInstance + 58
24 HIToolbox 0x7ff80e632180 utOpenActivateSelectedInputMethodInDoc + 384
25 HIToolbox 0x7ff80e631ff0 utOpenActivateAllSelectedIMInDocIterator + 21
26 CoreFoundation 0x7ff8036c8748 CFArrayApplyFunction + 62
27 HIToolbox 0x7ff80e6122b3 utOpenActivateAllSelectedIMInDoc + 179
28 HIToolbox 0x7ff80e609b28 MyActivateTSMDocument + 2069
29 AppKit 0x7ff806eb0979 -[NSTextInputContext activate] + 464
30 AppKit 0x7ff806cdb745 +[NSTextInputContext currentInputContext_withFirstResponderSync:] + 341
31 AppKit 0x7ff806cdb0fc -[NSApplication updateWindows] + 100
32 AppKit 0x7ff8071a5b51 __38-[NSApplication setWindowsNeedUpdate:]_block_invoke_2 + 51
33 AppKit 0x7ff8071aaf17 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
34 CoreFoundation 0x7ff803704ccc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION
+ 23
35 CoreFoundation 0x7ff803704bf1 __CFRunLoopDoObservers + 493
36 CoreFoundation 0x7ff803704173 __CFRunLoopRun + 850
37 CoreFoundation 0x7ff803703859 CFRunLoopRunSpecific + 557
38 HIToolbox 0x7ff80e5f6a09 RunCurrentEventLoopInMode + 292
39 HIToolbox 0x7ff80e5f6646 ReceiveNextEventCommon + 201
40 HIToolbox 0x7ff80e5f6561 _BlockUntilNextEventMatchingListInModeWithFilter + 66
41 AppKit 0x7ff806cd5c61 _DPSNextEvent + 880
42 AppKit 0x7ff8075e9dc0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1273
43 AppKit 0x7ff806cc7075 -[NSApplication run] + 603
44 libqcocoa.dylib 0x116ed6c9c 0x116e98000 + 257180
45 QtCore 0x11a440306 QEventLoop::exec(QFlags) + 502
46 QtCore 0x11a443d82 QCoreApplication::exec() + 130
47 mscore 0x104e28ca1 mu::app::App::run(int, char**) + 6337
48 mscore 0x104e14fdd main + 2333
49 dyld 0x2087b1366 start + 1942

Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffe8c494 0x7ff7ffe88000 +


Comments

Hello! The reason that this was taking us so long to solve is that we can't reproduce it ourselves, so can't investigate what's happening. But after some literature research, we recently finally found a solution.

This fix can be found here: https://github.com/musescore/MuseScore/pull/24095.
It would be great if you could test it. Instructions how to do this can be found here: https://github.com/musescore/MuseScore/wiki/Downloading-and-running-tes…

Thanks in advance!

Do you still have an unanswered question? Please log in first to post your question.