Opened 10 years ago

Closed 10 years ago

#7243 closed Bugs (fixed)

b2.exe crashes on Windows 8 x64

Reported by: Bryan Ashby <nuskooler@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

On Windows 8 release (x64) b2.exe crashes due to bad malloc()'s. This appears to be caused by a missing stdlib.h include in mem.h.

Attached is a very simple fix.

Attachments (2)

boost.tools.build.v2.engine.mem.h.patch (427 bytes ) - added by Bryan Ashby <nuskooler@…> 10 years ago.
Patch for mem.h
boost_1_51_0_win8_x64_compat.patch (1.0 KB ) - added by Bryan Ashby <nuskooler@…> 10 years ago.
Fix for build on Windows 8 x64

Download all attachments as: .zip

Change History (5)

by Bryan Ashby <nuskooler@…>, 10 years ago

Patch for mem.h

comment:1 by Bryan Ashby <nuskooler@…>, 10 years ago

Possibly related, v1.50 of boost crashes in jam0.exe on Windows 8 x64. This appears to have been fixed in trunk, but I don't know why.

by Bryan Ashby <nuskooler@…>, 10 years ago

Fix for build on Windows 8 x64

comment:2 by Bryan Ashby <nuskooler@…>, 10 years ago

Update: I have tested v1.51.0 RC from http://boost.cowic.de/rc/ and it appears that both jam0.exe and b2.exe crash therefor causing Boost to fail to build on Windows 8 x64. Both seem to be related to pointer truncation.

See the attached boost_1_51_0_win8_x64_compat.patch file

comment:3 by Steven Watanabe, 10 years ago

Resolution: fixed
Status: newclosed

(In [80097]) Add missing #include. Fixes #7243.

Note: See TracTickets for help on using tickets.