delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/19/09:22:29

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D28FC398D020
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1605795705;
bh=G1IdZGkACrnAd0GxceVxYjHhVmUokgmdr/iaQC8BcxM=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=HQLAztlQD4SLTmb8qxkS6t+qxMT7nzanDxHHuOImfbjJ1X8syNEUGq8FvyDnQMH5K
BU6sUwjFE46z4OmiqmNNbc2n5hCwhDLz8b19+KCOzLvUINpLZrFtfbSy/5htkJXrg2
9rBXbVPEW2yQcFV7SNql5QEEiAWp41kAeu0wTUYk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
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: <DM5PR19MB0986D551BC9C6DAD28463FC193E00@DM5PR19MB0986.namprd19.prod.outlook.com>
References: <CAH5rLZVNLkwntpF4U-27+KeF_eh30yc2bij_MqejWTxBbdQmdw AT mail DOT gmail DOT com>
<20201114034504 DOT GD2905 AT dimstar DOT local DOT net>
<CAH5rLZV+T7u_u6TgivKA7y2RmBJiySVuUsxPVJQjLsEYoN91_A AT mail DOT gmail DOT com>
<20201115044613 DOT GE2905 AT dimstar DOT local DOT net>,
<CAH5rLZV25Z1EcrputHDswkuFRSVi8XJ+oJx5RaR3rYvawqay9w AT mail DOT gmail DOT com>,
<DM5PR19MB098611D7A5F52EE51A7918B693E40 AT DM5PR19MB0986 DOT namprd19 DOT prod DOT outlook DOT com>,
<DM5PR19MB0986B3BF7499FE71262677FB93E40 AT DM5PR19MB0986 DOT namprd19 DOT prod DOT outlook DOT com>
In-Reply-To: <DM5PR19MB0986B3BF7499FE71262677FB93E40@DM5PR19MB0986.namprd19.prod.outlook.com>
Accept-Language: fr-CA, en-US
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
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Andr=C3=A9_Bleau_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?iso-8859-1?Q?Andr=E9_Bleau?= <andre_bleau AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0AJEMB05014573

---------------------------------------------------------------------------------------
De : Cygwin <cygwin-bounces AT cygwin DOT com> de la part de André Bleau via Cygwin <cygwin AT cygwin DOT com>
Envoyé : 15 novembre 2020 15:39
À : The Cygwin Mailing List <cygwin AT cygwin DOT com>
Objet : Re: Failed assertion dialog box 
 
---------------------------------------------------------------------------------------
De : Cygwin <cygwin-bounces AT cygwin DOT com> de la part de André Bleau via Cygwin <cygwin AT cygwin DOT com>
Envoyé : 15 novembre 2020 15:04
À : The Cygwin Mailing List <cygwin AT cygwin DOT com>
Objet : Re: Failed assertion dialog box 
 
---------------------------------------------------------------------------------------
De : Cygwin <cygwin-bounces AT cygwin DOT com> de la part de William M. (Mike) Miller via Cygwin <cygwin AT cygwin DOT com>
Envoyé : 15 novembre 2020 08:12
À : The Cygwin Mailing List <cygwin AT cygwin DOT com>
Objet : Re: Failed assertion dialog box 
 
On Sat, Nov 14, 2020 at 11:49 PM Duncan Roe <duncan_roe AT optusnet DOT com DOT au>
wrote:

...

>
> Sorry, should have mentioned running on Win7 Home.
>
> When I try it on my wife's Win10 system, I get the dialog box same as you.
>

That's disappointing. Thanks for the additional information, though.
---------------------------------------------------------------------------------------

I would say we got some useful info:
1- The bug is OS specific; it occurs in Windows 10
2- Three persons were able to reproduce it on Windows 10, which improves the probability of getting fixed.

- André Bleau
---------------------------------------------------------------------------------------

Here's some more info:

It seems the bug is related to pseudo-console support; that explains why it is Windows 10 specific. 

Experiment: 

CYGWIN=disable_pcon /usr/bin/mintty &

In the newly created window:

$ ./a.exe </dev/null >output.txt 2>&1
Aborted (core dumped)

No message box popup.

$ cat output.txt
assertion "false" failed: file "assert.cpp", line 3, function: int main()

In the original mintty window, with empty CYGWIN env variable:

$ ./a.exe </dev/null >output.txt 2>&1
Aborted (core dumped)

A message box pops

AND:

$ cat output.txt

 output.txt  is empty

So, 2 problems here.

In a CMD Window:

set path=%PATH%D:\Cygwin\bin;
a.exe <NUL: >outcmd.txt 2>&1
      1 [main] a 759 cygwin_exception::open_stackdumpfile: Dumping stack trace to a.exe.stackdump

type outcmd.txt
assertion "false" failed: file "assert.cpp", line 3, function: int main()
      1 [main] a 759 cygwin_exception::open_stackdumpfile: Dumping stack trace to a.exe.stackdump

The bug could be in cygwin or in mintty. Maybe this is something that Thomas Wolff (mintty author) or Takashi Yano  (pseudo-console support expert) would want to look at.
---------------------------------------------------------------------------------------

OK, I opened an issue for mintty and it was quickly closed with that quote:

"Quick generic answer: if it's caused by ConPTY support, it's not related to mintty; also mintty never shows any popups.
Funny thing, though, but really: assert isn't handled by the terminal."

So the issue can only be with pseudo-console support in cygwin.

- André Bleau
- André Bleau
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019