From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8128 invoked by alias); 9 Oct 2014 15:48:18 -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 8118 invoked by uid 89); 9 Oct 2014 15:48:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD 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; Thu, 09 Oct 2014 15:48:17 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s99FmG55014847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 9 Oct 2014 11:48:16 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s99FmEAK021822; Thu, 9 Oct 2014 11:48:15 -0400 Message-ID: <5436AE3E.2030700@redhat.com> Date: Thu, 09 Oct 2014 15:48:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: Crash regression for annota1.exp w/vDSO debuginfo [Re: [pushed] Re: [PATCH v6 0/2] enable target-async by default] References: <1400878753-24688-1-git-send-email-palves@redhat.com> <538739A2.2050105@redhat.com> <20141005140039.GA21344@host2.jankratochvil.net> In-Reply-To: <20141005140039.GA21344@host2.jankratochvil.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-10/txt/msg00205.txt.bz2 On 10/05/2014 03:00 PM, Jan Kratochvil wrote: > On Thu, 29 May 2014 15:44:02 +0200, Pedro Alves wrote: >> I went ahead and pushed this all in, with Eli's comments addressed. > > 329ea57934a9d4b250a0b417af1ec47bc2d0ceb6 is the first bad commit > commit 329ea57934a9d4b250a0b417af1ec47bc2d0ceb6 > Author: Pedro Alves > Date: Thu May 29 19:58:57 2014 +0100 > > enable target async by default; separate MI and target notions of async > > CFLAGS=-g ./configure --without-guile --with-separate-debug-dir=/usr/lib/debug;make;cd gdb/testsuite;make site.exp;i=0;while runtest gdb.base/annota1.exp;! grep 'called with no handler' gdb.log ;do i=$[$i+1];echo -----------$i;done > > Starting program: .../gdb/testsuite/gdb.base/annota1 ^M > warning: section not found in /usr/lib/debug/lib/modules/3.16.3-200.fc20.x86_64/vdso/vdso64.so.debug^M > [...] > FAIL: gdb.base/annota1.exp: run until main breakpoint (timeout) > [...] > readline: readline_callback_read_char() called with no handler!^M > ERROR: Process no longer exists Thanks for the reproducer. After investigation with a lot of head scratching staring at hacked in logs in select place, in the end this turned out to be real simple to trigger. All it takes is turning on annotations, do "c", and type something while the program is running... I've filed PR 17472 for this. I'll send a series fixing this and a couple other terminal/readline issues shortly. Thanks, Pedro Alves