Jump to content

Crash when using dictionary feature via def keyword


Recommended Posts

Posted

> What you were doing when the issue happened

Typed def followed by space and 2 letters into Alfred input field, e.g. "def br"

 

> Whether you were able to replicate it a second time by performing the same action

This is reproducible every time with the above steps.

 

> Include the Alfred version & build number you are using

Alfred 4.6.1 Build 1274, Monday 29th November 2021

 

> Include your macOS version

macOS 12.1 (21C52)

 

Crashed Thread:        1  Dispatch queue: NSOperationQueue 0x11da63630 (QOS: UNSPECIFIED)

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

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


Thread 1 Crashed::  Dispatch queue: NSOperationQueue 0x11da63630 (QOS: UNSPECIFIED)
0   DictionaryServices            	       0x1a0acf85c ExtractSanitizedText(_xmlDoc*) + 24
1   DictionaryServices            	       0x1a0acf85c ExtractSanitizedText(_xmlDoc*) + 24
2   DictionaryServices            	       0x1a0acf284 CopyTransformedTextFromXML + 1316
3   DictionaryServices            	       0x1a0ac6b18 DCSIDXDictionary::copyData(DCSRecord*, long) + 528
4   DictionaryServices            	       0x1a0acb890 DCSCopyTextDefinition + 592
5   Alfred Framework              	       0x105823510 -[AlfredWorkflowInputDictionaryFilterOperation definitionForWord:] + 60
6   Alfred Framework              	       0x105823c8c -[AlfredWorkflowInputDictionaryFilterOperation lookupMatchesForWord] + 1664
7   Alfred Framework              	       0x1058234bc -[AlfredWorkflowInputDictionaryFilterOperation main] + 100
8   Foundation                    	       0x1967b43c8 __NSOPERATION_IS_INVOKING_MAIN__ + 24
9   Foundation                    	       0x1967b360c -[NSOperation start] + 804
10  Foundation                    	       0x1967b32e0 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 24
11  Foundation                    	       0x1967b3194 __NSOQSchedule_f + 184
12  libdispatch.dylib             	       0x195685990 _dispatch_block_async_invoke2 + 148
13  libdispatch.dylib             	       0x195676bac _dispatch_client_callout + 20
14  libdispatch.dylib             	       0x19567a080 _dispatch_continuation_pop + 504
15  libdispatch.dylib             	       0x1956796dc _dispatch_async_redirect_invoke + 596
16  libdispatch.dylib             	       0x19568831c _dispatch_root_queue_drain + 396
17  libdispatch.dylib             	       0x195688b58 _dispatch_worker_thread2 + 164
18  libsystem_pthread.dylib       	       0x1958312c8 _pthread_wqthread + 228
19  libsystem_pthread.dylib       	       0x195830018 start_wqthread + 8

 

Posted

@ThomasT this crash is happening within a macOS API, so is outside of Alfred's control.

 

Have you installed any custom dictionaries on your Mac, or made any customisations to the dictionary?

Posted

@Andrew Indeed I had additional dictionaries installed. It seems the update to Monterey broke something in DictionaryServices. After removing these dictionaries the crash is gone. Thanks for putting me on the right track.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...