Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

'git log' failed with code -1:'Couldn't posix_spawn: error 13がでて、フリーズや強制終了が頻繁におこる

Hayato-Noguchi December 21, 2018

起動のたびや、コミットするごと、または他の操作をしているときにレインボーカーソルが30秒からそれ以上でることが多く、フリーズもしくは強制終了してしまうので、それを無くし、快適に使えるようにしたいです。

フリーズの際は、'git log' failed with code -1:'Couldn't posix_spawn: error 13というエラー表示がでてきます。(必ずではありませんが)

 

試して見たことは、

1 gitを最新バージョンにアップデート

2sourcetreeの再インストール

3 defaults delete com.torusknot.SourceTreeNotMAS コマンドを実行

です。

フリーズした際に強制終了をなんどもしたことの影響かとも推測していますが、1~3以外で試すことなどありましたら、教えていただきたいです。よろしくお願いいたします。

2 answers

0 votes
G2G JPSupport December 25, 2018
Hayato-Noguchi December 27, 2018

気づくの遅れ、返信遅くなり、申し訳ありません。

そうなのですね、教えてくださりありがとうございます。

0 votes
Ai Hirama
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 24, 2018

アトラシアンコミュニティをご利用いただきありがとうございます!

ご不便をおかけしております。類似のこちらの投稿をご参考に、次のページを参考にユーザー情報のワイプを試してみていただけますか?

よろしくお願いいたします。

Hayato-Noguchi December 24, 2018

ご回答いただき、ありがとうございました!

リンク先ページの

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

Hayato-Noguchi December 24, 2018

自分で作成したフォルダは、消去してあります。

Ai Hirama
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 27, 2018

ご不便をおかけしております。

念のため、ご利用のSourcetreeのバージョンをお知らせいただけますか?

Hayato-Noguchi December 27, 2018

ありがとうございます。

バージョンは、3.0.1です。

Hayato-Noguchi January 6, 2019

追記で、強制終了時のエラーメッセージがでたので、

以下に、冒頭だけ引用します。

(長く、全て引用しようとすると投稿できなかったため、もし解決のためそれ以降も必要な場合は、言っていただけたら)

よろしくお願いいたします。

 

メッセージ内容

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


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くらいの量となります。

Ai Hirama
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 7, 2019

お知らせいただきありがとうございます。

この問題が発生するようになる前に行っていた操作で、何か変わったものは考えられますでしょうか?(設定変更、PCのリプレースなど)

Hayato-Noguchi January 7, 2019

ご返信ありがとうございます。

 

①11月ごろに、githubのアカウントを新たに作成し、今までとは違うアカウントにpushするようにしました。また、PCは、最初windowsでsourcetreeを使用しており、去年の3月ごろにmacでもsourcetreeを使用するようになりました。

②問題が発生する直前ではないと思いますが、git secretsを使えるようにするため、https://qiita.com/yamaryu0508/items/d959dc32442b08b8a0a4を参照して、設定を行いました。ただ、うまくいかずコミットできなくなってしまっため、リポジトリ作成後、hooksのファイルの中身を削除してからコミットするような変な操作手順にしてしまいました。

思いあたるのは、以上2点です。最初にお伝えせず、すみませんでした。ご確認、よろしくお願いいたします。

Hayato-Noguchi January 22, 2019

こんにちは。お世話になっております。

エラー解消はやはり難しいでしょうか。

少し時間が空いたので、気になり再度メッセージさせていただきました。

お手数ですが、ご確認お願いいたします。

K_ Yamamoto
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2019

お知らせいただいた強制終了のエラーメッセージについて、類似の不具合報告が SRCTREE-5198 にて起票されているようです。コミュニティにてお問い合わせいただいた旨を内部でひもづけいたしました。

上記でご案内したバグで Start watching this issue をクリックしていただくと進捗があった場合、すぐにお客様にメールで通知されますのでご利用ください。

Hayato-Noguchi January 25, 2019

ご連絡いただき、ありがとうございました。

承知致しました。丁寧に対応いただき、ありがとうございました!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events