Opened 10 years ago

Closed 5 years ago

#7634 closed Bugs (fixed)

b2 segfaults when more than 64 jobs are requested

Reported by: Mike Gilbert <floppym@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

b2 segfaults on Linux when more than 64 jobs (-j65) are requested.

Attached patch resolves this problem.

See Gentoo bug report:

https://bugs.gentoo.org/show_bug.cgi?id=441034

Attachments (1)

boost-build-maxjobs.patch (786 bytes ) - added by Mike Gilbert <floppym@…> 10 years ago.
Patch

Download all attachments as: .zip

Change History (6)

by Mike Gilbert <floppym@…>, 10 years ago

Attachment: boost-build-maxjobs.patch added

Patch

comment:1 by Zero_Chaos <zerochaos@…>, 10 years ago

The downstream bug is more explicit but it seems that 1.49 segfaults and 1.51 gets killed by hardened kernel due to an overflow.

I am able to test reasonably obscene MAKEOPTS once you pick a solution just let me know and I can happily help test.

comment:2 by Steven Watanabe, 10 years ago

It looks like this was fixed by jurko in r79054

comment:3 by Mike Gilbert <floppym@…>, 10 years ago

Yes, that seems likely.

comment:4 by viboes, 10 years ago

Component: Building Boostbuild
Owner: set to Vladimir Prus

comment:5 by Steven Watanabe, 5 years ago

Resolution: fixed
Status: newclosed

There are no longer any hard-code limits to -j.

Note: See TracTickets for help on using tickets.