'git log' failed with code -1:'Couldn't posix_spawn: error 13????????????????????
Asked by Hayato-Noguchi:

?????????????????????????????????????????30?????????????????????????????????????????????????????????

????????'git log' failed with code -1:'Couldn't posix_spawn: error 13???????????????????????????

?????????

1 git???????????????

2sourcetree????????

3 defaults delete com.torusknot.SourceTreeNotMAS????????

???

????????????????????????????????????1\~3?????????????????????????????????????????


Answers:
author: G2G JPSupport
body: ??????????

posix_spawn error 13?????????EACESS??????????\[iOS Manual page\|[https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/posix_spawn.2.html\]???????????????bug?????????????](https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/posix_spawn.2.html]???????????????bug?????????????)

comments: author: Hayato-Noguchi
body: ???????????????????????

??????????????????????????


author: Ai Hirama
body: ???????????????????????????????

?????????????????[??????](https://community.atlassian.com/t5/Sourcetree-questions/On-OSX-Mavericks-SourceTree-errors/qaq-p/350999)???????????????????????????????????????

* [How to Wipe SourceTree Preferences](https://ja.confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)

?????????????

comments: author: Hayato-Noguchi
body: ???????????????????!

????????

2Make sure the files are backed up in the following folders before removing the files  
3Remove everything in \~/Library/Application Support/SourceTree/

?SourceTree???????????(OS?High Sierra10.13.6??)??????????????????????SourceTree?????????SourceTree?????????????????????????????????????????

???????????????????????????????????????????????????????????????![????????? 2018-12-25 12.13.07.png](https://community.atlassian.com/t5/image/serverpage/image-id/41125i8D786F0F63D4F51F/image-size/large?v=v2&px=999 "????????? 2018-12-25 12.13.07.png")


author: Hayato-Noguchi
body: ??????????????????????


author: Ai Hirama
body: ??????????????

?????????Sourcetree???????????????????


author: Hayato-Noguchi
body: ???????????

???????3.0.1???


author: Hayato-Noguchi
body: ????????????????????????

??????????????

???????????????????????????????????????????????????????

?????????????

???????

Sourcetree ????????????????

??????????????

???????????

?????????????????????????????????

Process: Sourcetree \[58572\]  
Path: /Applications/Sourcetree.app/Contents/MacOS/Sourcetree  
Identifier: com.torusknot.SourceTreeNotMAS  
Version: 3.0.1 (205)  
Code Type: X86-64 (Native)  
Parent Process: ??? \[1\]  
Responsible: Sourcetree \[58572\]  
User ID: 501

Date/Time: 2019-01-04 12:17:33.762 +0900  
OS Version: Mac OS X 10.13.6 (17G4015)  
Report Version: 12  
Anonymous UUID: EC7DE8DE-2488-A647-09B9-9A994FDE8F4A

Sleep/Wake UUID: BDE2D1BF-709E-496C-9E9F-E5FC4BEE7720

Time Awake Since Boot: 160000 seconds  
Time Since Wake: 9400 seconds

System Integrity Protection: disabled

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

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

Termination Signal: Segmentation fault: 11  
Termination Reason: Namespace SIGNAL, Code 0xb  
Terminating Process: exc handler \[0\]

VM Regions Near 0x18:  
--\>  
__TEXT 000000010f0e2000-000000010f48a000 \[ 3744K\] r-x/rwx SM=COW "5 \[/Applications/Sourcetree.app/Contents/MacOS/Sourcetree\]

Application Specific Information:  
objc_msgSend() selector name: reportTaskCompletionForDebugging

<br />

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread  
0 libobjc.A.dylib 0x00007fff55406e9d objc_msgSend + 29  
1 com.torusknot.SourceTreeNotMAS 0x000000010f12c268 0x10f0e2000 + 303720  
2 com.torusknot.SourceTreeNotMAS 0x000000010f281cb1 0x10f0e2000 + 1703089  
3 com.torusknot.SourceTreeNotMAS 0x000000010f27fe42 0x10f0e2000 + 1695298  
4 com.torusknot.SourceTreeNotMAS 0x000000010f2b575e 0x10f0e2000 + 1914718  
5 com.torusknot.SourceTreeNotMAS 0x000000010f2b9e2c 0x10f0e2000 + 1932844  
6 com.apple.CoreFoundation 0x00007fff2e124dbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12  
7 com.apple.CoreFoundation 0x00007fff2e124c8a _CFXRegistrationPost + 458  
8 com.apple.CoreFoundation 0x00007fff2e1249c1 ___CFXNotificationPost_block_invoke + 225  
9 com.apple.CoreFoundation 0x00007fff2e0e27a0 -\[_CFXNotificationRegistrar find:object:observer:enumerator:\] + 1664  
10 com.apple.CoreFoundation 0x00007fff2e0e18d7 _CFXNotificationPost + 599  
11 com.apple.Foundation 0x00007fff301f2817 -\[NSNotificationCenter postNotificationName:object:userInfo:\] + 66  
12 com.apple.AppKit 0x00007fff2b833dcb -\[NSTableView _sendSelectionChangedNotificationForRows:columns:\] + 230  
13 com.apple.AppKit 0x00007fff2b7a778c -\[NSTableView _doSelectIndexes:byExtendingSelection:indexType:funnelThroughSingleIndexVersion:\] + 3366  
14 com.apple.AppKit 0x00007fff2b7a6a4f -\[NSTableView selectRowIndexes:byExtendingSelection:\] + 177  
15 com.apple.AppKit 0x00007fff2b8c9a0b -\[NSTableBinder _updateSelectionIndexes:\] + 145  
16 com.apple.AppKit 0x00007fff2b8c9315 -\[NSTableBinder _handleContentChange:\] + 184  
17 com.apple.AppKit 0x00007fff2b8c90bc -\[NSTableBinder observeValueForKeyPath:ofObject:change:context:\] + 56  
18 com.apple.Foundation 0x00007fff302279c9 NSKeyValueNotifyObserver + 350  
19 com.apple.Foundation 0x00007fff3029ab9b -\[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:\] + 1108  
20 com.apple.AppKit 0x00007fff2b861064 -\[NSController _notifyObserversForKeyPath:change:\] + 193  
21 com.apple.AppKit 0x00007fff2b8ac47c -\[NSArrayController didChangeValuesForArrangedKeys:objectKeys:indexKeys:\] + 53  
22 com.apple.AppKit 0x00007fff2b8adf3f -\[NSArrayController setContent:\] + 749  
23 com.apple.AppKit 0x00007fff2b8ad93e -\[NSArrayDetailBinder _refreshDetailContentInBackground:\] + 1025  
24 com.apple.Foundation 0x00007fff302279c9 NSKeyValueNotifyObserver + 350  
25 com.apple.Foundation 0x00007fff3022727d NSKeyValueDidChange + 475  
26 com.apple.Foundation 0x00007fff30364c7e -\[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:usingBlock:\] + 769  
27 com.apple.Foundation 0x00007fff301f2b75 -\[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:\] + 61  
28 com.apple.Foundation 0x00007fff30251da1 _NSSetObjectValueAndNotify + 262  
29 com.torusknot.SourceTreeNotMAS 0x000000010f2b3b46 0x10f0e2000 + 1907526  
30 com.torusknot.SourceTreeNotMAS 0x000000010f2b5533 0x10f0e2000 + 1914163  
31 libdispatch.dylib 0x00007fff55ffc5fa _dispatch_call_block_and_release + 12  
32 libdispatch.dylib 0x00007fff55ff4db8 _dispatch_client_callout + 8  
33 libdispatch.dylib 0x00007fff56000395 _dispatch_main_queue_callback_4CF + 1148  
34 com.apple.CoreFoundation 0x00007fff2e14db39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9  
35 com.apple.CoreFoundation 0x00007fff2e10fcda __CFRunLoopRun + 2586  
36 com.apple.CoreFoundation 0x00007fff2e10f033 CFRunLoopRunSpecific + 483  
37 com.apple.HIToolbox 0x00007fff2d3f9d96 RunCurrentEventLoopInMode + 286  
38 com.apple.HIToolbox 0x00007fff2d3f9b06 ReceiveNextEventCommon + 613  
39 com.apple.HIToolbox 0x00007fff2d3f9884 _BlockUntilNextEventMatchingListInModeWithFilter + 64  
40 com.apple.AppKit 0x00007fff2b6a9a73 _DPSNextEvent + 2085  
41 com.apple.AppKit 0x00007fff2be3fe34 -\[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:\] + 3044  
42 com.apple.AppKit 0x00007fff2b69e885 -\[NSApplication run\] + 764  
43 com.apple.AppKit 0x00007fff2b66da72 NSApplicationMain + 804  
44 libdyld.dylib 0x00007fff5602e015 start + 1

Thread 1:: com.twitter.crashlytics.mac.MachExceptionServer  
0 libsystem_kernel.dylib 0x00007fff561806fa write + 10  
1 com.torusknot.SourceTreeNotMAS 0x000000010f3c6263 0x10f0e2000 + 3031651  
2 com.torusknot.SourceTreeNotMAS 0x000000010f3be249 0x10f0e2000 + 2998857  
3 libsystem_pthread.dylib 0x00007fff56346661 _pthread_body + 340  
4 libsystem_pthread.dylib 0x00007fff5634650d _pthread_start + 377  
5 libsystem_pthread.dylib 0x00007fff56345bf9 thread_start + 13

Thread 2:  
0 libsystem_kernel.dylib 0x00007fff5617ea16 __psynch_cvwait + 10  
1 libsystem_pthread.dylib 0x00007fff56347589 _pthread_cond_wait + 732  
2 libc++.1.dylib 0x00007fff53f82cb0 std::__1::condition_variable::wait(std::__1::unique_lock\<std::__1::mutex\>\&) + 18  
3 com.apple.JavaScriptCore 0x00007fff31d868a6 void std::__1::condition_variable_any::wait\<std::__1::unique_lock\<bmalloc::Mutex\> \>(std::__1::unique_lock\<bmalloc::Mutex\>\&) + 86  
4 com.apple.JavaScriptCore 0x00007fff31d8655b bmalloc::Scavenger::threadRunLoop() + 251  
5 com.apple.JavaScriptCore 0x00007fff31d86359 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger\*) + 9  
6 com.apple.JavaScriptCore 0x00007fff31d86698 void\* std::__1::__thread_proxy\<std::__1::tuple\<std::__1::unique_ptr\<std::__1::__thread_struct, std::__1::default_delete\<std::__1::__thread_struct\> \>, void (\*)(bmalloc::Scavenger\*), bmalloc::Scavenger\*\> \>(void\*) + 40  
7 libsystem_pthread.dylib 0x00007fff56346661 _pthread_body + 340  
8 libsystem_pthread.dylib 0x00007fff5634650d _pthread_start + 377  
9 libsystem_pthread.dylib 0x00007fff56345bf9 thread_start + 13

????????????????????????????????????

?????????????????1/10???????????


author: Ai Hirama
body: ???????????????????

??????????????????????????????????????????????(?????PC????????)


author: Hayato-Noguchi
body: ??????????????

?11?????github???????????????????????????push?????????????PC????windows?sourcetree???????????3????mac??sourcetree??????????????

?????????????????????git secrets????????????<https://qiita.com/yamaryu0508/items/d959dc32442b08b8a0a4??????????????????????????????????????????????????hooks????????????????????????????????????????>

??????????2???????????????????????????????????????


author: Hayato-Noguchi
body: ??????????????????

??????????????????

?????????????????????????????????

???????????????????


author: K. Yamamoto
body: ???????????????????????????????????? [SRCTREE-5198](https://jira.atlassian.com/browse/SRCTREE-5198) ?????????????????????????????????????????????????

??????????? *Start watching this issue* ????????????????????????????????????????????????


author: Hayato-Noguchi
body: ????????????????????

??????????????????????????????


Tags: language-ja