[Interest] Crash when signal fires
Ben Haller
bhaller at mac.com
Wed Apr 22 17:35:01 CEST 2020
> On Apr 22, 2020, at 11:19 AM, Thiago Macieira <thiago.macieira at intel.com> wrote:
>
> On Tuesday, 21 April 2020 17:09:45 PDT Ben Haller via Interest wrote:
>> Unfortunately, I’m on macOS 10.15.3 and Valgrind is not there yet (I think
>> at present they have “preliminary” support for macOS 10.13).
>
> Then install a Linux VM and use Valgrind there. Valgrind is useful enough to
> warrant a VM just for it.
Ah, that is a good idea! I shall do so.
>> I suspect this is a really dumb question, but what is “ASAN”? Is that
>> another Valgrind-like tool?
>
> -fsanitize=address in your compilation and linking flags.
>
> With qmake, you can also get that by doing:
>
> CONFIG += sanitizer sanitize_address
Aha, very interesting. I’ll try this as well. Thanks for the help.
Cheers,
-B.
Benjamin C. Haller
Messer Lab
Cornell University
More information about the Interest
mailing list