From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42405 invoked by alias); 28 Jan 2020 13:28:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 42398 invoked by uid 89); 28 Jan 2020 13:28:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_50,FORGED_SPF_HELO,KHOP_HELO_FCRDNS,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=excel, UD:x86_64, Excel, Rockefeller X-HELO: re-prd-fep-049.btinternet.com Received: from mailomta2-re.btinternet.com (HELO re-prd-fep-049.btinternet.com) (213.120.69.95) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Jan 2020 13:28:29 +0000 Received: from re-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.54.5]) by re-prd-fep-049.btinternet.com with ESMTP id <20200128132827.TIRP30084.re-prd-fep-049.btinternet.com@re-prd-rgout-002.btmx-prd.synchronoss.net>; Tue, 28 Jan 2020 13:28:27 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-OWM-Source-IP: 31.51.207.12 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean Received: from [192.168.1.106] (31.51.207.12) by re-prd-rgout-002.btmx-prd.synchronoss.net (5.8.337) (authenticated as jonturney@btinternet.com) id 5E2304880175047D; Tue, 28 Jan 2020 13:28:27 +0000 Subject: Re: cin and read(*,*) not waiting for kbd input in gdb To: The Cygwin Mailing List References: <552d8b06cb6e431fb00f581c7853b795@vsrv060ex01.ssd.fsi.com> <78b75f32051c4c83a43b0adc2c65dbb5@vsrv060ex01.ssd.fsi.com> <691b0f69130c46ad90ea6ddf93d3b1be@vsrv060ex01.ssd.fsi.com> Cc: "Rockefeller, Harry" From: Jon Turney Message-ID: Date: Tue, 28 Jan 2020 13:28:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2020-01/txt/msg00268.txt.bz2 On 27/01/2020 16:44, Rockefeller, Harry wrote: > I don't know if this is a gdb or a Cygwin implementation of gdb that is a problem. > Since I can go back to gdb version 8.1.1-1 this is not a problem for me now. > Here is a test case using the Fortran source above: > > $ gfortran -g test1.f -o test1.exe > > harryr@HARRYR-PC ~/d62sim/Excel > $ gdb test1 > GNU gdb (GDB) (Cygwin 8.3.1-1) 8.3.1 [...] > (gdb) > 277 fflush (stdin); > (gdb) > /wip/cygport-git/gdb/gdb-8.3.1-1.x86_64/src/gdb-8.3.1/gdb/infrun.c:2602: internal-error: void resume_1(gdb_signal): Assertion `pc_in_thread_step_range (pc, tp)' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n)y Thanks for reporting this problem, and the reproduction steps. I can reproduce this, but this doesn't seem to be a regression as I can also reproduce it with 8.1.1-1 (and with 7.9.1-1). On a brief investigation this seems to be related to trying to step through an import stub. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple