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

Created on 14 Jul 2017  ·  27Comments  ·  Source: git-for-windows/git

  • [x] 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 *

mcve-required pending-answer unclear up for grabs

Most helpful comment

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

All 27 comments

已停止工作

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

111222 like this.

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

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

错误存储段 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:ProgramDataMicrosoftWindowsWERTempWER7DED.tmp.dmp
\?C:ProgramDataMicrosoftWindowsWERTempWER7E5B.tmp.WERInternalMetadata.xml
\?C:ProgramDataMicrosoftWindowsWERTempWER7E6A.tmp.csv
\?C:ProgramDataMicrosoftWindowsWERTempWER7E7B.tmp.txt

可在此处获取这些文件:
C:ProgramDataMicrosoftWindowsWERReportArchiveAppCrash_mintty.exe_4d31a9b9b0c6bd1b88367d714836430b88adc_72f04e43_2421a098

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

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 FilesGitusrbinmintty.exe
UI[3]=MSYS2 terminal 已停止工作
UI[4]=Windows 可以联机检查该问题的解决方案。
UI[5]=联机检查解决方案并关闭该程序
UI[6]=以后联机检查解决方案并关闭程序
UI[7]=关闭程序
LoadedModule[0]=C:Program FilesGitusrbinmintty.exe
LoadedModule[1]=C:WINDOWSSYSTEM32ntdll.dll
LoadedModule[2]=C:WINDOWSSystem32KERNEL32.DLL
LoadedModule[3]=C:WINDOWSSystem32KERNELBASE.dll
LoadedModule[4]=C:WINDOWSSystem32ADVAPI32.dll
LoadedModule[5]=C:WINDOWSSystem32msvcrt.dll
LoadedModule[6]=C:Program FilesGitusrbinmsys-2.0.dll
LoadedModule[7]=C:WINDOWSSystem32sechost.dll
LoadedModule[8]=C:WINDOWSSystem32RPCRT4.dll
LoadedModule[9]=C:WINDOWSSystem32comdlg32.dll
LoadedModule[10]=C:WINDOWSSystem32combase.dll
LoadedModule[11]=C:WINDOWSWinSxSamd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.0_none_108e4f62dfe5d999COMCTL32.dll
LoadedModule[12]=C:WINDOWSSystem32ucrtbase.dll
LoadedModule[13]=C:WINDOWSSystem32GDI32.dll
LoadedModule[14]=C:WINDOWSSystem32bcryptPrimitives.dll
LoadedModule[15]=C:WINDOWSSystem32gdi32full.dll
LoadedModule[16]=C:WINDOWSSystem32shcore.dll
LoadedModule[17]=C:WINDOWSSystem32msvcp_win.dll
LoadedModule[18]=C:WINDOWSSystem32USER32.dll
LoadedModule[19]=C:WINDOWSSystem32win32u.dll
LoadedModule[20]=C:WINDOWSSystem32SHLWAPI.dll
LoadedModule[21]=C:WINDOWSSystem32SHELL32.dll
LoadedModule[22]=C:WINDOWSSystem32cfgmgr32.dll
LoadedModule[23]=C:WINDOWSSystem32windows.storage.dll
LoadedModule[24]=C:WINDOWSSystem32kernel.appcore.dll
LoadedModule[25]=C:WINDOWSSystem32powrprof.dll
LoadedModule[26]=C:WINDOWSSystem32profapi.dll
LoadedModule[27]=C:WINDOWSSystem32IMM32.dll
LoadedModule[28]=C:WINDOWSSystem32ole32.dll
LoadedModule[29]=C:WINDOWSSYSTEM32WINMM.dll
LoadedModule[30]=C:WINDOWSSYSTEM32USP10.dll
LoadedModule[31]=C:WINDOWSSYSTEM32WINSPOOL.DRV
LoadedModule[32]=C:WINDOWSSYSTEM32WINMMBASE.dll
LoadedModule[33]=C:WINDOWSSYSTEM32bcrypt.dll
LoadedModule[34]=C:WINDOWSsystem32netapi32.dll
LoadedModule[35]=C:WINDOWSSYSTEM32SAMCLI.DLL
LoadedModule[36]=C:WINDOWSSYSTEM32SAMLIB.dll
LoadedModule[37]=C:WINDOWSSYSTEM32NETUTILS.DLL
LoadedModule[38]=C:WINDOWSsystem32dwmapi.dll
LoadedModule[39]=C:WINDOWSsystem32uxtheme.dll
LoadedModule[40]=C:WINDOWSSystem32MSCTF.dll
LoadedModule[41]=C:WINDOWSSystem32OLEAUT32.dll
LoadedModule[42]=C:Program Files (x86)TeamViewertv_x64.dll
LoadedModule[43]=C:WINDOWSSYSTEM32VERSION.dll
LoadedModule[44]=C:WINDOWSSYSTEM32PROPSYS.dll
LoadedModule[45]=C:WINDOWSSystem32clbcatq.dll
LoadedModule[46]=C:WINDOWSsystem32dataexchange.dll
LoadedModule[47]=C:WINDOWSsystem32dcomp.dll
LoadedModule[48]=C:WINDOWSsystem32d3d11.dll
LoadedModule[49]=C:WINDOWSsystem32dxgi.dll
LoadedModule[50]=C:WINDOWSsystem32twinapi.appcore.dll
LoadedModule[51]=C:WINDOWSSYSTEM32TextInputFramework.dll
LoadedModule[52]=C:WINDOWSSYSTEM32CoreUIComponents.dll
LoadedModule[53]=C:WINDOWSSYSTEM32CoreMessaging.dll
LoadedModule[54]=C:WINDOWSSYSTEM32ntmarta.dll
LoadedModule[55]=C:WINDOWSSYSTEM32wintypes.dll
LoadedModule[56]=C:WINDOWSSYSTEM32usermgrcli.dll
LoadedModule[57]=C:WINDOWSsystem32IMEQQPinyinTSFQQPinyinTSF.dll
LoadedModule[58]=C:WINDOWSSYSTEM32WTSAPI32.dll
LoadedModule[59]=C:WINDOWSSYSTEM32WINSTA.dll
LoadedModule[60]=C:WINDOWSsystem32IMEQQPinyinTSFQQPinyin.ime
LoadedModule[61]=C:WINDOWSSystem32WS2_32.dll
LoadedModule[62]=C:WINDOWSSystem32PSAPI.DLL
LoadedModule[63]=C:WINDOWSSYSTEM32WININET.dll
LoadedModule[64]=C:WINDOWSSYSTEM32MSIMG32.dll
LoadedModule[65]=C:WINDOWSSYSTEM32edputil.dll
LoadedModule[66]=C:WindowsSystem32Windows.StateRepository.dll
LoadedModule[67]=C:WindowsSystem32StateRepository.Core.dll
LoadedModule[68]=C:WINDOWSSYSTEM32urlmon.dll
LoadedModule[69]=C:WINDOWSSYSTEM32iertutil.dll
LoadedModule[70]=C:WINDOWSSYSTEM32CRYPTBASE.DLL
LoadedModule[71]=C:WINDOWSSYSTEM32msiso.dll
LoadedModule[72]=C:WINDOWSSYSTEM32SspiCli.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=已停止工作
ConsentKey=APPCRASH
AppName=MSYS2 terminal
AppPath=C:Program FilesGitusrbinmintty.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=C2F227EECDC76200D425CA5D985E7FC1
MetadataHash=1973762315

@dscho is there any other info I shoud provide~

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

qq20170715-221728

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

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

换成2.12.*应该没问题

+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 waiting for the new version... :fuelpump:

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.

me too,Git Bash 2.14.0和Git Bash 2.14.1

1

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 FilesGitusrbinmintty.exe
    Faulting module path: C:Program FilesGitusrbinmsys-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>

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.*

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

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

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

Change system language from Chinese to English.

I have the same problem

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

Microsoft Windows [版本 10.0.15063]

C:Program FilesGitetcinstall-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 FilesGitusrbinmintty.exe
错误模块路径: C:Program FilesGitusrbinmsys-2.0.dll
报告 ID: c2e34da3-a145-417b-95e1-58622027e649
错误程序包全名:
错误程序包相对应用程序 ID:

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

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

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?

it's fixed for me on 2.14.2(3)

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

educhana picture educhana  ·  5Comments

rangka-kacang picture rangka-kacang  ·  3Comments

yegorich picture yegorich  ·  3Comments

Snaptags picture Snaptags  ·  4Comments

dlk-pavan picture dlk-pavan  ·  4Comments