after compiling
bookmark: @
tag: tip
user: Mike Miller <
address@hidden>
date: Tue Jul 12 17:00:51 2016 -0700
summary: mkstemp: ensure file is opened in binary mode on Windows (bug #48326)
with " --enable-address-sanitizer-flags --disable-docs"
running
ASAN_OPTIONS=alloc_dealloc_mismatch=0 make check
results in:
gcc_out/libinterp/octave-value/ov-cell.cc-tst ............... PASS 1/1
gcc_out/libinterp/octave-value/ov-class.cc-tst ..............ASAN:DEADLYSIGNAL
=================================================================
==31855==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f24d2e462b4 bp 0x7f24e6646660 sp 0x7f251ccb4148 T1)
#0 0x7f24d2e462b3 (<unknown module>)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (<unknown module>)
Thread T1 (QThread) created by T0 here:
#0 0x7f254aa27458 in pthread_create (/lib64/libasan.so.3+0x31458)
#1 0x7f25469db9c9 in QThread::start(QThread::Priority) (/lib64/libQtCore.so.4+0x879c9)
==31855==ABORTING
Makefile:27961: recipe for target 'check-local' failed
FWIW
Dmitri.
--