From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2059.outbound.protection.outlook.com [40.92.19.59]) by sourceware.org (Postfix) with ESMTPS id 7355F385043C for ; Thu, 19 Nov 2020 14:21:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7355F385043C ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SG1NwM5rnGTh/CqOMlm/zVg4WklaLEo/6irdH76vdj4aH8kYvqWbnMGoAYNGinl5Nm8Gimdv702YjI7ZxXB8sfJzWCNLZI8ojdOPqdHcgSqLXwINL9Kp5MqCl8g1azoEsaWJSHzFBPbWZFw4g7JFsXsLI6dnTboyU3CGn5NEnprZcl05skFAQxgrCaCmEAsnt6M1fHzO3zPG6aC4dopJg99vTNVXLcGMMycOW21//Y2bGpkVV8PjDn6v30KHinUNa/5W7lvJxnjbBPiB7yFS0IVs2LFqsYiaSe9fbbpT4BcaRNCTfHliTFr39+QGEcvy3vEatZN9RlaihKvkNhDmlw== 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=d8cULvVxiBRaA4grQFv0J+sBQSpaSYdIXdE3w9Rxlug=; b=B+1DbIHIOiztWgPnN3GmJsKKF4xgiYnf5T2V1zyUfQVCr50TTNCSPGxQwG6bX9iHnT/ER1oj9CRG2gjuRifsLetVobsMia33YdM9Auh3CnfMcsaDu/8e/x69kOGpaPRbqx33d32TC5v7p6IpVKuEgy9/R+S4rssjwYsUN6r907OsBkjYxaoeMQZsivKkc15C2BfFXFZt7eSdJIgAcrVGk7PMUwuC/8LEp0W+U4G7zVFAae4hS9MDVVqOJzJGu8l7+5AfsSaF4vLbv3ExbtjbTW4iLdrcJRN+QENpXXz4Ayp67gGYmOaNvok0iV/hX7goPStq5IJztm/z6keTxo1uRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM6NAM11FT067.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::45) by DM6NAM11HT096.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4d::483) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.28; Thu, 19 Nov 2020 14:21:40 +0000 Received: from DM5PR19MB0986.namprd19.prod.outlook.com (2a01:111:e400:fc4d::48) by DM6NAM11FT067.mail.protection.outlook.com (2a01:111:e400:fc4d::76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.22 via Frontend Transport; Thu, 19 Nov 2020 14:21:40 +0000 Received: from DM5PR19MB0986.namprd19.prod.outlook.com ([fe80::55c2:9050:7882:f452]) by DM5PR19MB0986.namprd19.prod.outlook.com ([fe80::55c2:9050:7882:f452%9]) with mapi id 15.20.3564.028; Thu, 19 Nov 2020 14:21:40 +0000 From: =?iso-8859-1?Q?Andr=E9_Bleau?= To: The Cygwin Mailing List Subject: Re: Failed assertion dialog box ATTN: Takashi Yano Thread-Topic: Failed assertion dialog box ATTN: Takashi Yano Thread-Index: AQHWvn9MaFEGdGARrUqp6YKkZoKbow== Date: Thu, 19 Nov 2020 14:21:40 +0000 Message-ID: References: <20201114034504.GD2905@dimstar.local.net> <20201115044613.GE2905@dimstar.local.net>, , , In-Reply-To: Accept-Language: fr-CA, en-US Content-Language: fr-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:36749D6A819584A6F99605901EC22A47C7F6ADF2D66F1086B044643DD495A00E; UpperCasedChecksum:C6A4AAC5107F084C3E35485D5D42B4B1D636896730D019B41325988A350CC3BC; SizeAsReceived:7296; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [R/K7agYoHC0QVKplkdSKkLonpkB4OW0R] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 1fd91080-56af-4c13-ab84-08d88c966ee3 x-ms-traffictypediagnostic: DM6NAM11HT096: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: a1INXOoO9f/KDqorbVhAfXIEr9Ygqd3UjVkLDsjymprJsjWIXnl2MfHnU0hUN6T85Zd3hNw7Y4jJK/rpfqOLqGRf5xd9q98rlhIE48zhPhCdOdGDBotqGUiNqt9CD/iAnqY9nDTZCu/nl1CimB1y9vvgrIGo49tVVVCKoD6gYxPMKVSZQNKsFcGnp4Vl+PegkXoG1CNBXUnCZvTB1fm4AQ== x-ms-exchange-antispam-messagedata: Df7G1/C11TZGMdnjh0RJ0U7zrGUqTNn9cwGq3az2EIM87+8W4SEGoAo4SpPQr8z0tUIcYceJmZMCUE6t1IqsVMxtNXH7ZUYao/k4wK6w22I55liUUO757iL7NomTPtbUInZHbyZKhSOSxNcUHg9hxg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT067.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 1fd91080-56af-4c13-ab84-08d88c966ee3 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2020 14:21:40.5752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6NAM11HT096 X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2020 14:21:43 -0000 ---------------------------------------------------------------------------= ------------=0A= De : Cygwin de la part de Andr=E9 Bleau via Cyg= win =0A= Envoy=E9 : 15 novembre 2020 15:39=0A= =C0 : The Cygwin Mailing List =0A= Objet : Re: Failed assertion dialog box =0A= =A0=0A= ---------------------------------------------------------------------------= ------------=0A= De : Cygwin de la part de Andr=E9 Bleau via Cyg= win =0A= Envoy=E9 : 15 novembre 2020 15:04=0A= =C0 : The Cygwin Mailing List =0A= Objet : Re: Failed assertion dialog box =0A= =A0=0A= ---------------------------------------------------------------------------= ------------=0A= De : Cygwin de la part de William M. (Mike) Mil= ler via Cygwin =0A= Envoy=E9 : 15 novembre 2020 08:12=0A= =C0 : The Cygwin Mailing List =0A= Objet : Re: Failed assertion dialog box =0A= =A0=0A= On Sat, Nov 14, 2020 at 11:49 PM Duncan Roe =0A= wrote:=0A= =0A= ...=0A= =0A= >=0A= > Sorry, should have mentioned running on Win7 Home.=0A= >=0A= > When I try it on my wife's Win10 system, I get the dialog box same as you= .=0A= >=0A= =0A= That's disappointing. Thanks for the additional information, though.=0A= ---------------------------------------------------------------------------= ------------=0A= =0A= I would say we got some useful info:=0A= 1- The bug is OS specific; it occurs in Windows 10=0A= 2- Three persons were able to reproduce it on Windows 10, which improves th= e probability of getting fixed.=0A= =0A= - Andr=E9 Bleau=0A= ---------------------------------------------------------------------------= ------------=0A= =0A= Here's some more info:=0A= =0A= It seems the bug is related to pseudo-console support; that explains why it= is Windows 10 specific. =0A= =0A= Experiment: =0A= =0A= CYGWIN=3Ddisable_pcon /usr/bin/mintty &=0A= =0A= In the newly created window:=0A= =0A= $ ./a.exe output.txt 2>&1=0A= Aborted (core dumped)=0A= =0A= No message box popup.=0A= =0A= $ cat output.txt=0A= assertion "false" failed: file "assert.cpp", line 3, function: int main()= =0A= =0A= In the original mintty window, with empty CYGWIN env variable:=0A= =0A= $ ./a.exe output.txt 2>&1=0A= Aborted (core dumped)=0A= =0A= A message box pops=0A= =0A= AND:=0A= =0A= $ cat output.txt=0A= =0A= =A0output.txt=A0 is empty=0A= =0A= So, 2 problems here.=0A= =0A= In a CMD Window:=0A= =0A= set path=3D%PATH%D:\Cygwin\bin;=0A= a.exe outcmd.txt 2>&1=0A= =A0=A0=A0=A0=A0 1 [main] a 759 cygwin_exception::open_stackdumpfile: Dumpin= g stack trace to a.exe.stackdump=0A= =0A= type outcmd.txt=0A= assertion "false" failed: file "assert.cpp", line 3, function: int main()= =0A= =A0=A0=A0=A0=A0 1 [main] a 759 cygwin_exception::open_stackdumpfile: Dumpin= g stack trace to a.exe.stackdump=0A= =0A= The bug could be in cygwin or in mintty. Maybe this is something that Thoma= s Wolff (mintty author) or Takashi Yano=A0 (pseudo-console support expert) = would want to look at.=0A= ---------------------------------------------------------------------------= ------------=0A= =0A= OK, I opened an issue for mintty and it was quickly closed with that quote:= =0A= =0A= "Quick generic answer: if it's caused by ConPTY support, it's not related t= o mintty; also mintty never shows any popups.=0A= Funny thing, though, but really: assert isn't handled by the terminal."=0A= =0A= So the issue can only be with pseudo-console support in cygwin.=0A= =0A= - Andr=E9 Bleau=0A= - Andr=E9 Bleau=0A=