From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 691 invoked by alias); 21 Aug 2014 07:27:54 -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 666 invoked by uid 89); 21 Aug 2014 07:27:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mga02.intel.com Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Aug 2014 07:27:52 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 21 Aug 2014 00:27:28 -0700 X-ExtLoop1: 1 Received: from kboell-mobl2.ger.corp.intel.com (HELO [172.28.205.55]) ([172.28.205.55]) by orsmga002.jf.intel.com with ESMTP; 21 Aug 2014 00:27:21 -0700 Message-ID: <53F59F59.4010005@linux.intel.com> Date: Thu, 21 Aug 2014 07:27:00 -0000 From: Keven Boell User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Jan Kratochvil 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] 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> <20140812215532.GA21463@host2.jankratochvil.net> <20140814200252.GA5856@host2.jankratochvil.net> <53F4ABBE.8030408@linux.intel.com> <20140820182413.GA27539@host2.jankratochvil.net> In-Reply-To: <20140820182413.GA27539@host2.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00465.txt.bz2 On 20.08.2014 20:24, Jan Kratochvil wrote: > On Wed, 20 Aug 2014 16:07:58 +0200, Keven Boell wrote: >> Finally I was able to reproduce the crash in some of the VLA tests when >> compiling with -fsanitize=address on FC20 32bit. >> I've pushed a fix to >> https://github.com/intel-gdb/vla/tree/vla-fortran >> >> Let me know if this works for you now. At least on my FC20 32bit system it does >> not crash anymore. > > I find this fix probably unrelated (as it is a completely different code) to > the internal error (formerly silent crash). This prevents the crash I had on my F20 32bit box in f-typeprint.c when compiling with -fsanitize=address. The crash occurred in one of our tests. The other crashes you reported I'm unfortunately still not able to reproduce (tried different gcc versions, 32/64bit). Since it seems that your environment differs from a clean FC20, it is hard for me to reproduce and debug the issues you observe. E.g. if I try to execute your compiled GDB on FC20 32bit, I get errors that some shared libraries are missing (e.g. libbabeltrace.so.1). So I wonder how we should go on from here? > > Tested 15f4f87976493f6e144a9bdb5eb7f0109543a393: > > runtest gdb.fortran/dynamic-other-frame.exp > [...] > (gdb) bt^M > #0 0x000000000040071d in bar_ ()^M > #1 0x00000000004006c7 in foo (string=gdbtypes.c:2009: internal-error: dynamic_prop_get_const_val_ptr: Assertion `prop->kind == PROP_CONST' failed.^M > A problem internal to GDB has been detected,^M > > Fedora {20,21} {x86_64,i686}: internal-error > Fedora {21,21} x86_64 -m32: PASS > > But it depends on something suspicious, for a given build the testsuite > results are stable but for builds done at different time / under different > configurations the results differ. Do you know what configuration exactly caused this? > > > Could you first check-in the gdb.fortran/dynamic-other-frame.exp testcase to > the Intel branch? I find it difficult to catch a crash of a testcase not even > present in your repository. > 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? > > Thanks, > Jan > Thanks, Keven