From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14142 invoked by alias); 12 Aug 2014 21:55:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14128 invoked by uid 89); 12 Aug 2014 21:55:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 12 Aug 2014 21:55:39 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7CLtaCC025134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Aug 2014 17:55:36 -0400 Received: from host2.jankratochvil.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7CLtWxP007576 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Tue, 12 Aug 2014 17:55:35 -0400 Date: Tue, 12 Aug 2014 21:55:00 -0000 From: Jan Kratochvil To: Keven Boell Cc: Keven Boell , gdb-patches@sourceware.org, sanimir.agovic@intel.com Subject: Re: [patch 1/2] Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support] Message-ID: <20140812215532.GA21463@host2.jankratochvil.net> References: <1405070495-6948-1-git-send-email-keven.boell@intel.com> <20140729183023.GA17443@host2.jankratochvil.net> <20140729202710.GA20874@host2.jankratochvil.net> <53DB3FB3.6050601@linux.intel.com> <20140801210217.GA26015@host2.jankratochvil.net> <53E9BA7B.1080202@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53E9BA7B.1080202@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00202.txt.bz2 On Tue, 12 Aug 2014 08:55:55 +0200, Keven Boell wrote: > On 01.08.2014 23:02, Jan Kratochvil wrote: > > 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 This is unrelated to gcc 4.9. The problem occurs with standard Fedora 20 i686 compiler which is currently gcc-4.8.3-1.fc20.i686. I have tried this evening to really reproduce it in 32-bit VM but it does not happen there, despite all the involved packages are exactly the same build. IMO it has to depend also on my x86_64 kernel where I run the i686 host in mock chroot - but I did not try to reproduce it cleanly now. Providing at least 32-bit build of GDB and its core: http://people.redhat.com/jkratoch/gdb-bt.tar.xz It is from the latest Intel vla.git clean commit: 364a416f43095996835d635561e22edceb53d380 > 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 The difference of this new branch is only in: https://github.com/intel-gdb/vla/commit/364a416f43095996835d635561e22edceb53d380 This is a part of: [patch 2/2] Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support] https://sourceware.org/ml/gdb-patches/2014-08/msg00026.html but that patch did not fix the bug, it was only trying to add some sanity checking (which did not work, though). The fix of the F20 i686 bug was this patch: [patch 1/2] Re: Crash regression(?) printing Fortran strings in bt [Re: [V2 00/23] Fortran dynamic array support] https://sourceware.org/ml/gdb-patches/2014-08/msg00025.html No part of that patch is in the github branch, even not the testcase. I have verified If I apply the testcase from [patch 1/2] (=the latter one) GDB still crashes - that is the core file gdb-bt.tar.xz above. Thanks, Jan