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

After close bash, then Git for Windows 2.13.3 show MSYS2 terminal 已停止工作. #1237

Closed
1 task done
kalsolio opened this issue Jul 14, 2017 · 27 comments
Closed
1 task done

Comments

@kalsolio
Copy link

kalsolio commented Jul 14, 2017

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

** 
git version 2.13.3.windows.1
built from commit: faaf2320f32f6ac52a69502c6b157b6ea4781f50
sizeof-long: 4
machine: x86_64

**
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

** Microsoft Windows [版本 10.0.15063] **
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

** 
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
**
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

** insert your response here **

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

** bash **

** insert your commands here **
  • What did you expect to occur after running these commands?

** exit **

  • What actually happened instead?

** MSYS2 terminal 已停止工作 **

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

** insert URL here **

@dscho
Copy link
Member

dscho commented Jul 14, 2017

已停止工作

Bing translate says this means "Stopped working". And I cannot reproduce that error.

@kalsolio
Copy link
Author

111222 like this.

@dscho
Copy link
Member

dscho commented Jul 15, 2017

Sorry, with that little to go on, I cannot help.

@kalsolio
Copy link
Author

错误应用程序名称: mintty.exe,版本: 2.7.7.0,时间戳: 0x00fdfcfd
错误模块名称: msys-2.0.dll,版本: 2008.2.0.0,时间戳: 0x00000000
异常代码: 0xc0000005
错误偏移量: 0x00000000000ab190
错误进程 ID: 0x554
错误应用程序启动时间: 0x01d2fd6d625ffd29
错误应用程序路径: C:\Program Files\Git\usr\bin\mintty.exe
错误模块路径: C:\Program Files\Git\usr\bin\msys-2.0.dll
报告 ID: 8a652464-9f2a-4b38-918a-e4c8bd7ba13e
错误程序包全名:
错误程序包相对应用程序 ID:

@kalsolio
Copy link
Author

错误存储段 120796199396,类型 4
事件名称: APPCRASH
响应: 不可用
Cab Id: 0

问题签名:
P1: mintty.exe
P2: 2.7.7.0
P3: 00fdfcfd
P4: msys-2.0.dll
P5: 2008.2.0.0
P6: 00000000
P7: c0000005
P8: 00000000000ab190
P9:
P10:

附加文件:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7DED.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E5B.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E6A.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E7B.tmp.txt

可在此处获取这些文件:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_mintty.exe_4d31a9b9b0c6bd1b88367d714836430b88adc_72f04e43_2421a098

分析符号:
重新检查解决方案: 0
报告 Id: 8a652464-9f2a-4b38-918a-e4c8bd7ba13e
报告状态: 268435456
哈希存储段: 96c61397b70c886e36c4c4caac5e6398

@kalsolio
Copy link
Author

Version=1
EventType=APPCRASH
EventTime=131445985984026808
ReportType=2
Consent=1
UploadTime=131445985992578121
ReportStatus=268435456
ReportIdentifier=be899369-e2d3-43fb-a01b-b0c07a6d1712
IntegratorReportIdentifier=8a652464-9f2a-4b38-918a-e4c8bd7ba13e
Wow64Host=34404
NsAppName=mintty.exe
AppSessionGuid=00000554-0001-000c-29fd-5f626dfdd201
TargetAppId=W:0006b7cb7186e62a620392b14c45ad8812ff00000908!000075639bb69de875ac817348e511cfef44e9f37f3b!mintty.exe
TargetAppVer=1970//07//12:15:42:53!6cafb!mintty.exe
BootId=4294967295
TargetAsId=3887
Response.BucketId=96c61397b70c886e36c4c4caac5e6398
Response.BucketTable=4
Response.LegacyBucketId=120796199396
Response.type=4
Sig[0].Name=应用程序名
Sig[0].Value=mintty.exe
Sig[1].Name=应用程序版本
Sig[1].Value=2.7.7.0
Sig[2].Name=应用程序时间戳
Sig[2].Value=00fdfcfd
Sig[3].Name=故障模块名称
Sig[3].Value=msys-2.0.dll
Sig[4].Name=故障模块版本
Sig[4].Value=2008.2.0.0
Sig[5].Name=故障模块时间戳
Sig[5].Value=00000000
Sig[6].Name=异常代码
Sig[6].Value=c0000005
Sig[7].Name=异常偏移
Sig[7].Value=00000000000ab190
DynamicSig[1].Name=OS 版本
DynamicSig[1].Value=10.0.15063.2.0.0.256.4
DynamicSig[2].Name=区域设置 ID
DynamicSig[2].Value=2052
DynamicSig[22].Name=其他信息 1
DynamicSig[22].Value=b416
DynamicSig[23].Name=其他信息 2
DynamicSig[23].Value=b416aee2d31c0f85f6a91034846df319
DynamicSig[24].Name=其他信息 3
DynamicSig[24].Value=9e49
DynamicSig[25].Name=其他信息 4
DynamicSig[25].Value=9e4945134582ea7a95d76238e9a3aade
UI[2]=C:\Program Files\Git\usr\bin\mintty.exe
UI[3]=MSYS2 terminal 已停止工作
UI[4]=Windows 可以联机检查该问题的解决方案。
UI[5]=联机检查解决方案并关闭该程序
UI[6]=以后联机检查解决方案并关闭程序
UI[7]=关闭程序
LoadedModule[0]=C:\Program Files\Git\usr\bin\mintty.exe
LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\WINDOWS\System32\KERNEL32.DLL
LoadedModule[3]=C:\WINDOWS\System32\KERNELBASE.dll
LoadedModule[4]=C:\WINDOWS\System32\ADVAPI32.dll
LoadedModule[5]=C:\WINDOWS\System32\msvcrt.dll
LoadedModule[6]=C:\Program Files\Git\usr\bin\msys-2.0.dll
LoadedModule[7]=C:\WINDOWS\System32\sechost.dll
LoadedModule[8]=C:\WINDOWS\System32\RPCRT4.dll
LoadedModule[9]=C:\WINDOWS\System32\comdlg32.dll
LoadedModule[10]=C:\WINDOWS\System32\combase.dll
LoadedModule[11]=C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.0_none_108e4f62dfe5d999\COMCTL32.dll
LoadedModule[12]=C:\WINDOWS\System32\ucrtbase.dll
LoadedModule[13]=C:\WINDOWS\System32\GDI32.dll
LoadedModule[14]=C:\WINDOWS\System32\bcryptPrimitives.dll
LoadedModule[15]=C:\WINDOWS\System32\gdi32full.dll
LoadedModule[16]=C:\WINDOWS\System32\shcore.dll
LoadedModule[17]=C:\WINDOWS\System32\msvcp_win.dll
LoadedModule[18]=C:\WINDOWS\System32\USER32.dll
LoadedModule[19]=C:\WINDOWS\System32\win32u.dll
LoadedModule[20]=C:\WINDOWS\System32\SHLWAPI.dll
LoadedModule[21]=C:\WINDOWS\System32\SHELL32.dll
LoadedModule[22]=C:\WINDOWS\System32\cfgmgr32.dll
LoadedModule[23]=C:\WINDOWS\System32\windows.storage.dll
LoadedModule[24]=C:\WINDOWS\System32\kernel.appcore.dll
LoadedModule[25]=C:\WINDOWS\System32\powrprof.dll
LoadedModule[26]=C:\WINDOWS\System32\profapi.dll
LoadedModule[27]=C:\WINDOWS\System32\IMM32.dll
LoadedModule[28]=C:\WINDOWS\System32\ole32.dll
LoadedModule[29]=C:\WINDOWS\SYSTEM32\WINMM.dll
LoadedModule[30]=C:\WINDOWS\SYSTEM32\USP10.dll
LoadedModule[31]=C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
LoadedModule[32]=C:\WINDOWS\SYSTEM32\WINMMBASE.dll
LoadedModule[33]=C:\WINDOWS\SYSTEM32\bcrypt.dll
LoadedModule[34]=C:\WINDOWS\system32\netapi32.dll
LoadedModule[35]=C:\WINDOWS\SYSTEM32\SAMCLI.DLL
LoadedModule[36]=C:\WINDOWS\SYSTEM32\SAMLIB.dll
LoadedModule[37]=C:\WINDOWS\SYSTEM32\NETUTILS.DLL
LoadedModule[38]=C:\WINDOWS\system32\dwmapi.dll
LoadedModule[39]=C:\WINDOWS\system32\uxtheme.dll
LoadedModule[40]=C:\WINDOWS\System32\MSCTF.dll
LoadedModule[41]=C:\WINDOWS\System32\OLEAUT32.dll
LoadedModule[42]=C:\Program Files (x86)\TeamViewer\tv_x64.dll
LoadedModule[43]=C:\WINDOWS\SYSTEM32\VERSION.dll
LoadedModule[44]=C:\WINDOWS\SYSTEM32\PROPSYS.dll
LoadedModule[45]=C:\WINDOWS\System32\clbcatq.dll
LoadedModule[46]=C:\WINDOWS\system32\dataexchange.dll
LoadedModule[47]=C:\WINDOWS\system32\dcomp.dll
LoadedModule[48]=C:\WINDOWS\system32\d3d11.dll
LoadedModule[49]=C:\WINDOWS\system32\dxgi.dll
LoadedModule[50]=C:\WINDOWS\system32\twinapi.appcore.dll
LoadedModule[51]=C:\WINDOWS\SYSTEM32\TextInputFramework.dll
LoadedModule[52]=C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
LoadedModule[53]=C:\WINDOWS\SYSTEM32\CoreMessaging.dll
LoadedModule[54]=C:\WINDOWS\SYSTEM32\ntmarta.dll
LoadedModule[55]=C:\WINDOWS\SYSTEM32\wintypes.dll
LoadedModule[56]=C:\WINDOWS\SYSTEM32\usermgrcli.dll
LoadedModule[57]=C:\WINDOWS\system32\IME\QQPinyinTSF\QQPinyinTSF.dll
LoadedModule[58]=C:\WINDOWS\SYSTEM32\WTSAPI32.dll
LoadedModule[59]=C:\WINDOWS\SYSTEM32\WINSTA.dll
LoadedModule[60]=C:\WINDOWS\system32\IME\QQPinyinTSF\QQPinyin.ime
LoadedModule[61]=C:\WINDOWS\System32\WS2_32.dll
LoadedModule[62]=C:\WINDOWS\System32\PSAPI.DLL
LoadedModule[63]=C:\WINDOWS\SYSTEM32\WININET.dll
LoadedModule[64]=C:\WINDOWS\SYSTEM32\MSIMG32.dll
LoadedModule[65]=C:\WINDOWS\SYSTEM32\edputil.dll
LoadedModule[66]=C:\Windows\System32\Windows.StateRepository.dll
LoadedModule[67]=C:\Windows\System32\StateRepository.Core.dll
LoadedModule[68]=C:\WINDOWS\SYSTEM32\urlmon.dll
LoadedModule[69]=C:\WINDOWS\SYSTEM32\iertutil.dll
LoadedModule[70]=C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
LoadedModule[71]=C:\WINDOWS\SYSTEM32\msiso.dll
LoadedModule[72]=C:\WINDOWS\SYSTEM32\SspiCli.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=已停止工作
ConsentKey=APPCRASH
AppName=MSYS2 terminal
AppPath=C:\Program Files\Git\usr\bin\mintty.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=C2F227EECDC76200D425CA5D985E7FC1
MetadataHash=1973762315

@kalsolio
Copy link
Author

@dscho is there any other info I shoud provide~

@kalsolio
Copy link
Author

@kalsolio
Copy link
Author

kalsolio commented Jul 15, 2017

msys-2.0.dll.tar.gz
after replace with this on , not CRASH now.
@dscho

@kalsolio
Copy link
Author

qq20170715-221728

@forvoid
Copy link

forvoid commented Aug 9, 2017

@kalsolio 你好我把你的msys-2.0.dll替换了之后,无法使用linux命令了。是不是这就是你所想表达的解决方式哦。我把2008换成了2006

@forvoid
Copy link

forvoid commented Aug 9, 2017

你通过其他方式解决过这个问题吗,兄弟。我现在也是遇到了这个问题。出现的问题我觉得应该是卸载git后重新安装的时候 卸载的时候不彻底

@bolls
Copy link

bolls commented Aug 15, 2017

换成2.12.*应该没问题

@BruceZhaoR
Copy link

BruceZhaoR commented Aug 15, 2017

+1 same problem in 2.14.1.windows.1 version

But it doesn't affect anything, unless you type exit or ❌ close the MINGW64 terminal.

2.12.2 is OK , I want to roll back to 2.12.2 .

@dscho waiting for the new version... ⛽️

@dscho
Copy link
Member

dscho commented Aug 15, 2017

@dscho waiting for the new version... ⛽

As I said, with that little to go on (I do not read Chinese, nor can I reproduce the error), I can't help. So what I am waiting for is somebody who can reproduce to take some ownership in the issue and debug it themselves.

@phpdever
Copy link

me too,Git Bash 2.14.0和Git Bash 2.14.1

1

@chucklu
Copy link

chucklu commented Sep 1, 2017

Hi @dscho ,
I have pasted the exception detail in English,hope it helps.

  • 1.picture
    default

  • 2.event log General
    Faulting application name: mintty.exe, version: 2.7.7.0, time stamp: 0x00fdfcfd
    Faulting module name: msys-2.0.dll, version: 2008.2.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x00000000000ab190
    Faulting process id: 0x4e20
    Faulting application start time: 0x01d322c3e43a6d23
    Faulting application path: C:\Program Files\Git\usr\bin\mintty.exe
    Faulting module path: C:\Program Files\Git\usr\bin\msys-2.0.dll
    Report Id: 38059d0e-3b63-4d36-b22a-32b45dead07a
    Faulting package full name:
    Faulting package-relative application ID:

  • 3.event log Xml

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2017-09-01T09:13:46.503844700Z" /> 
  <EventRecordID>162473</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>WASYGSHA01-1020.asnet.accorservices.net</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>mintty.exe</Data> 
  <Data>2.7.7.0</Data> 
  <Data>00fdfcfd</Data> 
  <Data>msys-2.0.dll</Data> 
  <Data>2008.2.0.0</Data> 
  <Data>00000000</Data> 
  <Data>c0000005</Data> 
  <Data>00000000000ab190</Data> 
  <Data>4e20</Data> 
  <Data>01d322c3e43a6d23</Data> 
  <Data>C:\Program Files\Git\usr\bin\mintty.exe</Data> 
  <Data>C:\Program Files\Git\usr\bin\msys-2.0.dll</Data> 
  <Data>38059d0e-3b63-4d36-b22a-32b45dead07a</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>

@IceWee
Copy link

IceWee commented Sep 7, 2017

I met the same error tips.
version > 2.12.* tips ...that
version <=2.12.* works OK.

Now I have to rolling back to 2.12.*

@liwenzhuo
Copy link

replace msys-2.0.dll with the one from version<=2.12.*, then no crash

@modyuan
Copy link

modyuan commented Sep 12, 2017

same error.and after replace msys-2.0.dll it works.

@wjjleopard
Copy link

wjjleopard commented Sep 15, 2017

把系统语言改成英语,这个问题就没了。

Change system language from Chinese to English.

@pfdgithub
Copy link

pfdgithub commented Sep 16, 2017

I have the same problem

git version 2.14.1.windows.1
built from commit: 82d9b3f
sizeof-long: 4
machine: x86_64

Microsoft Windows [版本 10.0.15063]

C:\Program Files\Git\etc\install-options.txt

Path Option: BashOnly
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled

错误应用程序名称: mintty.exe,版本: 2.7.7.0,时间戳: 0x00fdfcfd
错误模块名称: msys-2.0.dll,版本: 2008.2.0.0,时间戳: 0x00000000
异常代码: 0xc0000005
错误偏移量: 0x00000000000ab190
错误进程 ID: 0x1c60
错误应用程序启动时间: 0x01d32eeec15b39b0
错误应用程序路径: C:\Program Files\Git\usr\bin\mintty.exe
错误模块路径: C:\Program Files\Git\usr\bin\msys-2.0.dll
报告 ID: c2e34da3-a145-417b-95e1-58622027e649
错误程序包全名:
错误程序包相对应用程序 ID:

@chucklu
Copy link

chucklu commented Sep 21, 2017

@wjjleopard language in operation system is English,the problem still exists.

@prime167
Copy link

This crash not happen anymore in latest version (Git for Windows 2.14.2(2))

@dscho
Copy link
Member

dscho commented Oct 12, 2017

This crash not happen anymore in latest version (Git for Windows 2.14.2(2))

Really? That would be awesome, and most likely fixed by the same fix as for #1312 or #1316.

@kalsolio can you confirm that the issue is fixed for you, too?

@pfdgithub
Copy link

it's fixed for me on 2.14.2(3)

@dscho
Copy link
Member

dscho commented Oct 15, 2017

Okay, that's good enough for me (sadly, it happens quite frequently that original reporters cannot be reached to confirm fixes).

@dscho dscho closed this as completed Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests