This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: ICE seg fault


Steve Kargl wrote:
On Mon, Jul 30, 2007 at 09:00:50PM +0200, Florian Ladstaedter wrote:
gdb --args /usr/local/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951 AtmoIonoSphere.f90 -quiet -dumpbase AtmoIonoSphere.f90 -mtune=generic -auxbase AtmoIonoSphere -J../include -fintrinsic-modules-path /usr/local/lib/gcc/i686-pc-linux-gnu/4.3.0/finclude -o /tmp/ccGaibCk.s
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".


(gdb) run
Starting program: /usr/local/libexec/gcc/i686-pc-linux-gnu/4.3.0/f951 AtmoIonoSphere.f90 -quiet -dumpbase AtmoIonoSphere.f90 -mtune=generic -auxbase AtmoIonoSphere -J../include -fintrinsic-modules-path /usr/local/lib/gcc/i686-pc-linux-gnu/4.3.0/finclude -o /tmp/ccGaibCk.s


Program received signal SIGSEGV, Segmentation fault.
0x08064563 in check_specification_function (e=<value optimized out>) at ../../gcc/gcc/fortran/expr.c:696
696 sym = e->symtree->n.sym;

Florian,


Can you issue the 'bt' command at the (gdb) prompt and report
the back trace?




Program received signal SIGSEGV, Segmentation fault.
0x08064563 in check_specification_function (e=<value optimized out>) at ../../gcc/gcc/fortran/expr.c:696
696 sym = e->symtree->n.sym;
(gdb) bt
#0 0x08064563 in check_specification_function (e=<value optimized out>) at ../../gcc/gcc/fortran/expr.c:696
#1 0x0806549d in gfc_is_constant_expr (e=0x8901e30) at ../../gcc/gcc/fortran/expr.c:740
#2 0x080a2cca in resolve_symbol (sym=0x8a9ef20) at ../../gcc/gcc/fortran/resolve.c:6717
#3 0x080ad13d in traverse_ns (st=0x88f3710, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2875
#4 0x080ad123 in traverse_ns (st=0x8949278, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#5 0x080ad123 in traverse_ns (st=0x8949138, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#6 0x080ad123 in traverse_ns (st=0x8949778, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#7 0x080ad123 in traverse_ns (st=0x89498b8, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#8 0x080ad123 in traverse_ns (st=0x894a8f8, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#9 0x080ad123 in traverse_ns (st=0x894c6f8, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#10 0x080ad123 in traverse_ns (st=0x89484b8, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#11 0x080ad123 in traverse_ns (st=0x895cfc8, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#12 0x080ad123 in traverse_ns (st=0x8989aa8, func=0x80a1c20 <resolve_symbol>) at ../../gcc/gcc/fortran/symbol.c:2878
#13 0x0809e186 in resolve_types (ns=0x88c55c8) at ../../gcc/gcc/fortran/resolve.c:8456
#14 0x080a1bfc in gfc_resolve (ns=0x88c55c8) at ../../gcc/gcc/fortran/resolve.c:8535
#15 0x08094040 in gfc_parse_file () at ../../gcc/gcc/fortran/parse.c:3288
#16 0x080b96cd in gfc_be_parse_file (set_yydebug=0) at ../../gcc/gcc/fortran/f95-lang.c:301
#17 0x0832dc18 in toplev_main (argc=13, argv=0xbfc869c4) at ../../gcc/gcc/toplev.c:1043
#18 0x0810069f in main (argc=145314838, argv=0x88daf5e) at ../../gcc/gcc/main.c:35




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