Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in NSParagraphStyle tabStops #11508

Closed
cyberduck opened this issue Dec 22, 2020 · 6 comments
Closed

Crash in NSParagraphStyle tabStops #11508

cyberduck opened this issue Dec 22, 2020 · 6 comments

Comments

@cyberduck
Copy link
Collaborator

7a44d52 created the issue

  • Connect to a serveur
  • press a letter key like 'p' to move selection on first file beginning with p.
  • Cyberduck crash

Attachments

@cyberduck
Copy link
Collaborator Author

7a44d52 commented

Tested on two mac

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The stacktrace is very similar to #11231.

Application Specific Information:
*** 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                      0x00007fff204fb6af __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007fff202333c9 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff205afa9a -[__NSCFString characterAtIndex:].cold.1 + 0
3   CoreFoundation                      0x00007fff205ad953 -[__NSArrayM insertObject:atIndex:].cold.2 + 0
4   CoreFoundation                      0x00007fff20421421 -[__NSArrayM insertObject:atIndex:] + 1135
5   UIFoundation                        0x00007fff23a2fc6b __defaultTabStops_block_invoke + 161
6   libdispatch.dylib                   0x00007fff201de7c7 _dispatch_client_callout + 8
7   libdispatch.dylib                   0x00007fff201df96b _dispatch_once_callout + 20
8   UIFoundation                        0x00007fff23a2fbc8 -[NSParagraphStyle tabStops] + 51
9   UIFoundation                        0x00007fff23b6f139 -[NSParagraphStyle description] + 268
10  CoreFoundation                      0x00007fff2049b53a -[NSDictionary descriptionWithLocale:indent:] + 1330
11  Foundation                          0x00007fff212c1e60 -[NSAttributedString description] + 263
12  libjnidispatch.dylib                0x00000001289fbe74 ffi_call_unix64 + 76
13  ???                                 0x00007ffeeb6e8ed8 0x0 + 140732848312024

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff2035b462 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff20389610 pthread_kill + 263
2   libsystem_c.dylib             	0x00007fff202dc720 abort + 120
3   libc++abi.dylib               	0x00007fff2034e418 abort_message + 231
4   libc++abi.dylib               	0x00007fff2033fa7d demangling_terminate_handler() + 266
5   libobjc.A.dylib               	0x00007fff202359b1 _objc_terminate() + 96
6   libc++abi.dylib               	0x00007fff2034d847 std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	0x00007fff2034d7e9 std::terminate() + 41
8   libdispatch.dylib             	0x00007fff201de7db _dispatch_client_callout + 28
9   libdispatch.dylib             	0x00007fff201df96b _dispatch_once_callout + 20
10  com.apple.UIFoundation        	0x00007fff23a2fbc8 -[NSParagraphStyle tabStops] + 51
11  com.apple.UIFoundation        	0x00007fff23b6f139 -[NSParagraphStyle description] + 268
12  com.apple.CoreFoundation      	0x00007fff2049b53a -[NSDictionary descriptionWithLocale:indent:] + 1330
13  com.apple.Foundation          	0x00007fff212c1e60 -[NSAttributedString description] + 263
14  libjnidispatch.dylib          	0x00000001289fbe74 ffi_call_unix64 + 76

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please try entering the following command in a Terminal.app window

defaults delete ch.sudo.cyberduck __NSDisableSharingTextTabInstance

and restart Cyberduck.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 472ac23.

@cyberduck
Copy link
Collaborator Author

7a44d52 commented

test OK on last night build,

many thanks,

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:11 xpech]:

test OK on last night build,

many thanks,
Thanks for confirming the fix.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants