Skip to content

Thanks for the tool! #21

@Lingyj

Description

@Lingyj

It's a useful tool for me, but I got a crash, and I don't know how to fix.
Xcode 9.1 & macOS 10.13.1 used.

2017-11-20 16:57:36.773085+0800 Uncrustify[20082:501262] [general] <NSXPCConnection: 0x7ffd89e0af60> connection from pid 20078: Warning: Exception caught during invocation of received message, dropping incoming message and invalidating the connection.
Exception: launch path not accessible
launch path not accessible
(
	0   CoreFoundation                      0x00007fff318122fb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff58183c76 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff318a3d6d +[NSException raise:format:] + 205
	3   Foundation                          0x00007fff33a25712 -[NSConcreteTask launchWithDictionary:error:] + 1304
	4   Uncrustify                          0x000000010d1e9ad7 _T010Uncrustify19SourceEditorCommandC7performySo08XCSourcecD10InvocationC4with_ys5Error_pSgc17completionHandlertF + 4263
	5   Uncrustify                          0x000000010d1eaeb7 _T010Uncrustify19SourceEditorCommandC7performySo08XCSourcecD10InvocationC4with_ys5Error_pSgc17completionHandlertFTo + 135
	6   XcodeKit                            0x000000010de5245e -[_XCSourceEditorService performCommandInvocation:commandIdentifier:request:reply:] + 500
	7   Foundation                          0x00007fff33b01df7 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S4__ + 12
	8   Foundation                          0x00007fff33b0058e -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 2624
	9   Foundation                          0x00007fff3384f18f message_handler + 227
	10  libxpc.dylib                        0x00007fff590390c3 _xpc_connection_call_event_handler + 35
	11  libxpc.dylib                        0x00007fff59037881 _xpc_connection_mach_event + 1092
	12  libdispatch.dylib                   0x00007fff58d3de76 _dispatch_client_callout4 + 9
	13  libdispatch.dylib                   0x00007fff58d3e12f _dispatch_mach_msg_invoke + 488
	14  libdispatch.dylib                   0x00007fff58d4d1b9 _dispatch_queue_serial_drain + 222
	15  libdispatch.dylib                   0x00007fff58d3ca43 _dispatch_mach_invoke + 534
	16  libdispatch.dylib                   0x00007fff58d4d1b9 _dispatch_queue_serial_drain + 222
	17  libdispatch.dylib                   0x00007fff58d40239 _dispatch_queue_invoke + 373
	18  libdispatch.dylib                   0x00007fff58d4e042 _dispatch_root_queue_drain_deferred_wlh + 332
	19  libdispatch.dylib                   0x00007fff58d51e1b _dispatch_workloop_worker_thread + 880
	20  libsystem_pthread.dylib             0x00007fff58ffc033 _pthread_wqthread + 980
	21  libsystem_pthread.dylib             0x00007fff58ffbc4d start_wqthread + 13
)
2017-11-20 16:58:01.022773+0800 Uncrustify[20082:501889] Loading XcodeKit failed: Error Domain=NSPOSIXErrorDomain Code=12 "Cannot allocate memory"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions