[patch 1/2] Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support]
Keven Boell
keven.boell@linux.intel.com
Tue Aug 12 06:56:00 GMT 2014
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
More information about the Gdb-patches
mailing list