Tue 05 Sep 2017 10:53:14 PM UTC, original submission:
When Octave is compiled with --enable-address-sanitizer-flags the GUI refuses to start. It was unclear why this was, but now I have a strong indication that it is due to a heap-buffer-overflow.
I configured the build environment like so
Using run-octave fails, so I cd'ed to the src directory and used
results were
You can see that ASAN starts to write out on file descriptor 2 (stderr). Later there is
which sure looks like it was writing "heap-buffer-overflow". Obviously stderr must have been redirected somewhere because I don't get these on the screen.
@jwe: Is there a way to temporarily halt the redirection of stderr while debugging this?
|