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

Cmder suddenly start crashing on startup #650

Closed
willemdh opened this issue Oct 1, 2015 · 1 comment
Closed

Cmder suddenly start crashing on startup #650

willemdh opened this issue Oct 1, 2015 · 1 comment

Comments

@willemdh
Copy link

willemdh commented Oct 1, 2015

Hello,

I have been using Cmder fromDropbox succesfully from tow different pc's for some time now. Since today however, Cmder no longer starts up on my Windows 10. I get the following error:

Exception 0xC0000005 (Read x06988000) was occurred (ConEmu.exe, PID=11116)
ConEmu build 150913

On my laptop this is still working. Please advise how to troubleshoot this.

After some tests, it seems to only hang when a tab is launched with does an SSH connection. THis is the task command:
cmd /k "%ConEmuDir%..\init.bat" -new_console:a

This is the ini.bat:

:: Init Script for cmd.exe
:: Sets some nice defaults
:: Created as part of cmder project
echo 'BLA'
:: Find root dir
@if not defined CMDER_ROOT (
    for /f %%i in ("%ConEmuDir%\..\..") do @set CMDER_ROOT=%%~fi
)

:: Change the prompt style
:: Mmm tasty lamb
@prompt $E[1;32;40m$P$S{git}$S$_$E[1;30;40m{lamb}$S$E[0m

:: Pick right version of clink
@if "%PROCESSOR_ARCHITECTURE%"=="x86" (
    set architecture=86
) else (
    set architecture=64
)

:: Run clink
@"%CMDER_ROOT%\vendor\clink\clink_x%architecture%.exe" inject --quiet --profile "%CMDER_ROOT%\config"

:: Prepare for msysgit

:: I do not even know, copypasted from their .bat
@set PLINK_PROTOCOL=ssh
@if not defined TERM set TERM=cygwin

:: Enhance Path
@set git_install_root=%CMDER_ROOT%\vendor\msysgit
@set PATH=%CMDER_ROOT%\bin;%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%git_install_root%\share\vim\vim74;%CMDER_ROOT%;%PATH%

:: Add aliases
@doskey /macrofile="%CMDER_ROOT%\config\aliases"

:: Set home path
@if not defined HOME set HOME=%USERPROFILE%

@if defined CMDER_START (
    @cd /d "%CMDER_START%"
) else (
    @if "%CD%\" == "%CMDER_ROOT%" (
        @cd /d "%HOME%"
    )
)

ssh user@112.71.234.84

The Cmder window only says "Starting root process as Administrator" and then gives a Cmder messagebox with the above error. After clicking no, it says: "Available ConEmu GUI window not found!" (Retry - Cancel)
When I retry I get a successfull SSH connection to my server in Conemu (not Cmder)

Willem

@willemdh
Copy link
Author

willemdh commented Oct 3, 2015

When I just put

ssh user@112.71.234.84

it works, so it must be something in the ini.bat making it crash.. Anyway it's working now. Gonna close this up.

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

No branches or pull requests

1 participant