This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/15755] gfortran: backspace call causes bus error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2004 23:04:23 -0000
- Subject: [Bug libfortran/15755] gfortran: backspace call causes bus error
- References: <20040531225508.15755.amor@eos.ubc.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-31 23:04 -------
Here is the backtrace:
(gdb) run
Starting program: /home/gates/pinskia/src/gnu/gcctest/a.out
10
global control parameters
found header
d1 north haven tce oxidation
Program received signal SIGBUS, Bus error.
_gfortran_read_block (length=0xbffec198) at /home/gates/pinskia/src/gnu/gcc/src/libgfortran/io/
transfer.c:148
148 if (*q == '\n')
(gdb) bt
#0 _gfortran_read_block (length=0xbffec198) at /home/gates/pinskia/src/gnu/gcc/src/libgfortran/io/
transfer.c:148
#1 0x40041a76 in _gfortran_read_a (f=0x400588c7, p=0xbffec280 "\026?\001@?
\203\001@\214a\001@?C\001@\006", length=72)
at /home/gates/pinskia/src/gnu/gcc/src/libgfortran/io/read.c:289
#2 0x40043335 in formatted_transfer (type=BT_CHARACTER, p=0xbffec280, len=72) at /home/gates/
pinskia/src/gnu/gcc/src/libgfortran/io/transfer.c:560
#3 0x40042bbb in _gfortran_transfer_character (p=0x400588c7, len=1074104519) at /home/gates/
pinskia/src/gnu/gcc/src/libgfortran/io/transfer.c:775
#4 0x08048bbc in MAIN__ ()
#5 0x08048d23 in main (argc=1074104519, argv=0x400588c7) at /home/gates/pinskia/src/gnu/
gcc/src/libgfortran/fmain.c:18
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15755