Boost logo

Boost :

Subject: Re: [boost] UBSan question
From: Peter Dimov (lists_at_[hidden])
Date: 2019-01-25 19:23:34


Raffi Enficiaud wrote:
> On 25.01.19 20:08, Peter Dimov via Boost wrote:
> > Are you setting the environment variable
> > UBSAN_OPTIONS=print_stacktrace=1?
>
> Yes. Do I need to change that?

No, I was just wondering whether you were getting a stack trace on the
failure, and if not, why not.

What I do in cases like this, is set UBSAN=1 for the UBSan runs, then in the
Jamfile or in the .cpp files disable the known-to-fail tests. Like for
instance here:
https://github.com/boostorg/system/blob/develop/test/Jamfile.v2#L75


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk