This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55341] address-sanitizer and Fortran
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Dec 2012 13:41:16 +0000
- Subject: [Bug fortran/55341] address-sanitizer and Fortran
- Auto-submitted: auto-generated
- References: <bug-55341-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-10 13:41:16 UTC ---
(In reply to comment #11)
> > >> ./a.out | python ./asan_symbolize.py
> > I> =================================================================
> ==45957== ERROR: AddressSanitizer: stack-buffer-underflow on address
> 0x7fff9752bdd8 at pc 0x400922 bp 0x7fff9752bda0 sp 0x7fff9752bd98
> WRITE of size 4 at 0x7fff9752bdd8 thread T0
> #0 0x400921 in test_asan_01_ ??:0
> #1 0x400942 in MAIN__ asan_test.f90:0
> #2 0x400978 in main ??:0
> #3 0x351661ecdc in ?? ??:0
> Address 0x7fff9752bdd8 is located at offset 24 in frame <test_asan_01> of T0's
> stack:
That means your addr2line is too old.
You need at least addr2line with
http://sourceware.org/ml/binutils-cvs/2012-04/msg00119.html
changes to cope with GCC 4.8 emitted DWARF 4.