public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/43227]  New: [fortran-dev Regression] ICE: segmentation fault in mio_expr
@ 2010-03-02  9:45 dominiq at lps dot ens dot fr
  2010-04-15 21:30 ` [Bug fortran/43227] " janus at gcc dot gnu dot org
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-02  9:45 UTC (permalink / raw)
  To: gcc-bugs

Compiling the original test for pr43199 with fortran-dev revision 157148 gives
a segmentation fault:

(gdb) run pr43199.f90
Starting program: /opt/gcc/gcc4.5d/libexec/gcc/x86_64-apple-darwin10/4.5.0/f951
pr43199.f90
Reading symbols for shared libraries .++++++++++++..... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010005a6a5 in mio_expr (ep=<value temporarily unavailable, due to
optimizations>) at ../../for_work/gcc/fortran/module.c:3074
3074                write_atom (ATOM_STRING, e->value.function.isym->name);
(gdb) bt
#0  0x000000010005a6a5 in mio_expr (ep=<value temporarily unavailable, due to
optimizations>) at ../../for_work/gcc/fortran/module.c:3074
#1  0x000000010005ac8d in mio_charlen (clp=0x1418425f0) at
../../for_work/gcc/fortran/module.c:2050
#2  0x000000010005a4df in mio_typespec (ts=0x1418425e8) at
../../for_work/gcc/fortran/module.c:2106
#3  0x000000010005b377 in mio_component (c=0x1418425e0) at
../../for_work/gcc/fortran/module.c:2343
#4  0x000000010005b578 in mio_symbol (sym=0x141841880) at
../../for_work/gcc/fortran/module.c:2393
#5  0x000000010005b9ed in write_symbol (n=4, sym=0x141841880) at
../../for_work/gcc/fortran/module.c:4787
#6  0x000000010005ba9f in write_symbol1 (p=0x1418b4570) at
../../for_work/gcc/fortran/module.c:4856
#7  0x000000010005ba65 in write_symbol1 (p=0x1418b1990) at
../../for_work/gcc/fortran/module.c:4860
#8  0x000000010005ba53 in write_symbol1 (p=0x1418b1bd0) at
../../for_work/gcc/fortran/module.c:4851
#9  0x000000010005ba53 in write_symbol1 (p=0x1418b25f0) at
../../for_work/gcc/fortran/module.c:4851
#10 0x000000010005ba65 in write_symbol1 (p=0x1418acad0) at
../../for_work/gcc/fortran/module.c:4860
#11 0x000000010005ba53 in write_symbol1 (p=0x1418b3a30) at
../../for_work/gcc/fortran/module.c:4851
#12 0x000000010005ba65 in write_symbol1 (p=0x1418ac890) at
../../for_work/gcc/fortran/module.c:4860
#13 0x000000010005ba65 in write_symbol1 (p=0x1418ac650) at
../../for_work/gcc/fortran/module.c:4860
#14 0x000000010005ba53 in write_symbol1 (p=0x1418b3c70) at
../../for_work/gcc/fortran/module.c:4851
#15 0x000000010005ba65 in write_symbol1 (p=0x1418ab9f0) at
../../for_work/gcc/fortran/module.c:4860
#16 0x000000010005ba53 in write_symbol1 (p=0x1418b1510) at
../../for_work/gcc/fortran/module.c:4851
#17 0x000000010005d6dc in gfc_dump_module (name=0x7fff5fbfd3dd "",
dump_flag=<value temporarily unavailable, due to optimizations>) at
../../for_work/gcc/fortran/module.c:5006
#18 0x0000000100069b5b in gfc_parse_file () at
../../for_work/gcc/fortran/parse.c:4226
#19 0x00000001000a2f4c in gfc_be_parse_file (set_yydebug=<value temporarily
unavailable, due to optimizations>) at
../../for_work/gcc/fortran/f95-lang.c:239
#20 0x00000001006d61ea in toplev_main (argc=2, argv=0x7fff5fbfd968) at
../../for_work/gcc/toplev.c:1053
#21 0x00000001000017f4 in start ()

Note that this pr may be related to or a duplicate of pr42274. Since the exact
places of the segmentation fault are different, I prefer to open a new pr. If
this pr is a duplicate, please feel free to close it.


-- 
           Summary: [fortran-dev Regression] ICE: segmentation fault in
                    mio_expr
           Product: gcc
           Version: fortran-dev
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr


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


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

end of thread, other threads:[~2010-04-24 12:31 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02  9:45 [Bug fortran/43227] New: [fortran-dev Regression] ICE: segmentation fault in mio_expr dominiq at lps dot ens dot fr
2010-04-15 21:30 ` [Bug fortran/43227] " janus at gcc dot gnu dot org
2010-04-16  7:37 ` paul dot richard dot thomas at gmail dot com
2010-04-18 11:09 ` [Bug fortran/43227] [4.5 " janus at gcc dot gnu dot org
2010-04-18 11:49 ` [Bug fortran/43227] [4.5/4.6 " dominiq at lps dot ens dot fr
2010-04-18 16:19 ` dominiq at lps dot ens dot fr
2010-04-18 16:42 ` janus at gcc dot gnu dot org
2010-04-18 17:34 ` pault at gcc dot gnu dot org
2010-04-18 18:30 ` pault at gcc dot gnu dot org
2010-04-19 12:13 ` pault at gcc dot gnu dot org
2010-04-19 12:33 ` dominiq at lps dot ens dot fr
2010-04-19 12:52 ` janus at gcc dot gnu dot org
2010-04-19 13:07 ` dominiq at lps dot ens dot fr
2010-04-19 13:22 ` janus at gcc dot gnu dot org
2010-04-19 13:46 ` janus at gcc dot gnu dot org
2010-04-19 13:55 ` dominiq at lps dot ens dot fr
2010-04-19 15:13 ` burnus at gcc dot gnu dot org
2010-04-19 18:47 ` janus at gcc dot gnu dot org
2010-04-19 18:48 ` pault at gcc dot gnu dot org
2010-04-19 20:13 ` dominiq at lps dot ens dot fr
2010-04-19 21:16 ` pault at gcc dot gnu dot org
2010-04-19 21:34 ` janus at gcc dot gnu dot org
2010-04-20  5:00 ` pault at gcc dot gnu dot org
2010-04-20  6:19 ` pault at gcc dot gnu dot org
2010-04-20  9:18 ` dominiq at lps dot ens dot fr
2010-04-20  9:31 ` paul dot richard dot thomas at gmail dot com
2010-04-20 19:08 ` pault at gcc dot gnu dot org
2010-04-21  4:27 ` [Bug fortran/43227] [4.5 " pault at gcc dot gnu dot org
2010-04-24 12:30 ` pault at gcc dot gnu dot org
2010-04-24 12:31 ` pault 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).