[cfe-users] UBSAN_MODE_UNKNOWN

Ben Pope benpope81 at gmail.com
Wed May 20 06:40:13 PDT 2015


On Tuesday, May 12, 2015 05:14 AM, Alexey Samsonov wrote:
>
> On Mon, May 11, 2015 at 7:02 AM, Ben Pope
> <benpope81 at gmail.com
> <mailto:benpope81 at gmail.com>> wrote:
>
>     On Wednesday, May 06, 2015 01:50 AM, Alexey Samsonov wrote:
>
>         Can you send me a stack trace of this CHECK-failure? (i.e. run the
>         executable under gdb and fetch stack trace from it).
>
> Thanks for the stacktrace!
>
> Looks like I've fixed the problem in LLVM r237045: due to a bug, UBSan
> initialization was *not* called from .preinit_array as
> it was supposed to, and if the function called from .init_array early
> enough contained an error and tried to report it
> (as in your case), the runtime was still in uninitialized state.
>
> Could you please test your code with trunk Clang?

It's fixed.  Thanks for the prompt attention, and apologies for my tardy 
response.

Ben




More information about the cfe-users mailing list