From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0A7463858C5F; Thu, 2 Feb 2023 17:40:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A7463858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675359631; bh=8T3hMIVn/26UY/ZwitVSVgqok4CeeAYIfMvfbQkne5s=; h=From:To:Subject:Date:From; b=MBc1wTpEHB2ACOfu00zat/fbUnphCvjv69po4tJnQgExs87/tQZ8Z/Vc476ZMBxtt 9mCka/LVwzMo/6yuxjr+52aXGeBDujInH55nGWy3kW5EmFroM/17eEDFqtbKTFM8OQ VAvaPEdTcaWahKCNp0LBFs41PEeBQRDrr0UrkkkY= From: "patrick at monnerat dot net" To: gdb-prs@sourceware.org Subject: [Bug gdb/30070] New: Cannot start target program when gdb invoked from cygwin console Date: Thu, 02 Feb 2023 17:40:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: patrick at monnerat dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30070 Bug ID: 30070 Summary: Cannot start target program when gdb invoked from cygwin console Product: gdb Version: HEAD Status: UNCONFIRMED Severity: critical Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: patrick at monnerat dot net Target Milestone: --- When gdb is invoked from the cygwin console, attempting to start the target program fails with error message: Error creating process /home/user/foo.exe, (error 6: The handle is invalid.) A second attempt to start freezes gdb (CTRL-C not operational: must be kill= ed from task manager). This works like a charm when gdb is invoked from some other evironment (i.e= .: Win$ console). Tested on gdb HEAD with up to date Win7pro and cygwin. --=20 You are receiving this mail because: You are on the CC list for the bug.=