Closed naskoff closed 8 years ago
Latest preview build is 150813c. Check it.
Yes, i check latest stable version in settings, and have problem with her :) Now, i redownload preview version, and change setting only for preview version and problem disappear.
There is no stable version at all, so you aren't able to test it. I believe you haven't mentioned as stable version released in 2012 year.
I say stable, cause in settings checkbox was there :) But, nevermind, with preview version (and change settings of course), problem disappear. Sorry! :)
If it is reproduced in alpha, the issue closing is premature.
Uninstall and install ConEmu Alpha, Installer (32-bit, 64-bit) - 4.33 MB | version: 150913 from , and bug still exists.
I'm seeing the same issue. It's not specifically related to vagrant.
I have a powershell script that calls git.exe
and tries to process the output. When it's run in ConEmu the output (STDOUT) seems to be lost, i.e. null. This is probably how vagrant is testing the VirtualBox version. Since it cannot get output, it thinks virtualbox isn't working properly.
Running the identical script in cmd.exe / powershell.exe it works as expected.
What's even more confusing is that I have identical versions of ConEmu (i have a portable install in dropbox) and this issue exists on my work Windows 7 machine, but not on my home Win 10 machine.
I've also seen this issue on a colleague's machine as well.
edit: my colleague is running windows 8.1
So, why do not to post here exact steps to reproduce?
Because my steps are identical to those in the first post.
Another way to reproduce the error is to install the Posh-Git powershell module and then import it
PS> Import-Module Posh-Git
WARNING: posh-git requires Git 1.7.2 or better. You are using .
the relevant script is:
$requiredVersion = [Version]'1.7.2'
if ((git --version 2> $null) -match '(?<ver>\d+(?:\.\d+)+)') {
$version = [Version]$Matches['ver']
}
if ($version -lt $requiredVersion) {
Write-Warning "posh-git requires Git $requiredVersion or better. You have $version."
$false
} else {
$true
}
It should be seeing 2.5.0.windows.1
but sees nothing. $version is never set.
If I execute the identical commands in a normal cmd or powershell window you don't see the warning message.
@MartinSGill Your script is working fine on my test Win 7.0 PC
It is slightly modified to print more info
$requiredVersion = [Version]'1.7.2'
Write-Host "%PATH% is $($env:PATH)"
if ((git --version 2> $null) -match '(?<ver>\d+(?:\.\d+)+)') {
$version = [Version]$Matches['ver']
}
if ($version -lt $requiredVersion) {
Write-Warning "posh-git requires Git $requiredVersion or better. You have $version."
& git --version
$false
} else {
Write-Host "Git version detected: $version."
$true
}
Show your screenshot?
I upgraded to the same version of Git as you, just in case, then tried again:
Both are running as Admin, but I don't think that makes a difference.
I tried simplifying things a bit more, ConEmu vs Standard Powershell. The final command fails in ConEmu, but not in cmd.exe.
Also just noticed you are running x86, and I'm running AMD64.
What is about just this command output?
(git --version 2> $null)
Also doesn't work
(git --version)
works. So perhaps it related to the redirect
edit:
(git --version > c:\temp\text)
above works, so maybe something to do with STDERR stream redirects.
I need some debug logs from you...
Shell
(git --version)
, Save log as new file, Reset(git --version 2> $null)
, Save log as new file, ResetHow about latest preview build 150813c?
And what if you run
ConEmu -basic -cmd powershell -noprofile
and than
(git --version 2> $null)
AMD64
x86
Looks like it was introduced in 15-09-10:
15-08-13a
15-09-08
15-09-10
And your $PSVersionsTable
.
Startup info
OsVer: 6.1.7601.x64, Product: 1, SP: 1.0, Suite: 0x100, SM_SERVERR2: 0
CSDVersion: Service Pack 1, ReactOS: 0 (), Rsrv: 0
DBCS: 0, WINE: 0, PE: 0, Remote: 0, ACP: 1252, OEMCP: 437, Admin: 1
Desktop: ; BPP: 32
Title: C:\Users\mgill\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Console Emulator (x64).lnk
Size: {0,0},{0,0}
Flags: 0x00000801, ShowWindow: 1, ConHWnd: 0x00000000
char: 1, short: 2, int: 4, long: 4, u64: 8
Handles: 0x00000000, 0x00000000, 0x00000000
Active HKL: 0x0000000008090809
GetKeyboardLayoutList: 0x0000000004090409 0x0000000008090809
CmdLine: "C:\Users\mgill\Dropbox\Tools\ConEmu\ConEmu64.exe"
ExecMod: C:\Users\mgill\Dropbox\Tools\ConEmu\ConEmu64.exe
WorkDir: C:\Users\mgill\Dropbox\Tools\ConEmu
PathEnv: C:\Users\mgill\Dropbox\Tools\ConEmu;C:\Users\mgill\Dropbox\Tools\ConEmu\ConEmu;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\vim\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files (x86)\vim\vim74;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Amazon\AWSCLI\;C:\HashiCorp\Vagrant\bin;C:\tools\sysinternals;c:\tools\uru;C:\Users\mgill\AppData\Roaming\npm;C:\Program Files (x86)\PowerShell Community Extensions\Pscx3\Pscx\Apps;C:\Program Files\TortoiseGit\bin;C:\tools\packer;C:\Program Files\nodejs\;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Git\cmd
ConFont: 0 Lucida Console 00 Consolas
CMD's AutoRuns: {not defined}
Foreground: x00080950 {934,460}-{1848,983} 'VirtualConsoleClass' - PS> projects (Admin)
Cursor: {1450,949}
Display: bpp=32, planes=1, align=1, vrefr=59, shade=x00000000, rast=x00007E99, dpi=96x96, per-mon-dpi=0
Monitors (dpi: WholeDesktop, Effective, Angular, RAW):
00380E13: {0,0}-{1920,1200} (1920x1200), Working: {0,0}-{1920,1160} (1920x1160), dpi: {96,96};{96,96};{96,96};{96,96} `\\.\DISPLAY1` <<== Primary
232E0B4D: {1920,0}-{3840,1200} (1920x1200), Working: {1920,0}-{3840,1200} (1920x1200), dpi: {96,96};{96,96};{96,96};{96,96} `\\.\DISPLAY2`
Modules:
0000000140000000-0000000140254FFF 255000 C:\Users\mgill\Dropbox\Tools\ConEmu\ConEmu64.exe
0000000077260000-0000000077408FFF 1A9000 C:\Windows\SYSTEM32\ntdll.dll
0000000077140000-000000007725EFFF 11F000 C:\Windows\system32\kernel32.dll
000007FEFD1D0000-000007FEFD23BFFF 6C000 C:\Windows\system32\KERNELBASE.dll
0000000077040000-0000000077139FFF FA000 C:\Windows\system32\USER32.dll
000007FEFEAA0000-000007FEFEB06FFF 67000 C:\Windows\system32\GDI32.dll
000007FEFEDD0000-000007FEFEDDDFFF E000 C:\Windows\system32\LPK.dll
000007FEFE9D0000-000007FEFEA98FFF C9000 C:\Windows\system32\USP10.dll
000007FEFF110000-000007FEFF1AEFFF 9F000 C:\Windows\system32\msvcrt.dll
000007FEFE8F0000-000007FEFE9CAFFF DB000 C:\Windows\system32\ADVAPI32.dll
000007FEFF550000-000007FEFF56EFFF 1F000 C:\Windows\SYSTEM32\sechost.dll
000007FEFE450000-000007FEFE57CFFF 12D000 C:\Windows\system32\RPCRT4.dll
000007FEFD3D0000-000007FEFE158FFF D89000 C:\Windows\system32\SHELL32.dll
000007FEFEDF0000-000007FEFEE60FFF 71000 C:\Windows\system32\SHLWAPI.dll
000007FEFF1B0000-000007FEFF3B2FFF 203000 C:\Windows\system32\ole32.dll
000007FEFCF30000-000007FEFCF3BFFF C000 C:\Windows\system32\VERSION.dll
000007FEFB890000-000007FEFBA83FFF 1F4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
000007FEFE580000-000007FEFE616FFF 97000 C:\Windows\system32\COMDLG32.dll
000007FEFAE20000-000007FEFAE5AFFF 3B000 C:\Windows\system32\WINMM.dll
000007FEFEB10000-000007FEFEBE6FFF D7000 C:\Windows\system32\OLEAUT32.dll
000007FEFA790000-000007FEFA7A5FFF 16000 C:\Windows\system32\NETAPI32.dll
000007FEFC6A0000-000007FEFC6ABFFF C000 C:\Windows\system32\netutils.dll
000007FEFCA10000-000007FEFCA32FFF 23000 C:\Windows\system32\srvcli.dll
000007FEFA770000-000007FEFA784FFF 15000 C:\Windows\system32\wkscli.dll
000007FEFA750000-000007FEFA763FFF 14000 C:\Windows\system32\SAMCLI.DLL
000007FEFE160000-000007FEFE18DFFF 2E000 C:\Windows\system32\IMM32.DLL
000007FEFEFB0000-000007FEFF0B8FFF 109000 C:\Windows\system32\MSCTF.dll
000007FEFCF40000-000007FEFCF70FFF 31000 C:\Windows\system32\nvinitx.dll
000000000F000000-000000000F005FFF 6000 C:\Program Files\NVIDIA Corporation\CoProcManager\detoured.dll
000007FEF9F50000-000007FEF9F81FFF 32000 C:\Program Files\NVIDIA Corporation\CoProcManager\nvd3d9wrapx.dll
000007FEFEBF0000-000007FEFEDC6FFF 1D7000 C:\Windows\system32\SETUPAPI.dll
000007FEFD060000-000007FEFD095FFF 36000 C:\Windows\system32\CFGMGR32.dll
000007FEFD240000-000007FEFD259FFF 1A000 C:\Windows\system32\DEVOBJ.dll
000007FEF9F20000-000007FEF9F41FFF 22000 C:\Program Files\NVIDIA Corporation\CoProcManager\nvdxgiwrapx.dll
0000000074D60000-0000000074D97FFF 38000 C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~2.DLL
0000000077430000-0000000077436FFF 7000 C:\Windows\system32\PSAPI.DLL
000007FEFB830000-000007FEFB885FFF 56000 C:\Windows\system32\uxtheme.dll
000007FEFB0C0000-000007FEFB0D7FFF 18000 C:\Windows\system32\dwmapi.dll
000007FEFD010000-000007FEFD01EFFF F000 C:\Windows\system32\profapi.dll
000007FEFCE60000-000007FEFCE6EFFF F000 C:\Windows\system32\CRYPTBASE.dll
000007FEDEFD0000-000007FEDF0A1FFF D2000 C:\Program Files\1UPIndustries\Bins\v1.1.0.250\TaskbarDockAppIntegration64.dll
000007FEFB3E0000-000007FEFB50BFFF 12C000 C:\Windows\system32\PROPSYS.dll
000007FEF8F00000-000007FEF921DFFF 31E000 C:\Windows\system32\msi.dll
000007FEFEE70000-000007FEFEF08FFF 99000 C:\Windows\system32\CLBCatQ.DLL
000007FEF6580000-000007FEF6754FFF 1D5000 C:\Windows\System32\msxml3.dll
000007FEFC950000-000007FEFC971FFF 22000 C:\Windows\System32\bcrypt.dll
000007FEFC350000-000007FEFC39BFFF 4C000 C:\Windows\system32\bcryptprimitives.dll
000007FEFCE00000-000007FEFCE56FFF 57000 C:\Windows\system32\apphelp.dll
000007FEEDC20000-000007FEEDC53FFF 34000 C:\Windows\System32\shdocvw.dll
000007FEFBF80000-000007FEFBFACFFF 2D000 C:\Windows\system32\ntmarta.dll
000007FEFE3F0000-000007FEFE441FFF 52000 C:\Windows\system32\WLDAP32.dll
000007FEEDE50000-000007FEEDE5BFFF C000 C:\Windows\system32\LINKINFO.dll
0000000180000000-00000001800A8FFF A9000 C:\Program Files\1UPIndustries\Bins\v1.1.0.250\EasyHook64.dll
000007FEEDC60000-000007FEEDE29FFF 1CA000 C:\Windows\system32\explorerframe.dll
000007FEFB120000-000007FEFB162FFF 43000 C:\Windows\system32\DUser.dll
000007FEFB190000-000007FEFB281FFF F2000 C:\Windows\system32\DUI70.dll
0000000054610000-00000000546C8FFF B9000 C:\Users\mgill\Dropbox\Tools\ConEmu\ConEmu\ConEmuCD64.dll
000007FEF9F90000-000007FEFA02BFFF 9C000 C:\Windows\system32\mscms.dll
000007FEFD100000-000007FEFD11DFFF 1E000 C:\Windows\system32\USERENV.dll
$PSVersionTable
Name Value
---- -----
PSVersion 5.0.10105.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.18444
BuildVersion 10.0.10105.0
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
I don't think it's powershell related, as the vagrant issue happens in cmd.exe (in ConEmu) as well. Also, my colleague's $PSVersionTable is different, but has the same issue:
Name Value
---- -----
PSVersion 4.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.34209
BuildVersion 6.3.9600.16384
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion 2.2
I need to reproduce the problem on my side for experiments... But I've failed to do that yet, so I'm looking for specific conditions.
Also, if you can find exact commit which breaks proper operation, it may help too.
I was having an issue where vim --help displayed then disappeared, after screwing around with scripts and various things for hours. I just unchecked ComEmuHk, fixed everything. Seems like that should break things, but so far, it has been good across the board, Powershell, cmd both. Windows 10 machine. Try that maybe just to help narrow down some variabes maybe?
@variab1e Don't mix issues, vim is another one.
@variab1e Workaround for vim help disappearing
vim --help -cur_console:i
How to install PowerShell 5.0 on Windows 7???
PowerShell 5.0: http://www.microsoft.com/en-us/download/details.aspx?id=48729 It says "preview" but it's basically the same version as installed on Win10. I suspect MS will officially release it with Server 2016.
I'm spending a bit of time creating a build locally to see if I can find the actual commit. Hopefully there weren't too many between 150910 and 150908.
I'll just leave it disabled system wide for now. I haven't noticed any issues by leaving it disabled.
Finally got to try out git bisect
.
This is the result:
eaaf96bc2a7d1451265a28162d6e9d0c7fa69d9d is the first bad commit
commit eaaf96bc2a7d1451265a28162d6e9d0c7fa69d9d
Author: Maximus5 <ConEmu.Maximus5@gmail.com>
Date: Wed Sep 9 21:30:41 2015 +0300
gh#272: Fix crash on exit when NVIDIA CoProcManager dlls are loaded (workaround).
:040000 040000 46e94f129813ce1397d87f595d3c5af4703d2c4f f09909d39b6c4c922487cbc62c2193aac1e2db73 M src
As a side note, I was getting build errors, but they didn't impact the test though:
2> Creating library ..\..\Release\ConEmu\ExtendedConsole64.lib and object ..\..\Release\ConEmu\ExtendedConsole64.exp
2>CmdArg.obj : error LNK2001: unresolved external symbol __std_terminate
2>CmdLine.obj : error LNK2001: unresolved external symbol wcspbrk
2>CmdLine.obj : error LNK2001: unresolved external symbol wcschr
2>CmdLine.obj : error LNK2001: unresolved external symbol wcsstr
2>CmdLine.obj : error LNK2001: unresolved external symbol wcsrchr
2>CmdLine.obj : error LNK2001: unresolved external symbol strrchr
2>CmdLine.obj : error LNK2001: unresolved external symbol wcsncmp
2>Common.obj : error LNK2001: unresolved external symbol memmove
2>WObjects.obj : error LNK2001: unresolved external symbol wcstoul
2>WThreads.obj : error LNK2001: unresolved external symbol strchr
2>..\..\Release\ConEmu\ExtendedConsole64.dll : fatal error LNK1120: 10 unresolved externals
Only happens in release. Looks like the FAR project. Since I don't use FAR that would explain the lack of impact.
What can I say. That's pity. So, you will get either crash or powershell piping problems. The crash (stack overflow) in gh-272 occurred inside NVIDIA libraries, so most probably it's not a ConEmu problem.
It's not just powershell, it's a bit more generic than that. Vagrant is written in ruby, and you get the issue mentioned in the initial comment in a CMD shell.
How about build 151006?
Things appear to be working properly with 151006. I've also had an NVidia driver update.
I have no errors thus far! Looks great. Thanks for the work again !
Looks good now
HI there, after update ConEmu in a few days, vagrant stop working. When i type
vagrant up
i get this error from vagrantin another console application (cmd, console2 i don't have any problem).
(With this version ConEmuSetup.150728, i don't have problem too, but with new version :()
Windows: 7 Vagrant: 1.7.4 ConEmu: ConEmu Alpha, Installer (32-bit, 64-bit) - 4.33 MB | version: 150913