This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/59654] Broken function table with complex OO use case


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59654

--- Comment #4 from tlcclt <Thomas.L.Clune at nasa dot gov> ---
OK - had a bit of time waiting for the New Year countdown â  so read up a bit
on valgrind. 

A vanilla run under Linux with 4.9.0 gave the following, which seems
encouraging, albeit cryptic:

% gfortran -O0 -g allinone.F90
% valgrind ./a.out
==4724== Memcheck, a memory error detector
==4724== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==4724== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==4724== Command: ./a.out
==4724==
--4724-- WARNING: Serious error when reading debug info
--4724-- When reading debug info from /gpfsm/dhome/tclune/a.out:
--4724-- Ignoring non-Dwarf2/3 block in .debug_info
./a.out: error while loading shared libraries: libquadmath.so.0: cannot open
shared object file: No such file or directory
==4724== Jump to the invalid address stated on the next line
==4724==    at 0x4DE: ???
==4724==    by 0x400DEC7: _dl_signal_error (in /lib64/ld-2.11.1.so)
==4724==    by 0x400CFD2: _dl_map_object_deps (in /lib64/ld-2.11.1.so)
==4724==    by 0x40032B3: dl_main (in /lib64/ld-2.11.1.so)
==4724==    by 0x4014979: _dl_sysdep_start (in /lib64/ld-2.11.1.so)
==4724==    by 0x40013D0: _dl_start (in /lib64/ld-2.11.1.so)
==4724==    by 0x4000B07: ??? (in /lib64/ld-2.11.1.so)
==4724==  Address 0x4de is not stack'd, malloc'd or (recently) free'd
==4724==
==4724==
==4724== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==4724==  Bad permissions for mapped region at address 0x4DE
==4724==    at 0x4DE: ???
==4724==    by 0x400DEC7: _dl_signal_error (in /lib64/ld-2.11.1.so)
==4724==    by 0x400CFD2: _dl_map_object_deps (in /lib64/ld-2.11.1.so)
==4724==    by 0x40032B3: dl_main (in /lib64/ld-2.11.1.so)
==4724==    by 0x4014979: _dl_sysdep_start (in /lib64/ld-2.11.1.so)
==4724==    by 0x40013D0: _dl_start (in /lib64/ld-2.11.1.so)
==4724==    by 0x4000B07: ??? (in /lib64/ld-2.11.1.so)
==4724==
==4724== HEAP SUMMARY:
==4724==     in use at exit: 0 bytes in 0 blocks
==4724==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==4724==
==4724== All heap blocks were freed -- no leaks are possible
==4724==
==4724== For counts of detected and suppressed errors, rerun with: -v
==4724== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)



Thanks for helping with this!

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]