public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40005]  New: segfault in gt_ggc_mx_lang_tree_node
@ 2009-05-02 12:14 jv244 at cam dot ac dot uk
  2009-05-02 12:22 ` [Bug fortran/40005] " jv244 at cam dot ac dot uk
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-05-02 12:14 UTC (permalink / raw)
  To: gcc-bugs

GNU Fortran (GCC) version 4.5.0 20090422 (experimental) [trunk revision 146549]

at -O0 segfaults on a recent CP2K:

http://www.pci.uzh.ch/vandevondele/tmp/CP2K_2009-05-01.f90.gz

with the following bt from within gdb:

gdb
/data03/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/f951
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
(gdb) run CP2K_2009-05-01.f90 -quiet -dumpbase all.f90 -mtune=generic -auxbase
all -version -fintrinsic-modules-path
/data03/vondele/gcc_trunk/build/lgcc/x86_64-unknown-linux-gnu/4.5.0/finclude -o
/tmp/ccxw5dCZ.s
Starting program:
/data03/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/f951
CP2K_2009-05-01.f90 -quiet -dumpbase all.f90 -mtune=generic -auxbase all
-version -fintrinsic-modules-path
/data03/vondele/gcc_trunk/build/lgcc/x86_64-unknown-linux-gnu/4.5.0/finclude -o
/tmp/ccxw5dCZ.s
GNU Fortran (GCC) version 4.5.0 20090422 (experimental) [trunk revision 146549]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20090422 (experimental) [trunk revision
146549], GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU Fortran (GCC) version 4.5.0 20090422 (experimental) [trunk revision 146549]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20090422 (experimental) [trunk revision
146549], GMP version 4.2.2, MPFR version 2.3.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Program received signal SIGSEGV, Segmentation fault.
gt_ggc_mx_lang_tree_node (x_p=0x7f5aed321540) at ./gt-fortran-f95-lang.h:46
46      {
(gdb) bt
#0  gt_ggc_mx_lang_tree_node (x_p=0x7f5aed321540) at ./gt-fortran-f95-lang.h:46
#1  0x00000000005283d9 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at ./gt-fortran-f95-lang.h:314
#2  0x000000000052841f in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at ./gt-fortran-f95-lang.h:319
#3  0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at ./gt-fortran-f95-lang.h:337
#4  0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at ./gt-fortran-f95-lang.h:337

looks like some crazy recursion:

#31575 0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized
out>) at ./gt-fortran-f95-lang.h:337
#31576 0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized
out>) at ./gt-fortran-f95-lang.h:337
#31577 0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized
out>) at ./gt-fortran-f95-lang.h:337
#31578 0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized
out>) at ./gt-fortran-f95-lang.h:337
#31579 0x0000000000528487 in gt_ggc_mx_lang_tree_node (x_p=<value optimized
out>) at ./gt-fortran-f95-lang.h:337


-- 
           Summary: segfault in gt_ggc_mx_lang_tree_node
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

end of thread, other threads:[~2009-07-25 13:45 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-02 12:14 [Bug fortran/40005] New: segfault in gt_ggc_mx_lang_tree_node jv244 at cam dot ac dot uk
2009-05-02 12:22 ` [Bug fortran/40005] " jv244 at cam dot ac dot uk
2009-05-02 12:43 ` jv244 at cam dot ac dot uk
2009-05-02 13:44 ` jv244 at cam dot ac dot uk
2009-05-03 17:15 ` pault at gcc dot gnu dot org
2009-05-03 17:52 ` rguenth at gcc dot gnu dot org
2009-05-03 18:59 ` jv244 at cam dot ac dot uk
2009-05-03 19:14 ` jv244 at cam dot ac dot uk
2009-05-03 19:37 ` rguenth at gcc dot gnu dot org
2009-05-04  4:39 ` jv244 at cam dot ac dot uk
2009-05-04  7:12 ` jv244 at cam dot ac dot uk
2009-05-04  7:49 ` jv244 at cam dot ac dot uk
2009-05-05 20:45 ` pinskia at gcc dot gnu dot org
2009-05-05 20:48 ` pinskia at gcc dot gnu dot org
2009-05-06  4:37 ` jv244 at cam dot ac dot uk
2009-05-07 14:32 ` jv244 at cam dot ac dot uk
2009-05-09 14:57 ` jv244 at cam dot ac dot uk
2009-05-29  3:00 ` pinskia at gcc dot gnu dot org
2009-06-20 17:37 ` jv244 at cam dot ac dot uk
2009-07-21  7:54 ` jv244 at cam dot ac dot uk
2009-07-24 11:56 ` rguenth at gcc dot gnu dot org
2009-07-24 12:28 ` jv244 at cam dot ac dot uk
2009-07-24 15:33 ` rguenth at gcc dot gnu dot org
2009-07-24 15:43 ` jv244 at cam dot ac dot uk
2009-07-24 15:46 ` rguenth at gcc dot gnu dot org
2009-07-24 15:54 ` rguenth at gcc dot gnu dot org
2009-07-24 16:04 ` jv244 at cam dot ac dot uk
2009-07-24 16:05 ` jv244 at cam dot ac dot uk
2009-07-24 16:13 ` rguenth at gcc dot gnu dot org
2009-07-24 16:48 ` jv244 at cam dot ac dot uk
2009-07-24 16:51 ` rguenth at gcc dot gnu dot org
2009-07-24 16:57 ` jv244 at cam dot ac dot uk
2009-07-24 17:00 ` jv244 at cam dot ac dot uk
2009-07-24 17:14 ` rguenth at gcc dot gnu dot org
2009-07-24 17:31 ` jv244 at cam dot ac dot uk
2009-07-24 19:14 ` rguenth at gcc dot gnu dot org
2009-07-25 11:03 ` jv244 at cam dot ac dot uk
2009-07-25 11:12 ` rguenth at gcc dot gnu dot org
2009-07-25 13:45 ` rguenth at gcc dot gnu dot org
2009-07-25 13:45 ` rguenth at gcc dot gnu dot 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).