This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support]
- From: Keven Boell <keven dot boell at linux dot intel dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, Keven Boell <keven dot boell at intel dot com>
- Cc: gdb-patches at sourceware dot org, sanimir dot agovic at intel dot com
- Date: Fri, 01 Aug 2014 09:20:19 +0200
- Subject: Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support]
- Authentication-results: sourceware.org; auth=none
- References: <1405070495-6948-1-git-send-email-keven dot boell at intel dot com> <20140729183023 dot GA17443 at host2 dot jankratochvil dot net> <20140729202710 dot GA20874 at host2 dot jankratochvil dot net>
On 29.07.2014 22:27, Jan Kratochvil wrote:
> On Tue, 29 Jul 2014 20:30:23 +0200, Jan Kratochvil wrote:
>> I get a crash on 32-bit host (not on x86_64 and neither on x86_64 debugging
>> 32-bit target built with -m32). Tested Fedora 21pre and Fedora Rawhide.
>
> Verified it crashes also on Fedora 20 i686 (released distro) to make the
> reproducibility easier.
>
>
> Jan
>
Hi Jan,
I just tried it on Fedora 20 i686. Applied the patch, you mentioned, on top of
the Fortran VLA series and executed your dynamic-other-frame test. Everything
is working fine here, I cannot reproduce the crash. Did you apply also other
patches on top? Was it a clean system where you tried the patches?
(gdb) bt
#0 0x080485ca in bar_ ()
#1 0x0804856b in foo (string='hello', _string=5) at ../../../gdb/testsuite/gdb.fortran/dynamic-other-frame.f90:27
#2 0x08048587 in test () at ../../../gdb/testsuite/gdb.fortran/dynamic-other-frame.f90:35
#3 0x080485bd in main (argc=1, argv=0xbfffec4e) at ../../../gdb/testsuite/gdb.fortran/dynamic-other-frame.f90:36
#4 0x4301ab83 in __libc_start_main () from /lib/libc.so.6
#5 0x08048471 in _start ()
- Keven