[1/2] Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support]

Message ID 20140822071957.GA5594@host2.jankratochvil.net
State New, archived
Headers

Commit Message

Jan Kratochvil Aug. 22, 2014, 7:19 a.m. UTC
  On Thu, 21 Aug 2014 09:27:21 +0200, Keven Boell wrote:
> I've pushed the dynamic-other-frame test to our Github repository.
> Could you please try to compile and run the tests on a clean FC20 32bit machine?

Please check-in also the attached modification on top of it.
I also have the internal-error also unreproducible with the testcase currently
present on the https://github.com/intel-gdb/vla.git branch vla-fortran.

Unfortunately even with the patch attached it sometimes does not crash for me
- such as in a clean VM I tried to install.  But there is now at least
a chance you can have the bug reproducible.

(Sorry I haven't yet tracked down the bug myself as I promised yesterday.)


Thanks,
Jan
  

Patch

--- a/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp
+++ b/gdb/testsuite/gdb.fortran/dynamic-other-frame.exp
@@ -29,6 +29,8 @@  if { [gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${objfile2}" object {f90}]
 
 clean_restart ${executable}
 
+gdb_test_no_output "set print frame-arguments all"
+
 if ![runto bar_] then {
     perror "couldn't run to bar_"
     continue