[Cyberduck-trac] [Cyberduck] #11231: Crash in NSMutableParagraphStyle setParagraphStyle

Cyberduck trac at cyberduck.io
Tue Nov 17 19:09:45 UTC 2020


#11231: Crash in NSMutableParagraphStyle setParagraphStyle
------------------------------+------------------------
 Reporter:  gerryvz           |         Owner:  dkocher
     Type:  defect            |        Status:  closed
 Priority:  high              |     Milestone:  7.7.1
Component:  core              |       Version:  7.7.0
 Severity:  critical          |    Resolution:  fixed
 Keywords:  MacOS 11 Big Sur  |  Architecture:  Intel
 Platform:  macOS 11          |
------------------------------+------------------------

Comment (by dkocher):

 Thanks for the additional crash report which confirms this is a bug in
 macOS 11. We have worked around this issue by no longer calling
 `setParagraphStyle`.


 {{{
 Process:               Cyberduck [72150]
 Path:
 /private/var/folders/*/Cyberduck.app/Contents/MacOS/Cyberduck
 Identifier:            ch.sudo.cyberduck
 Version:               7.7.1 (33779)
 Code Type:             X86-64 (Native)
 Parent Process:        ??? [1]
 Responsible:           Cyberduck [72150]
 User ID:               502

 Date/Time:             2020-11-17 12:43:21.968 -0500
 OS Version:            macOS 11.0.1 (20B29)
 Report Version:        12
 Bridge OS Version:     5.0.1 (18P2561)
 Anonymous UUID:        EBC421C2-D218-73AC-8D5A-02EEC0059F0F

 Sleep/Wake UUID:       1B62CC3F-3B83-4C24-B24C-932CE568C7F9

 Time Awake Since Boot: 200000 seconds
 Time Since Wake:       4400 seconds

 System Integrity Protection: enabled

 Notes:                 Translocated Process

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

 Exception Type:        EXC_BAD_ACCESS (SIGABRT)
 Exception Codes:       KERN_PROTECTION_FAILURE at 0x0000000103db8008
 Exception Note:        EXC_CORPSE_NOTIFY

 VM Regions Near 0x103db8008:
     __LINKEDIT                  103da6000-103db8000    [   72K] r--/rwx
 SM=COW
 /var/folders/*/Cyberduck.app/Contents/PlugIns/Runtime.jre/Contents/Home/lib/libjava.dylib
 --> VM_ALLOCATE                 103db8000-103db9000    [    4K] ---/rwx
 SM=NUL
     VM_ALLOCATE                 103db9000-103dba000    [    4K] r--/rwx
 SM=PRV

 Application Specific Information:
 Performing @selector(aboutMenuClicked:) from sender NSMenuItem
 0x6000025a0380
 *** Terminating app due to uncaught exception
 'NSInvalidArgumentException', reason: '*** -[__NSArrayM
 insertObject:atIndex:]: object cannot be nil'
 abort() called
 terminating with uncaught exception of type NSException

 Application Specific Backtrace 1:
 0   CoreFoundation                      0x00007fff204ba6af
 __exceptionPreprocess + 242
 1   libobjc.A.dylib                     0x00007fff201f23c9
 objc_exception_throw + 48
 2   CoreFoundation                      0x00007fff2056ea9a -[__NSCFString
 characterAtIndex:].cold.1 + 0
 3   CoreFoundation                      0x00007fff2056c953 -[__NSArrayM
 insertObject:atIndex:].cold.2 + 0
 4   CoreFoundation                      0x00007fff203e0411 -[__NSArrayM
 insertObject:atIndex:] + 1135
 5   UIFoundation                        0x00007fff239e5b4b
 __defaultTabStops_block_invoke + 161
 6   libdispatch.dylib                   0x00007fff2019d7c7
 _dispatch_client_callout + 8
 7   libdispatch.dylib                   0x00007fff2019e96b
 _dispatch_once_callout + 20
 8   UIFoundation                        0x00007fff239e6177
 -[NSMutableParagraphStyle setTabStops:] + 199
 9   UIFoundation                        0x00007fff239ffe47 -[NSRTFReader
 defaultParagraphStyle] + 75
 10  UIFoundation                        0x00007fff239ffd6e -[NSRTFReader
 _mutableParagraphStyle] + 112
 11  UIFoundation                        0x00007fff239f98c3 controlClass +
 1757
 12  UIFoundation                        0x00007fff239f8e64 -[NSRTFReader
 attributedString] + 76
 13  UIFoundation                        0x00007fff239f4956
 _NSReadAttributedStringFromURLOrData + 3213
 14  UIFoundation                        0x00007fff23b08fce
 -[NSAttributedString(NSAttributedStringUIFoundationAdditions)
 initWithURL:options:documentAttributes:error:] + 228
 15  AppKit                              0x00007fff233d4ec5
 +[NSSystemInfoPanel updateOptionsWithCredits:] + 400
 16  AppKit                              0x00007fff233d4883
 +[NSSystemInfoPanel updateOptions:] + 81
 17  AppKit                              0x00007fff233d423a
 -[NSSystemInfoPanel setOptionsDictionary:] + 86
 18  AppKit                              0x00007fff233d4095
 -[NSApplication(NSStandardAboutPanel)
 orderFrontStandardAboutPanelWithOptions:] + 56
 19  libjnidispatch.dylib                0x0000000111189e74 ffi_call_unix64
 + 76
 20  ???                                 0x00007ffeed1a64b8 0x0 +
 140732876350648

 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   libsystem_kernel.dylib              0x00007fff2031a462 __pthread_kill
 + 10
 1   libsystem_pthread.dylib             0x00007fff20348610 pthread_kill +
 263
 2   libsystem_c.dylib                   0x00007fff2029b720 abort + 120
 3   libc++abi.dylib                     0x00007fff2030d418 abort_message +
 231
 4   libc++abi.dylib                     0x00007fff202fea7d
 demangling_terminate_handler() + 266
 5   libobjc.A.dylib                     0x00007fff201f49b1
 _objc_terminate() + 96
 6   libc++abi.dylib                     0x00007fff2030c847
 std::__terminate(void (*)()) + 8
 7   libc++abi.dylib                     0x00007fff2030c7e9
 std::terminate() + 41
 8   libdispatch.dylib                   0x00007fff2019d7db
 _dispatch_client_callout + 28
 9   libdispatch.dylib                   0x00007fff2019e96b
 _dispatch_once_callout + 20
 10  com.apple.UIFoundation              0x00007fff239e6177
 -[NSMutableParagraphStyle setTabStops:] + 199
 11  com.apple.UIFoundation              0x00007fff239ffe47 -[NSRTFReader
 defaultParagraphStyle] + 75
 12  com.apple.UIFoundation              0x00007fff239ffd6e -[NSRTFReader
 _mutableParagraphStyle] + 112
 13  com.apple.UIFoundation              0x00007fff239f98c3 controlClass +
 1757
 14  com.apple.UIFoundation              0x00007fff239f8e64 -[NSRTFReader
 attributedString] + 76
 15  com.apple.UIFoundation              0x00007fff239f4956
 _NSReadAttributedStringFromURLOrData + 3213
 16  com.apple.UIFoundation              0x00007fff23b08fce
 -[NSAttributedString(NSAttributedStringUIFoundationAdditions)
 initWithURL:options:documentAttributes:error:] + 228
 17  com.apple.AppKit                    0x00007fff233d4ec5
 +[NSSystemInfoPanel updateOptionsWithCredits:] + 400
 18  com.apple.AppKit                    0x00007fff233d4883
 +[NSSystemInfoPanel updateOptions:] + 81
 19  com.apple.AppKit                    0x00007fff233d423a
 -[NSSystemInfoPanel setOptionsDictionary:] + 86
 20  com.apple.AppKit                    0x00007fff233d4095
 -[NSApplication(NSStandardAboutPanel)
 orderFrontStandardAboutPanelWithOptions:] + 56
 21  libjnidispatch.dylib                0x0000000111189e74 ffi_call_unix64
 + 76
 22  libjnidispatch.dylib                0x000000011118943d ffi_call + 1005

 }}}

--
Ticket URL: <https://trac.cyberduck.io/ticket/11231#comment:24>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list