public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/64986] New: class_to_type_4.f90: valgrind error: Invalid read/write of size 8
@ 2015-02-09 18:29 ubizjak at gmail dot com
  2015-02-09 18:31 ` [Bug fortran/64986] " ubizjak at gmail dot com
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: ubizjak at gmail dot com @ 2015-02-09 18:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64986

            Bug ID: 64986
           Summary: class_to_type_4.f90: valgrind error: Invalid
                    read/write of size 8
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

/ssd/uros/gcc-build/gcc/gfortran -B /ssd/uros/gcc-build/gcc -B
/ssd/uros/gcc-build/x86_64-unknown-linux-gnu/libgfortran/ -L
/ssd/uros/gcc-build/x86_64-unknown-linux-gnu/libgfortran/.libs/ -L
/ssd/uros/gcc-build/x86_64-unknown-linux-gnu/libquadmath/.libs/ -O2 -g
class_to_type_4.f90

$ valgrind ./a.out
==991== Memcheck, a memory error detector
==991== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==991== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==991== Command: ./a.out
==991== 
==991== Invalid read of size 8
==991==    at 0x401F8F: MAIN__ (class_to_type_4.f90:58)
==991==    by 0x40076C: main (class_to_type_4.f90:63)
==991==  Address 0x51afcb8 is 8 bytes inside a block of size 104 free'd
==991==    at 0x4A07CE9: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==991==    by 0x401F8E: MAIN__ (class_to_type_4.f90:58)
==991==    by 0x40076C: main (class_to_type_4.f90:63)
==991== 
==991== Invalid write of size 8
==991==    at 0x401FAB: MAIN__ (class_to_type_4.f90:58)
==991==    by 0x40076C: main (class_to_type_4.f90:63)
==991==  Address 0x51afcb8 is 8 bytes inside a block of size 104 free'd
==991==    at 0x4A07CE9: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==991==    by 0x401F8E: MAIN__ (class_to_type_4.f90:58)
==991==    by 0x40076C: main (class_to_type_4.f90:63)
==991==


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-07-25 19:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-09 18:29 [Bug fortran/64986] New: class_to_type_4.f90: valgrind error: Invalid read/write of size 8 ubizjak at gmail dot com
2015-02-09 18:31 ` [Bug fortran/64986] " ubizjak at gmail dot com
2015-02-13 10:37 ` dominiq at lps dot ens.fr
2015-02-13 15:33 ` paul.richard.thomas at gmail dot com
2015-02-16 15:36 ` dominiq at lps dot ens.fr
2015-04-03  0:10 ` hp at gcc dot gnu.org
2015-04-03 10:01 ` dominiq at lps dot ens.fr
2015-04-03 12:23 ` dominiq at lps dot ens.fr
2015-04-16  5:06 ` hp at gcc dot gnu.org
2015-07-18 13:24 ` mikael at gcc dot gnu.org
2015-07-21 10:02 ` dominiq at lps dot ens.fr
2015-07-22 16:24 ` mikael at gcc dot gnu.org
2015-07-23  7:04 ` paul.richard.thomas at gmail dot com
2015-07-24 13:55 ` mikael at gcc dot gnu.org
2015-07-24 14:45 ` mikael at gcc dot gnu.org
2015-07-24 19:47 ` mikael at gcc dot gnu.org
2015-07-25 19:20 ` mikael at gcc dot gnu.org
2015-07-25 19:23 ` mikael at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).