#6653 closed Bugs (invalid)
b2.exe crashes a loaded doskey.exe
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | b2.exe | Cc: |
Description
OS: Windows 7 64bit Compiler: Microsoft Visual Studio 2010
Create a startup script for every command processor. Create a value "AutoRun" in HKEY_CURRENT_USER\Software\Microsoft\Command Processor\ e.g. AutoRun=C:\MyAutoRun.bat
Fill C:\MyAutoRun.bat with a doskey command, e.g. doskey ps=powershell.exe $*
Open a new command prompt, check execution of C:\MyAutoRun.bat (doskey /macros), chdir to your Boost directory and call for example "b2 --clean" This will crash doskey.exe again and again.
Change History (5)
comment:1 by , 10 years ago
Component: | Building Boost → build |
---|---|
Owner: | set to |
comment:2 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
I'm having the same problem in 2013.
Running b2 makes the prompt to crash accusing an error in doskey.exe , which is a cmd command history utility built in in windows command prompts...
Using Windows 7 64 bits and MingW-GCC
Any workaround?
comment:4 by , 10 years ago
Alright, found the culprit...
I discovered there was a cmd startup script on the windows machine I use, and it invoked doskey. Removing this startup script makes boost to build normally!
I don't know what is doskey.exe, but it seems that if it crashes, the bug is in that program.