Picard crashes when open preferences with Spanish UI language on macOS

I have a long time problem with PIcard and the latest versions of macOS. When I open preferences, the window closes and this log appears to report the error. I think I’ve done this a few times but it hasn’t been fixed with updates.

I have tried deleting the *ini. files in .config, deleted options in Library and giving read/write permissions to staff and everyone to the Music Brainz folder in .config, and uninstall / reinstall.

See if anyone can help me identify the problem. Thanks in advance.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               picard-run [8649]
Path:                  /Applications/MusicBrainz Picard.app/Contents/MacOS/picard-run
Identifier:            org.musicbrainz.Picard
Version:               2.7.1 (2.7.1)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2021-12-23 16:17:47.0315 +0100
OS Version:            macOS 12.1 (21C52)
Report Version:        12
Anonymous UUID:        055EE7A7-7707-A5A5-B4BF-2E4D9BB0F476


Time Awake Since Boot: 10000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00007ff000000000
Exception Codes:       0x0000000000000001, 0x00007ff000000000
Exception Note:        EXC_CORPSE_NOTIFY

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

VM Region Info: 0x7ff000000000 is not in any region.  Bytes after previous region: 17523214606337  Bytes before following region: 829423616
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      Stack                    70000efc8000-70000f04a000 [  520K] rw-/rwx SM=PRV  thread 17
--->  GAP OF 0xff0226b6000 BYTES
      MALLOC_TINY              7ff031700000-7ff031800000 [ 1024K] rw-/rwx SM=PRV  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Python                        	       0x1066d64d3 pymalloc_alloc + 67
1   Python                        	       0x1066d4281 _PyObject_Malloc + 17
2   Python                        	       0x1066b2061 PyLong_FromLong + 257
3   sip.cpython-39-darwin.so      	       0x10654cf94 sip_api_keep_reference + 132
4   QtWidgets.abi3.so             	       0x10a8a3743 meth_QLabel_setBuddy(_object*, _object*) + 131
5   Python                        	       0x1066cdb1d cfunction_call + 125
6   Python                        	       0x10668ea5d _PyObject_MakeTpCall + 365
7   Python                        	       0x1067670dc call_function + 876
8   Python                        	       0x106764573 _PyEval_EvalFrameDefault + 25219
9   Python                        	       0x10668f228 function_code_fastcall + 104
10  Python                        	       0x10676704c call_function + 732
11  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
12  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
13  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
14  Python                        	       0x10668e8b5 _PyObject_FastCallDictTstate + 293
15  Python                        	       0x10668f498 _PyObject_Call_Prepend + 152
16  Python                        	       0x1066e8e75 slot_tp_init + 165
17  Python                        	       0x1066e43c9 type_call + 345
18  Python                        	       0x10668ea5d _PyObject_MakeTpCall + 365
19  Python                        	       0x1067670dc call_function + 876
20  Python                        	       0x10676460b _PyEval_EvalFrameDefault + 25371
21  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
22  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
23  Python                        	       0x10668e8b5 _PyObject_FastCallDictTstate + 293
24  Python                        	       0x10668f498 _PyObject_Call_Prepend + 152
25  Python                        	       0x1066e8e75 slot_tp_init + 165
26  Python                        	       0x1066e43c9 type_call + 345
27  Python                        	       0x10668efac _PyObject_Call + 140
28  Python                        	       0x106764c83 _PyEval_EvalFrameDefault + 27027
29  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
30  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
31  Python                        	       0x106691359 method_vectorcall + 441
32  Python                        	       0x106764c83 _PyEval_EvalFrameDefault + 27027
33  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
34  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
35  Python                        	       0x10669126a method_vectorcall + 202
36  Python                        	       0x10676704c call_function + 732
37  Python                        	       0x106764573 _PyEval_EvalFrameDefault + 25219
38  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
39  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
40  Python                        	       0x106691359 method_vectorcall + 441
41  QtCore.abi3.so                	       0x106e24a37 PyQtSlot::call(_object*, _object*) const + 39
42  QtCore.abi3.so                	       0x106e24946 PyQtSlot::invoke(void**, _object*, void*, bool) const + 374
43  QtCore.abi3.so                	       0x106e25535 PyQtSlotProxy::unislot(void**) + 85
44  QtCore.abi3.so                	       0x106e254aa PyQtSlotProxy::qt_metacall(QMetaObject::Call, int, void**) + 58
45  QtCore                        	       0x1078c7f6e void doActivate<false>(QObject*, int, void**) + 1118
46  QtWidgets                     	       0x10ac633c6 QAction::activate(QAction::ActionEvent) + 310
47  QtCore                        	       0x1078bfb9f QObject::event(QEvent*) + 943
48  QtWidgets.abi3.so             	       0x10a8201df sipQAction::event(QEvent*) + 191
49  QtWidgets                     	       0x10ac6c9ea QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266
50  QtWidgets                     	       0x10ac6de11 QApplication::notify(QObject*, QEvent*) + 497
51  QtWidgets.abi3.so             	       0x10a81edb9 sipQApplication::notify(QObject*, QEvent*) + 233
52  QtCore                        	       0x107894a34 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212
53  QtCore                        	       0x107895d79 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 809
54  libqcocoa.dylib               	       0x10c341259 QCocoaEventDispatcherPrivate::processPostedEvents() + 313
55  libqcocoa.dylib               	       0x10c3419c8 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
56  CoreFoundation                	    0x7ff8191a48fd __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
57  CoreFoundation                	    0x7ff8191a4865 __CFRunLoopDoSource0 + 180
58  CoreFoundation                	    0x7ff8191a45e4 __CFRunLoopDoSources0 + 242
59  CoreFoundation                	    0x7ff8191a301b __CFRunLoopRun + 893
60  CoreFoundation                	    0x7ff8191a25dd CFRunLoopRunSpecific + 563
61  HIToolbox                     	    0x7ff821dd54f1 RunCurrentEventLoopInMode + 292
62  HIToolbox                     	    0x7ff821dd5118 ReceiveNextEventCommon + 284
63  HIToolbox                     	    0x7ff821dd4fe5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
64  AppKit                        	    0x7ff81bbd1b4c _DPSNextEvent + 886
65  AppKit                        	    0x7ff81bbd01b8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411
66  AppKit                        	    0x7ff81bbc25a9 -[NSApplication run] + 586
67  libqcocoa.dylib               	       0x10c34062f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2495
68  QtCore                        	       0x107890acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
69  QtCore                        	       0x107895042 QCoreApplication::exec() + 130
70  QtWidgets.abi3.so             	       0x10a910702 meth_QApplication_exec_(_object*, _object*) + 82
71  Python                        	       0x1066cdb1d cfunction_call + 125
72  Python                        	       0x10668ea5d _PyObject_MakeTpCall + 365
73  Python                        	       0x1067670dc call_function + 876
74  Python                        	       0x106764573 _PyEval_EvalFrameDefault + 25219
75  Python                        	       0x10668f228 function_code_fastcall + 104
76  Python                        	       0x10669126a method_vectorcall + 202
77  Python                        	       0x10676704c call_function + 732
78  Python                        	       0x106764573 _PyEval_EvalFrameDefault + 25219
79  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
80  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
81  Python                        	       0x10676704c call_function + 732
82  Python                        	       0x10676460b _PyEval_EvalFrameDefault + 25371
83  Python                        	       0x106767d43 _PyEval_EvalCode + 2611
84  Python                        	       0x10675e1cb PyEval_EvalCode + 139
85  picard-run                    	       0x105e04ab9 0x105e00000 + 19129
86  picard-run                    	       0x105e050d7 0x105e00000 + 20695
87  dyld                          	       0x10ed0f4fe start + 462

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff8190d8fec start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff8190d8fec start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff8190d8fec start_wqthread + 0

Thread 4:: QDBusConnectionManager
0   libsystem_kernel.dylib        	    0x7ff8190a71ae poll + 10
1   QtCore                        	       0x1078f7220 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 608
2   QtCore                        	       0x1078f8a21 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
3   QtCore                        	       0x107890acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
4   QtCore                        	       0x1076bd603 QThread::exec() + 131
5   QtDBus                        	       0x109a87ce3 QDBusConnectionManager::run() + 19
6   QtCore                        	       0x1076be619 QThreadPrivate::start(void*) + 329
7   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 5:
0   libsystem_pthread.dylib       	    0x7ff8190d8fec start_wqthread + 0

Thread 6:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	    0x7ff8190a8e4a __select + 10
1   CoreFoundation                	    0x7ff8191cbecd __CFSocketManager + 630
2   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
3   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 7:: Qt bearer thread
0   libsystem_kernel.dylib        	    0x7ff8190a71ae poll + 10
1   QtCore                        	       0x1078f701a qt_safe_poll(pollfd*, unsigned int, timespec const*) + 90
2   QtCore                        	       0x1078f8a21 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 849
3   QtCore                        	       0x107890acf QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
4   QtCore                        	       0x1076bd603 QThread::exec() + 131
5   QtCore                        	       0x1076be619 QThreadPrivate::start(void*) + 329
6   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 8:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8190a3506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8190dda69 _pthread_cond_wait + 1224
2   QtCore                        	       0x1076c6aaf QWaitConditionPrivate::wait_relative(QDeadlineTimer) + 303
3   QtCore                        	       0x1076c677e QWaitConditionPrivate::wait(QDeadlineTimer) + 94
4   QtCore                        	       0x1076c669d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
5   QtCore                        	       0x1076c2ccd QThreadPoolThread::run() + 605
6   QtCore                        	       0x1076be619 QThreadPrivate::start(void*) + 329
7   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 9:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8190a3506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8190dda69 _pthread_cond_wait + 1224
2   QtCore                        	       0x1076c6aaf QWaitConditionPrivate::wait_relative(QDeadlineTimer) + 303
3   QtCore                        	       0x1076c677e QWaitConditionPrivate::wait(QDeadlineTimer) + 94
4   QtCore                        	       0x1076c669d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
5   QtCore                        	       0x1076c2ccd QThreadPoolThread::run() + 605
6   QtCore                        	       0x1076be619 QThreadPrivate::start(void*) + 329
7   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 10:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8190a3506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8190dda69 _pthread_cond_wait + 1224
2   QtCore                        	       0x1076c6aaf QWaitConditionPrivate::wait_relative(QDeadlineTimer) + 303
3   QtCore                        	       0x1076c677e QWaitConditionPrivate::wait(QDeadlineTimer) + 94
4   QtCore                        	       0x1076c669d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
5   QtCore                        	       0x1076c2ccd QThreadPoolThread::run() + 605
6   QtCore                        	       0x1076be619 QThreadPrivate::start(void*) + 329
7   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 11:: Thread (pooled)
0   libsystem_kernel.dylib        	    0x7ff8190a3506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8190dda69 _pthread_cond_wait + 1224
2   QtCore                        	       0x1076c6aaf QWaitConditionPrivate::wait_relative(QDeadlineTimer) + 303
3   QtCore                        	       0x1076c677e QWaitConditionPrivate::wait(QDeadlineTimer) + 94
4   QtCore                        	       0x1076c669d QWaitCondition::wait(QMutex*, QDeadlineTimer) + 93
5   QtCore                        	       0x1076c2ccd QThreadPoolThread::run() + 605
6   QtCore                        	       0x1076be619 QThreadPrivate::start(void*) + 329
7   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 12:
0   libsystem_kernel.dylib        	    0x7ff8190a3506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8190dda69 _pthread_cond_wait + 1224
2   Python                        	       0x1067bd916 PyThread_acquire_lock_timed + 454
3   _queue.cpython-39-darwin.so   	       0x1063f757e _queue_SimpleQueue_get_impl + 526
4   _queue.cpython-39-darwin.so   	       0x1063f7126 _queue_SimpleQueue_get + 198
5   Python                        	       0x1066cd3d4 cfunction_vectorcall_FASTCALL_KEYWORDS + 132
6   Python                        	       0x10676704c call_function + 732
7   Python                        	       0x1067646a1 _PyEval_EvalFrameDefault + 25521
8   Python                        	       0x10668f228 function_code_fastcall + 104
9   Python                        	       0x106764c83 _PyEval_EvalFrameDefault + 27027
10  Python                        	       0x10668f228 function_code_fastcall + 104
11  Python                        	       0x10676704c call_function + 732
12  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
13  Python                        	       0x10668f228 function_code_fastcall + 104
14  Python                        	       0x10676704c call_function + 732
15  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
16  Python                        	       0x10668f228 function_code_fastcall + 104
17  Python                        	       0x1066912b2 method_vectorcall + 274
18  Python                        	       0x10680c176 t_bootstrap + 70
19  Python                        	       0x1067bd569 pythread_wrapper + 25
20  libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
21  libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 13:
0   libsystem_kernel.dylib        	    0x7ff8190a3506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8190dda69 _pthread_cond_wait + 1224
2   Python                        	       0x1067bd916 PyThread_acquire_lock_timed + 454
3   _queue.cpython-39-darwin.so   	       0x1063f757e _queue_SimpleQueue_get_impl + 526
4   _queue.cpython-39-darwin.so   	       0x1063f7126 _queue_SimpleQueue_get + 198
5   Python                        	       0x1066cd3d4 cfunction_vectorcall_FASTCALL_KEYWORDS + 132
6   Python                        	       0x10676704c call_function + 732
7   Python                        	       0x1067646a1 _PyEval_EvalFrameDefault + 25521
8   Python                        	       0x10668f228 function_code_fastcall + 104
9   Python                        	       0x106764c83 _PyEval_EvalFrameDefault + 27027
10  Python                        	       0x10668f228 function_code_fastcall + 104
11  Python                        	       0x10676704c call_function + 732
12  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
13  Python                        	       0x10668f228 function_code_fastcall + 104
14  Python                        	       0x10676704c call_function + 732
15  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
16  Python                        	       0x10668f228 function_code_fastcall + 104
17  Python                        	       0x1066912b2 method_vectorcall + 274
18  Python                        	       0x10680c176 t_bootstrap + 70
19  Python                        	       0x1067bd569 pythread_wrapper + 25
20  libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
21  libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 14:
0   libsystem_kernel.dylib        	    0x7ff8190a71ae poll + 10
1   select.cpython-39-darwin.so   	       0x106304802 select_poll_poll + 482
2   Python                        	       0x10669786e method_vectorcall_FASTCALL + 302
3   Python                        	       0x10676704c call_function + 732
4   Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
5   Python                        	       0x106767d43 _PyEval_EvalCode + 2611
6   Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
7   Python                        	       0x10676704c call_function + 732
8   Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
9   Python                        	       0x106767d43 _PyEval_EvalCode + 2611
10  Python                        	       0x10668f1b1 _PyFunction_Vectorcall + 289
11  Python                        	       0x1066912b2 method_vectorcall + 274
12  Python                        	       0x106764c83 _PyEval_EvalFrameDefault + 27027
13  Python                        	       0x10668f228 function_code_fastcall + 104
14  Python                        	       0x10676704c call_function + 732
15  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
16  Python                        	       0x10668f228 function_code_fastcall + 104
17  Python                        	       0x10676704c call_function + 732
18  Python                        	       0x106764552 _PyEval_EvalFrameDefault + 25186
19  Python                        	       0x10668f228 function_code_fastcall + 104
20  Python                        	       0x1066912b2 method_vectorcall + 274
21  Python                        	       0x10680c176 t_bootstrap + 70
22  Python                        	       0x1067bd569 pythread_wrapper + 25
23  libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
24  libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15

Thread 15:
0   libsystem_pthread.dylib       	    0x7ff8190d8fec start_wqthread + 0

Thread 16:
0   libsystem_pthread.dylib       	    0x7ff8190d8fec start_wqthread + 0

Thread 17:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff8190a0aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8190a0e2b mach_msg + 59
2   CoreFoundation                	    0x7ff8191a4af2 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff8191a31cb __CFRunLoopRun + 1325
4   CoreFoundation                	    0x7ff8191a25dd CFRunLoopRunSpecific + 563
5   AppKit                        	    0x7ff81bd3fd98 _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff8190dd4f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff8190d900f thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007ff000000000  rbx: 0x0000000000000001  rcx: 0x00007ff048e14000  rdx: 0x00007ff048e0f000
  rdi: 0x000000000000001c  rsi: 0x000000000000001c  rbp: 0x00007ff7ba0fa510  rsp: 0x00007ff7ba0fa4e0
   r8: 0x0000000000002780   r9: 0x0000000000000020  r10: 0x00000000000007fb  r11: 0x0000000000000200
  r12: 0x0000000000000020  r13: 0x00007ff0629042c0  r14: 0x0000000000000002  r15: 0x00000001068d16b0
  rip: 0x00000001066d64d3  rfl: 0x0000000000010216  cr2: 0x00007ff000000000
  
Logical CPU:     3
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Binary Images:
       0x106652000 -        0x1068b7fff Python (*) <0a074696-9b2d-3279-9888-2dbf29011b8b> /Applications/MusicBrainz Picard.app/Contents/MacOS/Python
       0x106541000 -        0x106558fff sip.cpython-39-darwin.so (*) <262238da-9114-3032-aa7e-ca658e9e3b71> /Applications/MusicBrainz Picard.app/Contents/MacOS/PyQt5/sip.cpython-39-darwin.so
       0x10a6d4000 -        0x10a964fff QtWidgets.abi3.so (*) <9d893d18-53d8-3c59-80f1-3e37df41d246> /Applications/MusicBrainz Picard.app/Contents/MacOS/PyQt5/QtWidgets.abi3.so
       0x106cef000 -        0x106e4efff QtCore.abi3.so (*) <25123d5b-2beb-3770-9e88-422696c08a7d> /Applications/MusicBrainz Picard.app/Contents/MacOS/PyQt5/QtCore.abi3.so
       0x10769c000 -        0x107c0cfff QtCore (*) <c723812a-f7a5-3001-98d5-e60e8daa6ffb> /Applications/MusicBrainz Picard.app/Contents/MacOS/QtCore
       0x10ac5c000 -        0x10b0a2fff QtWidgets (*) <b432d666-dcab-320a-8496-78a67f554c0e> /Applications/MusicBrainz Picard.app/Contents/MacOS/QtWidgets
       0x10c307000 -        0x10c475fff libqcocoa.dylib (*) <d4ab240b-4535-3aec-b72b-5ffc4750e4e5> /Applications/MusicBrainz Picard.app/Contents/MacOS/PyQt5/Qt5/plugins/platforms/libqcocoa.dylib
    0x7ff819124000 -     0x7ff819626fff com.apple.CoreFoundation (6.9) <eab0e216-2a9e-31ce-9164-fdf3ebcf7bd3> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff821da3000 -     0x7ff82209afff com.apple.HIToolbox (2.1.1) <535dbc28-4d26-3609-86bb-5c40227b648c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7ff81bb93000 -     0x7ff81ca21fff com.apple.AppKit (6.9) <d23b9681-3764-3298-a716-fbb511dd5a7c> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x105e00000 -        0x105e0bfff org.musicbrainz.Picard (2.7.1) <8d8a2a13-a80a-3eaa-a514-c07adbe455e4> /Applications/MusicBrainz Picard.app/Contents/MacOS/picard-run
       0x10ed0a000 -        0x10ed75fff dyld (*) <cef5a27a-d50b-3020-af03-1734b19bc8c5> /usr/lib/dyld
    0x7ff8190d7000 -     0x7ff8190e2fff libsystem_pthread.dylib (*) <6c7561b4-4b92-3f45-921e-abe669299844> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8190a0000 -     0x7ff8190d6fff libsystem_kernel.dylib (*) <5aa1e5be-b5b8-3a02-9885-a8c99e0ca378> /usr/lib/system/libsystem_kernel.dylib
       0x109a84000 -        0x109ae3fff QtDBus (*) <f6c498cb-9925-350d-b597-6c3f102e09d5> /Applications/MusicBrainz Picard.app/Contents/MacOS/QtDBus
       0x1063f6000 -        0x1063f7fff _queue.cpython-39-darwin.so (*) <d6125191-ebf8-3e9e-aa83-52e897d6ea11> /Applications/MusicBrainz Picard.app/Contents/MacOS/lib-dynload/_queue.cpython-39-darwin.so
       0x106302000 -        0x106306fff select.cpython-39-darwin.so (*) <96e817d5-7f44-3a56-9df2-c334b7dfaff9> /Applications/MusicBrainz Picard.app/Contents/MacOS/lib-dynload/select.cpython-39-darwin.so
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG backing stores                 3840K        4 
CG image                           192K        5 
ColorSync                          232K       26 
CoreAnimation                      136K        8 
CoreGraphics                        12K        2 
CoreUI image data                 1668K       13 
Foundation                          80K        2 
Kernel Alloc Once                    8K        1 
MALLOC                           246.5M       50 
MALLOC guard page                   48K       10 
MALLOC_MEDIUM (reserved)         448.0M        4         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.1M       18 
Stack                             63.1M       18 
VM_ALLOCATE                        308K       16 
__DATA                            25.1M      467 
__DATA_CONST                      19.7M      229 
__DATA_DIRTY                      1016K      137 
__FONT_DATA                          4K        1 
__LINKEDIT                       660.9M       89 
__OBJC_RO                         81.8M        1 
__OBJC_RW                         3136K        2 
__TEXT                           344.8M      474 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                      409.1M       43 
shared memory                      768K       16 
===========                     =======  ======= 
TOTAL                              2.7G     1642 
TOTAL, minus reserved VM space     1.9G     1642 

Model: iMac18,3, BootROM 447.60.3.0.0, 4 processors, Quad-Core Intel Core i5, 3,5 GHz, 64 GB, SMC 2.41f2
Graphics: Radeon Pro 575, Radeon Pro 575, PCIe, 4 GB
Display: iMac, Retina 5K (5120 x 2880), Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 16 GB, DDR4 SO-DIMM, 2400 MHz, 0x859B, 0x435431364734534644383234412E433136464520
Memory Module: BANK 0/DIMM1, 16 GB, DDR4 SO-DIMM, 2400 MHz, 0x859B, 0x435431364734534644383234412E433136464244
Memory Module: BANK 1/DIMM0, 16 GB, DDR4 SO-DIMM, 2400 MHz, 0x859B, 0x435431364734534644383234412E433136464244
Memory Module: BANK 1/DIMM1, 16 GB, DDR4 SO-DIMM, 2400 MHz, 0x859B, 0x435431364734534644383234412E433136464844
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x16F), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt@135,0,0
PCI Card: ethernet, Ethernet Controller, Thunderbolt@132,0,0
PCI Card: pci1b21,1242, USB eXtensible Host Controller, Thunderbolt@133,0,0
PCI Card: pci1b73,1100, USB eXtensible Host Controller, Thunderbolt@134,0,0
Serial ATA Device: KINGSTON SHSS37A960G, 960,2 GB
USB Device: USB30Bus
USB Device: Card Reader
USB Device: USB30Bus
USB Device: CalDigit Thunderbolt 3 Audio
USB Device: USB31Bus
USB Device: USB30Bus
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: Elgato Wave:3
USB Device: Corsair Gaming M65 Pro RGB Mouse
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: External
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: ADI-2 DAC (51060692)
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: Rugged USB-C
USB Device: Drobo5C
Thunderbolt Bus: iMac, Apple Inc., 41.5
Thunderbolt Device: TS3 Plus, CalDigit, Inc., 1, 44.1

Thanks for the report. Could you try opening a terminal and run Picard from the command line via e.g.:

"/Applications/MusicBrainz Picard.app/Contents/MacOS/picard-run" --debug

The above assumes you have placed the Picard app in your standard Applications folder. If not please adapt the path accordingly.

When it is running please make it crash and report the complete output from the terminal here. Thanks!

3 Likes

Hello, Thank you for your reply. The command doesn’t work because of the quotation marks and the slash. This other one works: /Applications/MusicBrainz\ Picard.app/Contents/MacOS/picard-run --debug You can see a message from another user pointing out that the correct command is this one here:

This is the debug output in the terminal, is it correct?

┌[letra@iMac2017] [/dev/ttys000] [127]
└[~]>/Applications/MusicBrainz\ Picard.app/Contents/MacOS/picard-run --debug"/Applications/MusicBrainz\ Picard.app/Contents/MacOS/picard-run" --debug
    D: 03:50:54,947 tagger.__init__:228: Starting Picard from '/Applications/MusicBrainz Picard.app/Contents/MacOS/picard/tagger.pyc'
    D: 03:50:54,947 tagger.__init__:229: Platform: macOS-10.16-x86_64-i386-64bit CPython 3.9.8
    D: 03:50:54,947 tagger.__init__:231: Versions: Picard 2.7.1, Python 3.9.8, PyQt 5.15.4, Qt 5.15.2, Mutagen 1.45.1, Discid discid 1.2.0, libdiscid 0.6.2, astrcmp C, SSL Secure Transport, macOS 10.16
    D: 03:50:54,947 tagger.__init__:232: Configuration file path: '/Users/letra/.config/MusicBrainz/Picard.ini'
    D: 03:50:54,947 tagger.__init__:234: User directory: '/Users/letra/Library/Preferences/MusicBrainz/Picard'
    D: 03:50:54,950 i18n.setup_gettext:82: Using locale 'es_ES'
    D: 03:50:54,950 i18n.setup_gettext:84: Loading gettext translation, localedir='/Applications/MusicBrainz Picard.app/Contents/MacOS/locale'
    D: 03:50:54,954 i18n.setup_gettext:86: Loading gettext translation (picard-countries), localedir='/Applications/MusicBrainz Picard.app/Contents/MacOS/locale'
    D: 03:50:54,955 i18n.setup_gettext:88: Loading gettext translation (picard-attributes), localedir='/Applications/MusicBrainz Picard.app/Contents/MacOS/locale'
    D: 03:50:54,959 i18n.setup_gettext:107: _ = <bound method GNUTranslations.gettext of <gettext.GNUTranslations object at 0x7fc46062cc70>>
    D: 03:50:54,960 i18n.setup_gettext:108: N_ = <function <lambda> at 0x7fc460335790>
    D: 03:50:54,960 i18n.setup_gettext:109: ngettext = <bound method GNUTranslations.ngettext of <gettext.GNUTranslations object at 0x7fc46062cc70>>
    D: 03:50:54,960 i18n.setup_gettext:110: gettext_countries = <bound method GNUTranslations.gettext of <gettext.GNUTranslations object at 0x7fc46062cbb0>>
    D: 03:50:54,960 i18n.setup_gettext:111: gettext_attributes = <bound method GNUTranslations.gettext of <gettext.GNUTranslations object at 0x7fc46062cd60>>
    D: 03:50:54,960 i18n.setup_gettext:112: pgettext_attributes = <bound method GNUTranslations.pgettext of <gettext.GNUTranslations object at 0x7fc46062cd60>>
    D: 03:50:54,964 webservice/__init__._network_accessible_changed:365: Network accessible requested: 1, actual: 1
    D: 03:50:54,972 webservice/__init__.set_cache:387: NetworkDiskCache dir: '/Users/letra/Library/Caches/MusicBrainz/Picard/network/' current size: 2.7 kB max size: 100 MB
    I: 03:50:54,972 pluginmanager.load_plugins_from_directory:207: Plugin directory '/Applications/MusicBrainz Picard.app/Contents/MacOS/plugins' doesn't exist
    D: 03:50:54,973 pluginmanager.load_plugins_from_directory:219: Looking for plugins in directory '/Users/letra/Library/Preferences/MusicBrainz/Picard/plugins', 0 names found
    D: 03:50:54,984 ui/playertoolbar.__init__:90: Internal player: QtMultimedia available, initializing QMediaPlayer
    D: 03:50:54,992 ui/playertoolbar.__init__:97: Internal player: available, QMediaPlayer set up
    D: 03:50:55,216 tagger.main:1077: Looking for Qt locale es_ES in /Applications/MusicBrainz Picard.app/Contents/MacOS/PyQt5/Qt5/translations
    I: 03:50:55,220 browser/browser.start:121: Starting the browser integration (127.0.0.1:8000)
    D: 03:50:55,232 ui/mainwindow.auto_update_check:1559: Skipping start-up check for program updates.  Today: 2021-12-27, Last check: 2021-12-23 (Check interval: 7 days), Update level: 0 (stable)
    D: 03:50:55,240 config.event:254: Config file update requested on thread 4591564288
    [1]    3257 segmentation fault  /Applications/MusicBrainz\ Picard.app/Contents/MacOS/picard-run  --debug

Thank you very much for your help.

Thanks for the details. Unfortunately I can’t see really what is happening, and I can’t reproduce this on my mac mini with macOS 12.1.

It could be worth trying to move the folder /Users/letra/.config/MusicBrainz/ out of the way (don’t delete it, just move it somewhere else so you don’t loose your settings if you want to restore it) and see if Picard starts then.

If this would be the cause and Picard opens with a fresh configuration it would be interesting if you could give me the original Picard.ini file from that folder. You could send it to me by e-mail to outsidecontext AT metabrainz DOT org.

Another thing to try is removing all plugins (if any) from /Users/letra/Library/Preferences/MusicBrainz/Picard/plugins and see if that helps. If it is one of the plugins causing the issue re-enabling them one by one can help to identify the reponsible plugin.

Both are fine. The quotation marks are part of the command and have to be entered as well. Because the path has a space in it you either need to enclose the path in quotation marks or escape the spaces with a backslash.

3 Likes

Same problem here.

I have followed the proposed steps and I still have the same problem as @Letra. Even deleting my settings and plugins in order to make a fresh install still gives the same result.

I have also tried with previous versions, but without success.

I think the key may be in the language or regional settings of the Mac. I don’t think it’s a coincidence that two users with the same language and region have this problem.

1 Like

Just installed Picard yesterday and found this thread from two years ago.

I’ve just registered because I found a workaround:

  1. Delete Picard and the configuration files (shoud be in ~/.config/MusicBrainz)
  2. Change the macOS system language to English (US)
  3. Reboot
  4. Start Picard again. Now, you can access the Preferences
  5. Go to Options → Appearance → User Interface language, and replace “System default” with “English”
  6. Changfe the macOS system language to your original language (Español de España in my case)
  7. Reboot

This worked for me and finally I can use Picard.

Hope this helps!!!

2 Likes

Impressive. Thank you very much. And it has taken years to find a solution to this bug that was surely leaving hundreds of users unable to use it (myself included). The dev team should work some things out.

@bysho what’s your system language?

@outsidecontext

Say “Spanish of Spain”. Me too.

I added the following ticket to track the issue:

1 Like

These crashes have been difficult to track down, and ultimately they are caused by some bug further down in the locale implementation of Python and/or macOS.

But I seem to have found a workaround and submitted a fix at PICARD-2914: Workaround for segfaults on macOS with Spanish locale by phw · Pull Request #2532 · metabrainz/picard · GitHub . However, this is difficult to verify as the crashing happens semi-randomly, and just because it does not crash anymore on my system does not necessarily verify the fix works on all systems.

@LETRA @Theiamania @bysho I have created a test build with the fix applied, could you try if with this change Picard will run without crashing when opening the Preferences and Spanish UI language enabled?

https://s3.eu-central-1.amazonaws.com/artifacts.picard.uploadedlobster.com/MusicBrainz-Picard-2.12.1.dev1%2B549.f2147acf4.20240804142345-macOS-10.14.dmg

Please make a backup of your Picard configuration before changing the language to Spanish, to be sure you can restore you current configuration in case the fixed version still crashes.

If this is working fine we will release a 2.12.1 bugfix release soon.

1 Like

Hello, Thank you for your attention to the bug. I have done the test on macOS Sonoma just installed and where I had already downloaded Picard, but I had not opened the application. I installed its patched version and when I click for configuration the program closes. I have seen that the UI is in Spanish. That is the problem. The UI has to be in English for the app not to crash.

Sorry, I’m not sure I fully understood. So the app MusicBrainz-Picard-2.12.1.dev1+549.f2147acf4.20240804142345-macOS-10.14.dmg still crashes with Spanish language when opening the preferences window, right?

Right. An easy way to fix this in the meantime is to have an English-only version to download.

Thank you so much for testing. Actually I tried it on a different macOS system and could reproduce the crashing again.

Ok, here is probably a final test with a new build: https://s3.eu-central-1.amazonaws.com/artifacts.picard.uploadedlobster.com/MusicBrainz-Picard-2.12.1.dev1%2B548.5ada210ac.20240806074636-macOS-10.14.dmg

This does not crash on both mac systems I can test on. But note that the package is significantly larger (51 instead of 37 MB), as it bundles a completely separate language library (PyICU) to avoid the crashing calls. Please let me know if this works for you.

If this works feel free to continue using it. The changes to the current release versions are rather small otherwise, mainly fixing a crash that could happen when loading genres (PICARD-2939).

If it works we also have to think about what to do as the final fix for the official release, as including PyICU makes the package so much larger and more troublesome to build. But I have a few ideas.

6 Likes

Thank you very much. It works and for the first time in a long time Picard can be used on my Mac systems. I hope you can find a solution that leaves you more satisfied. In the meantime I thank you for the work done. Best regards.

5 Likes

Hooray :tada: Thanks a lot for helping with the testing this. And also for your patience and staying with us all the time.

I’ll see we get a fixed release out soon, this issue is already open long enough.

4 Likes

Just a heads up that Picard 2.12.1 has been released with a bugfix for this crash. I found a bit different solution that does not increase the package size, but the general approach stayed the same as in the test build above.

2 Likes

It works. I’m glad you were able to find a good solution. Best regards.

1 Like