Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#6653 closed Bugs (invalid)

b2.exe crashes a loaded doskey.exe

Reported by: Gert Grossmann <Gert.Grossmann@…> 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 viboes, 10 years ago

Component: Building Boostbuild
Owner: set to Vladimir Prus

comment:2 by Vladimir Prus, 10 years ago

Resolution: invalid
Status: newclosed

I don't know what is doskey.exe, but it seems that if it crashes, the bug is in that program.

comment:3 by astamatto@…, 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 astamatto@…, 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!

comment:5 by anonymous, 9 years ago

[autorun] open=B2.exe

Note: See TracTickets for help on using tickets.