delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org A1EBF3942009 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1584449756; | |
bh=zpCZaQqh7xy62w3iJJCsc/fzvvcy/y+rB1mGz6UcDV4=; | |
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=ETgHHIHWYFTNihiso6p2yY4qeeqvVMcyhUH9YOXQRBaehfH6gHkhqIfDAc990oIU8 | |
P3eiIEtg6Z9g4Ho5lBnUIe6fhuaYxDCJnfStZ7uVHNS0zDcOITw9b/1nYsv/Ilynuh | |
/RlGlvWDjxsScFQGgG6ciKxYdhemgxYSAyuE0LPY= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
ARC-Seal: | i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; |
b=Khs4iL33jQKi+k5jN6BgoAOG3UnwGj9cHD/DP2Pg3FIp415gfV2GHH0jpMbMUS3jx8MTqLBtDnQK7Z7WGfXqEwJj9N0D43WsbXvV+tVr3Phgs2gK0bMGXRdcxfvAcUqRushv42V2jkm+QAG0HY4erJAl/2bUkEky8KDeUVP545ubfbflL/AVvdpAVjPZW4mUGAHAq8U2KJ2uHqjFU+NhvKY4fKHT7x6SEBKOA2AGMOcPA70AXubX6aY0EL0rPkP8p1zylKlRiBlwh9uhXiGUeMew4VX6cCbwso/3Ap9u8EmX+xSwnQnpql/gF6KuphZPNyBmOGLG2ZMEZlvmt+xxfg== | |
ARC-Message-Signature: | i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; |
s=arcselector9901; | |
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; | |
bh=5qdAJwq5m8Y9JJkN2tWdZFGXvpdbZeBMD5kDEXo1S9w=; | |
b=JaBCgrRr4oRJ78lJjgzNRNI6Y+tPwPUb490e1yAQl60tvK4aYeHmBFgqN01v5BL+2epwWQLitqOcN1NtV8MkHXiUhG798Wbo7bnN+BTb0iNlVH7/iTn/soJ4ZXr+67wXXrkmQOB65LNbnsKaSH6cnd07fER7wXPbpENp3P/eJY0JNnezEs42DNENnrSyaMDcDkqsQurlgo9XldusNFSooYSYjlT5c+yiW2VfluaTQ9P6cxrY6XEc/xF2qmq/JJUDZhDGF8PGvo1vEhcUyp/OQkxLzgUsaiQx4DoF65WNvcgnGOTtBOFTJ593LN8vAqnhLkBABo7g4jL7STmt3norlw== | |
ARC-Authentication-Results: | i=1; mx.microsoft.com 1; spf=pass |
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; | |
dkim=pass header.d=cornell.edu; arc=none | |
Subject: | Re: cygwin-3.1.x seems to break emacs + gdb |
To: | Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca> |
References: | <ed33c5c2-c519-d572-0c96-2c3f21860222 AT cs DOT utoronto DOT ca> |
Message-ID: | <877289b6-09a4-b26a-5c6b-1a483bb6f283@cornell.edu> |
Date: | Tue, 17 Mar 2020 08:55:48 -0400 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 |
Thunderbird/68.6.0 | |
In-Reply-To: | <ed33c5c2-c519-d572-0c96-2c3f21860222@cs.utoronto.ca> |
X-ClientProxiedBy: | CH2PR08CA0009.namprd08.prod.outlook.com |
(2603:10b6:610:5a::19) To MN2PR04MB6429.namprd04.prod.outlook.com | |
(2603:10b6:208:1b0::12) | |
MIME-Version: | 1.0 |
X-MS-Exchange-MessageSentRepresentingType: | 1 |
X-Originating-IP: | [68.175.129.7] |
X-MS-PublicTrafficType: | |
X-MS-Office365-Filtering-Correlation-Id: | 8cbd3ce6-1c7d-4291-f1b4-08d7ca72854c |
X-MS-TrafficTypeDiagnostic: | MN2PR04MB5567: |
X-Microsoft-Antispam-PRVS: | <MN2PR04MB5567CF851B6214ADDF8EAF91D8F60 AT MN2PR04MB5567 DOT namprd04 DOT prod DOT outlook DOT com> |
X-MS-Oob-TLC-OOBClassifiers: | OLM:10000; |
X-Forefront-PRVS: | 0345CFD558 |
X-Forefront-Antispam-Report: | SFV:NSPM; |
SFS:(10001)(10019020)(4636009)(396003)(346002)(136003)(376002)(39860400002)(366004)(199004)(66946007)(81156014)(81166006)(956004)(86362001)(36756003)(2616005)(26005)(53546011)(16526019)(66556008)(66476007)(8676002)(186003)(31686004)(786003)(5660300002)(16576012)(8936002)(316002)(6916009)(478600001)(2906002)(52116002)(4326008)(75432002)(966005)(31696002)(6486002)(403724002)(2004002)(21314003)(460985005); | |
DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR04MB5567; | |
H:MN2PR04MB6429.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; | |
PTR:InfoNoRecords; A:1; | |
Received-SPF: | None (protection.outlook.com: cornell.edu does not designate |
permitted sender hosts) | |
X-MS-Exchange-SenderADCheck: | 1 |
X-Microsoft-Antispam: | BCL:0; |
X-Microsoft-Antispam-Message-Info: | pxno+jyJRa9Wgmq3A7M1rgouwhO0RZ+u/3ocXCMGkJduZVZExg7K5wtF6kkKc4EjmXIbTJxpNOjwNbO2SvwRsQy704L66JsEcAql4c37dmlTu0G5pUrwOn4O2WBSXJIyanWbsV2owTSC/94SI6ZMWBuSdMr9XOcjiW3K0k/33kNvbLyczT+ClTIOgxRlXBK7PIdh1hqcUqBDT9tRQiMTarIrk97G8dE04RqYyYZWc9nUypHU182g3KNcxDW9xzYtoZJE9mVMTFiX2vW3buM2WBhl3cbGMoaO8qq/Uma8LijNZwn+uMUs9zeZnNmAWJebd/SJOz7JjkUTI5SRcpObWgMfdnu+f9HRup4kUnwsNirNVaMdk0BS180SPJ1Ne73+78LTJZfF38AEq165vn/5WktWZYbLzBWEKMD3eVM2NUFdsiCPa246uRHk44paHufQV/9zfufMp/s9NBADknJOWCZ9mYOGBguaJTmQijuYZxNGe5QoFVDBlceHOGzL8StD2jbTgWufulVApT1r7TvCJ1LhYKtGUvIY2ZD0Y2+tmyH5W3l5OyZc8NglLAYkiojpkyaadxFUIEZ6CnFsg1CMuNa8ddQDVhYnIlXAWxn85Qlo6GpfEqUXj7tHGYSkPWwCnMFoF7e2Yw/SY5cwnykUy+B+Z9bsTfg8bo5qsCbkbM1XEOfxOVNMM4RX1ZmXkf3vfny6lPdUC7syJVYugw1Wk8af4XUm+fToKcmK1+g5+FQ= |
X-MS-Exchange-AntiSpam-MessageData: | hjxCuuoqIXDBvzBlfITw7ZG7OX/GmA07wbsXUw9BgB9Kg+aXuXV7aSHXD6vx/bG32pTnAABhfyynoHAP+5g0gqEmHmNnVk0scjtratzr0OEFVHSqnXJedkMzXVpG3nWOCFTQOcLiG/jBWZRfQYnBag== |
X-OriginatorOrg: | cornell.edu |
X-MS-Exchange-CrossTenant-Network-Message-Id: | 8cbd3ce6-1c7d-4291-f1b4-08d7ca72854c |
X-MS-Exchange-CrossTenant-OriginalArrivalTime: | 17 Mar 2020 12:55:50.9003 (UTC) |
X-MS-Exchange-CrossTenant-FromEntityHeader: | Hosted |
X-MS-Exchange-CrossTenant-Id: | 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 |
X-MS-Exchange-CrossTenant-MailboxType: | HOSTED |
X-MS-Exchange-CrossTenant-UserPrincipalName: | pbUI3NatVNf4A0D026B9iuscl5kSb2mTzMj0azFQ8hXUnLDBjfGoq1hyCMJX6rMZkWTnNgk5nLbkMjKmQeSEcw== |
X-MS-Exchange-Transport-CrossTenantHeadersStamped: | MN2PR04MB5567 |
X-Spam-Status: | No, score=4.6 required=5.0 tests=DKIM_INVALID, DKIM_SIGNED, |
GARBLED_BODY, KAM_DMARC_STATUS, KAM_SHORT, MSGID_FROM_MTA_HEADER, | |
RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, | |
SPF_PASS autolearn=no autolearn_force=no version=3.4.2 | |
X-Spam-Level: | **** |
X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | Cygwin mailing list <cygwin.cygwin.com> |
List-Unsubscribe: | <http://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <http://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <http://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Ken Brown via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Ken Brown <kbrown AT cornell DOT edu> |
Cc: | cygwin <cygwin AT cygwin DOT com> |
Errors-To: | cygwin-bounces AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id 02HCuNpg008969 |
On 3/16/2020 7:23 PM, Ryan Johnson wrote: > Hi Ken, > > (Apologies for private mailing you, but my attempts to message cygwin@ and > cygwin-developers@ are rejected with TLS errors... any chance you could forward > this info to an appropriate person for attention?) > > I upgraded cygwin in order to get gcc9, but to my dismay gdb is completely > unusable inside emacs, due to weird output garbling. Both gdb/mi and > gud-gdb/fullname modes are affected, but the problem is easier to show here with > gud-gdb. See garbled output below. > > The output below is from the self-built emacs-25.3.1 I normally use. > > The official cygwin emacs is also affected, but not quite as badly. Technically > it's still sort of usable -- the ^[[21X^[[21C garbage is missing -- but line > endings are messed up (newline but no carriage return). Also, it's impossible to > navigate away from the gdb source buffer gdb is pointing to -- the source file > buffer even reopens itself if I kill it -- and gdb prints all kinds of garbage > whenever I switch back to it from other emacs windows. > > A self-built gdb-7.8 I had been using without problems before the upgrade is > also affected in exactly the same way. > > The issue does not seem to occur when running gdb by itself from the shell... > but then I lose all the emacs debugging niceties. > > I hit the problem previously (early Feb), and was able to fix by reverting from > cygwin-3.1.2-1 back to the previous cygwin-3.0.7-1 > > I was able to fix the problem again today by reverting to cygwin-3.0.7-1. The > attached cygcheck.out comes from the broken cygwin-3.1.4-1 I upgraded to -- and > back away from -- today. > > Any ideas? Maybe this is related to the new console handling stuff I saw > discussed on cygwin-dev a little while ago? > > Thanks! > Ryan > > === EXAMPLE GARBLED OUTPUT === > > Current directory is /home/Ryan/experiments/xxxxxxxxxxxxx/ > GNU gdb (GDB) (Cygwin 8.2.1-1) 8.2.1 > Copyright (C) 2018 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "x86_64-pc-cygwin". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>. > Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from a.exe...done. > (gdb) start > Temporary breakpoint 1 at 0x10041735d: file xxxxxxxxxxxxx-test.cpp, line 1586. > Starting program: /home/Ryan/experiments/xxxxxxxxxxxxx/a.exe > This is free software: you are free to change and redistribute it.^[[12X^[[12C > There is NO > WARRANTY, to the extent permitted by law.^[[39X^[[39C > Type "show copying" and "show warranty" > for details.^[[67X^[[67C > This GDB was configured as "x86_64-pc-cygwin".^[[21X^[[21C > Type "show configurat > ion" for configuration details.^[[49X^[[49C > For bug reporting instructions, please see: > <http: > //www.gnu.org/software/gdb/bugs/>.^[[46X^[[46C > Find the GDB manual and other documentation re > sources online at:^[[62X^[[62C > <http://www.gnu.org/software/gdb/documentation/>.^[[9X^[[9C > ^[[80X^[[80C > For help, > type "help".^[[67X^[[67C > Type "apropos word" to search for commands related to "word"... > Read > ing symbols from a.exe...done.^[[50X^[[50C > (gdb) Temporary breakpoint 1 at 0x10041735d: file > xxxxxxxxxxxxx-test.cpp, line 1586.^[[47X^[[47C > Starting program: /home/Ryan/experiments/xxxxxx > xxxxxx/a.exe^[[68X^[[68C > ^[[80X^[[80C This is free software: you are free to change and redistribute > it.^[[12X^[[12C > There is NO > WARRANTY, to the extent permitted by law.^[[39X^[[39C > Type "show copying" and "show warranty" > for details.^[[67X^[[67C > This GDB was configured as "x86_64-pc-cygwin".^[[21X^[[21C > Type "show configurat > ion" for configuration details.^[[49X^[[49C > For bug reporting instructions, please see: > <http: > //www.gnu.org/software/gdb/bugs/>.^[[46X^[[46C > Find the GDB manual and other documentation re > sources online at:^[[62X^[[62C > <http://www.gnu.org/software/gdb/documentation/>.^[[9X^[[9C > ^[[80X^[[80C > For help, > type "help".^[[67X^[[67C > Type "apropos word" to search for commands related to "word"... > Read > ing symbols from a.exe...done.^[[50X^[[50C > (gdb) Temporary breakpoint 1 at 0x10041735d: file > xxxxxxxxxxxxx-test.cpp, line 1586.^[[47X^[[47C > Starting program: /home/Ryan/experiments/xxxxxx > xxxxxx/a.exe^[[68X^[[68C > [New Thread 7556.0x1238]^[[43X^[[43C > [New Thread 7556.0x3290]^[[19X^[[19C > ^[[80X^[[80C[New Thread 7556.0 > 9ac]^[[76X^[[76C > ^[[80X^[[80C[New Thread 7556.0x3ea4] > ^[[80X^[[80C This GDB was configured as "x86_64-pc-cygwin".^[[21X^[[21C > Type "show configurat > ion" for configuration details.^[[49X^[[49C > For bug reporting instructions, please see: > <http: > //www.gnu.org/software/gdb/bugs/>.^[[46X^[[46C > Find the GDB manual and other documentation re > sources online at:^[[62X^[[62C > <http://www.gnu.org/software/gdb/documentation/>.^[[9X^[[9C > ^[[80X^[[80C > For help, > type "help".^[[67X^[[67C > Type "apropos word" to search for commands related to "word"... > Read > ing symbols from a.exe...done.^[[50X^[[50C > (gdb) Temporary breakpoint 1 at 0x10041735d: file > xxxxxxxxxxxxx-test.cpp, line 1586.^[[47X^[[47C > Starting program: /home/Ryan/experiments/xxxxxx > xxxxxx/a.exe^[[68X^[[68C > [New Thread 7556.0x1238]^[[43X^[[43C > [New Thread 7556.0x3290]^[[19X^[[19C > [New Thread 7556.0x > 9ac]^[[76X^[[76C > [New Thread 7556.0x3ea4]^[[52X^[[52C > ^[[80X^[[80C This GDB was configured as "x86_64-pc-cygwin".^[[21X^[[21C > Type "show configurat > ion" for configuration details.^[[49X^[[49C > For bug reporting instructions, please see: > <http: > //www.gnu.org/software/gdb/bugs/>.^[[46X^[[46C > Find the GDB manual and other documentation re > sources online at:^[[62X^[[62C > <http://www.gnu.org/software/gdb/documentation/>.^[[9X^[[9C > ^[[80X^[[80C > For help, > type "help".^[[67X^[[67C > Type "apropos word" to search for commands related to "word"... > Read > ing symbols from a.exe...done.^[[50X^[[50C > (gdb) Temporary breakpoint 1 at 0x10041735d: file > xxxxxxxxxxxxx-test.cpp, line 1586.^[[47X^[[47C > Starting program: /home/Ryan/experiments/xxxxxx > xxxxxx/a.exe^[[68X^[[68C > [New Thread 7556.0x1238]^[[43X^[[43C > [New Thread 7556.0x3290]^[[19X^[[19C > [New Thread 7556.0x > 9ac]^[[76X^[[76C > [New Thread 7556.0x3ea4]^[[52X^[[52C > ^[[80X^[[80C > Thread 1 "a" hit Temporary breakpoint 1, 0x00000001 > 041735d in main ()^[[62X^[[62C > at xxxxxxxxxxxxx-test.cpp:1586^[[29X^[[29C > ^Z^Z/home/Ryan/experiments/xxx > xxxxxxxx/xxxxxxxxxxxxx-test.cpp:1586:58336:beg:0x10041735d^[[23X^[[23C > (gdb)^[[18X^[[18C Hi Ryan, Yes, I would guess this is related to the new pty code. A similar problem was reported in https://sourceware.org/pipermail/cygwin/2020-March/243939.html, with a suggested workaround in https://sourceware.org/pipermail/cygwin/2020-March/243955.html Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |