octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #61472] AddressSanitizer crash in MEX tests
Date: Sun, 5 Dec 2021 13:47:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Follow-up Comment #22, bug #61472 (project octave):

@jwe in comment #19: Yes, changing the typedef to add the word "template", and
changing INSTANTIATE_ARRAY_WITH_ALLOCATOR to INSTANTIATE_ARRAY both made Clang
compile it fully without errors. I also did not need to add
--disable-lib-visibility-flags  to configure. But it did give the
malloc-vs-free warnings during compilation and the MEX test crashed ASAN. It
might be because the #if check for C++17 works only for GCC and not Clang.

Re whether this should be fixed for 7.1 or not, it causes a problem only in
ASAN checks and not in regular use (comment #2).

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61472>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]