Bug #36

jam crashes when passed --help option

Added by Tom Seddon over 5 years ago. Updated over 5 years ago.

Status:NewStart date:02/03/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Building
Target version:old-snapshots

Description

Windows 7 SP1 x64, VS2010 SP1.

I built jam from git head using "jmake.bat", and typed "jam --help", and... it crashed. OK, so I should have typed just "jam -h", but I think I fixed it anyway.

See patch - it should be obvious what the problem is/was, especially if you step through in the debugger while watching `scriptPath'.

I recently switched off Windows 7's Application Compatibility Assistant, so perhaps this would normally hide the crash or work around it somehow.

jampatch1.txt Magnifier (806 Bytes) Tom Seddon, 02/03/2012 07:10 PM

History

#1 Updated by Tom Seddon over 5 years ago

Just for completeness :) - in my bug description, "git head" = 6c5db260252d649bd7de0a42eb9417f77435d244

Also available in: Atom PDF