This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/2] 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>
- Cc: Keven Boell <keven dot boell at intel dot com>, gdb-patches at sourceware dot org, sanimir dot agovic at intel dot com
- Date: Tue, 12 Aug 2014 08:55:55 +0200
- Subject: Re: [patch 1/2] 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> <53DB3FB3 dot 6050601 at linux dot intel dot com> <20140801210217 dot GA26015 at host2 dot jankratochvil dot net>
On 01.08.2014 23:02, Jan Kratochvil wrote:
> On Fri, 01 Aug 2014 09:20:19 +0200, Keven Boell wrote:
>> 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.
>
> I have it reproducible on Fedora 20 i686 with plain
> CFLAGS=-g ./configure;make;cd gdb/testsuite;make site.exp;runtest gdb.fortran/dynamic-other-frame.exp
>
> Besides that I have updated the testcase with
> gdb_test_no_output "set print frame-arguments all"
> so that there is no longer needed the patch:
> [patch] Display Fortran strings in backtraces
> https://sourceware.org/ml/gdb-patches/2014-07/msg00709.html
>
> The fix below has no regressions for me. Unfortunately I do not see why you
> cannot reproduce it.
>
I installed gcc 4.9 on my FC20 32bit system and tried to reproduce the issue like
you mentioned above. Also this command sequence doesn't give me a crash. However
I added the patch, which fixes the issue on your end, you mentioned in a different mail
on the patch series and ran a make check with and without the patch. No regressions
detected on my system. I've pushed the new series to Github:
https://github.com/intel-gdb/vla/tree/vla-fortran
Could you please give it a try?
>
> Thanks,
> Jan
>
Thanks,
Keven