Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-03-16 21:32:07


I was getting crashes on windows with --build-dir=%TEMP%\build, so I
built a debugging version of bjam and ran it. It asserted with an
invalid time value.

In _findnext64i32, it was looking at a file called %TEMP%\~du185.tmp,
which had a bogus timestamp from the year 1720. It seems to me we
ought to be able to do something to avoid being brought to our knees
because of something like that.

> dbjam.exe!__loctotime64_t(int yr=1720, int mo=9, int dy=20, int hr=13, int mn=51, int sc=14, int dstflag=-1) Line 67 + 0x57 bytes C
         dbjam.exe!__time64_t_from_ft(_FILETIME * pft=0x0012e5ec) Line 253 + 0x25 bytes C
         dbjam.exe!_findnext64i32(int hFile=1327776, _finddata64i32_t * pfd=0x0012e758) Line 187 + 0xc bytes C
         dbjam.exe!file_dirscan(char * dir=0x009e9dfc, void (void *, char *, int, __int64)* func=0x004137b0, void * closure=0x009d4ca0) Line 161 + 0x13 bytes C
         dbjam.exe!timestamp(char * target=0x0099ff98, __int64 * time=0x00d067c8) Line 142 + 0x18 bytes C
         dbjam.exe!search(char * target=0x00a1047a, __int64 * time=0x00d067c8, char * * another_target=0x0012ebc4) Line 187 + 0xd bytes C
         dbjam.exe!make0(_target * t=0x00d06798, _target * p=0x00d06730, int depth=11, COUNTS * counts=0x0012f668, int anyhow=0) Line 288 + 0x16 bytes C
         dbjam.exe!make0(_target * t=0x00d06730, _target * p=0x00d066c8, int depth=10, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d066c8, _target * p=0x00d06660, int depth=9, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d06660, _target * p=0x00d065f8, int depth=8, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d065f8, _target * p=0x00d06590, int depth=7, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d06590, _target * p=0x00d06528, int depth=6, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d06528, _target * p=0x00d064c0, int depth=5, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d064c0, _target * p=0x00d06458, int depth=4, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d06458, _target * p=0x00d06388, int depth=3, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d06388, _target * p=0x00d06320, int depth=2, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x00d06320, _target * p=0x015f2a68, int depth=1, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make0(_target * t=0x015f2a68, _target * p=0x00000000, int depth=0, COUNTS * counts=0x0012f668, int anyhow=0) Line 394 + 0x1f bytes C
         dbjam.exe!make(int n_targets=1, const char * * targets=0x008fb7e8, int anyhow=0) Line 133 + 0x15 bytes C
         dbjam.exe!main(int argc=3, char * * argv=0x008f2d64, char * * arg_environ=0x008f2e20) Line 496 + 0x1a bytes C
         dbjam.exe!__tmainCRTStartup() Line 318 + 0x19 bytes C
         dbjam.exe!mainCRTStartup() Line 187 C
         kernel32.dll!7c816fd7()
         [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk