delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/29/14:59:01

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Gax8mFzIrcHzUS463Pn7H3RW1HAbVVho71AGvVNHGH77xZ0htFlgY
NkxburZYn39MyCuSeXEzYBUDV09T4UHuyKDaPuVVVuC79z0PiHQ+pAF5rQtUuI7t
Rsq8JPx4decZg55BVrdYcsY2GATwH3pRESHNK6Hd2pDtyNE3+bTNJM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=vEVzLc0v1XPhobL/sM7pmo+u9Yg=; b=NPcHBK3b3gpTaMXJKXm2cAGNlUtH
4mjPWW0u3GhYj1lvV91ilnrd//OL37HmmMU3xa2iLphzy+7ip1pepRr5QRYCcvwa
Smj9YwQsFbQEpFyku15gEVkLX/R74PLSMpLUxDaZJFOPWBx2Qz5ZAC9zPGjvyiJI
Xi04K26fI0H+vOY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-105.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Placing
X-HELO: mout.kundenserver.de
Date: Thu, 29 Nov 2018 20:58:45 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: MinTTY requires gdiplus.dll ? (2)
Message-ID: <20181129195845.GE30649@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1953c30851fd83b67ee9b162b29f4195 AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <1953c30851fd83b67ee9b162b29f4195@xs4all.nl>
User-Agent: Mutt/1.9.2 (2017-12-15)

--5/6IVfYouxg+lu1D
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 29 19:41, Houder wrote:
> Hi,
>=20
> As I wrote in the preceding post ...
>=20
> Using Corinna's latest snapshot in a "Dos box" results in a
> prompt from bash.
>=20
> Once in bash, I can launch MinTTY ( 64-@@ /usr/bin/mintty )
>=20
> Placing strace in front of this call, results in:
>=20
> 64-@@ strace /usr/bin/mintty
> --- Process 3112 created
> --- Process 3112 loaded C:\Windows\System32\ntdll.dll at 00000000777b0000
> --- Process 3112 loaded C:\Windows\System32\kernel32.dll at 0000000077690=
000
> --- Process 3112 loaded C:\Windows\System32\KernelBase.dll at
> 000007fefd490000
> --- Process 3112 loaded E:\Cygwin64\bin\cygwin1.dll at 0000000180040000
> --- Process 3112 loaded C:\Windows\System32\advapi32.dll at 000007fefd750=
000
> --- Process 3112 loaded C:\Windows\System32\msvcrt.dll at 000007feff0a0000
> --- Process 3112 loaded C:\Windows\System32\sechost.dll at 000007feff9100=
00
> --- Process 3112 loaded C:\Windows\System32\rpcrt4.dll at 000007feff630000
> --- Process 3112 loaded C:\Windows\winsxs\amd64_microsoft.windows.common-=
controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comc
> tl32.dll at 000007fefb9c0000
> --- Process 3112 loaded C:\Windows\System32\gdi32.dll at 000007fefdc10000
> --- Process 3112 loaded C:\Windows\System32\user32.dll at 0000000077590000
> --- Process 3112 loaded C:\Windows\System32\lpk.dll at 000007feff3a0000
> --- Process 3112 loaded C:\Windows\System32\usp10.dll at 000007feff9d0000
> --- Process 3112 loaded C:\Windows\System32\shlwapi.dll at 000007feff1400=
00
> --- Process 3112 loaded C:\Windows\System32\comdlg32.dll at 000007fefefa0=
000
> --- Process 3112 loaded C:\Windows\System32\shell32.dll at 000007fefe1300=
00
> --- Process 3112 loaded C:\Windows\winsxs\amd64_microsoft.windows.gdiplus=
_6595b64144ccf1df_1.1.7601.24280_none_145e10148b8de48e\GdiPlus.dll
> at 000007fefb440000
> --- Process 3112 loaded C:\Windows\System32\ole32.dll at 000007feff3b0000
> --- Process 3112 loaded C:\Windows\System32\imm32.dll at 000007fefd720000
> --- Process 3112 loaded C:\Windows\System32\msctf.dll at 000007fefdb00000
> --- Process 3112 loaded C:\Windows\System32\winmm.dll at 000007fefa040000
> --- Process 3112 loaded C:\Windows\System32\winspool.drv at 000007fef9f10=
000
> --- Process 3112, exception c0000005 at 0000000180044bb3
> --- Process 3112 exited with status 0xc0000005
> Segmentation fault

I can reproduce this but while it's clear *where* it happens, it's
unclear *when* and *why* it happens.

It only occurs if mintty is the first process in a process tree.  I.e.,
when starting mintty from a shell running in a DOS window, the problem
disappears.

Worse, the problem also disappears when running mintty under gdb.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--5/6IVfYouxg+lu1D
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwARPUACgkQ9TYGna5E
T6C32hAAh9AADHWAxkaWe9B4BLJasknm7mQU6BOhn+HzSfXdL2mKqRqDKcxG01dn
t4GDh4YObhfgvFBL04jEIBCAHFPKdLYi4XuhE/zqofNQDsHFqdddhid8YO3hDHKP
owiIxO3dcL/qInAjoYhCV86C6bmvcclWzNbvVtSt3/6uxTIy2oEZo6L2AOA7NJsO
b50x8yDWHgtNF4sVxh9pOUNGFABfrpKEwmMsIgIbdBxdre9mDBwxaHc5Frmol+Lt
6xqAxEM13DGrzPsTXTDvrTZtrrjVvn8gNghjNW7Rq0yIkCQPNoU5JRwSX8cXhekh
vDpRi6BMB3cci+Omg7XUBH4fHFXxELQrYPRL8IUtaM7f7TzVgmph++Rm5ym5BpPI
t+xE1pBSvbY45eYxGfcBOrpIQy86I6x9zDQQ/FvUHOXPpCqhLaAvALOicR5pfwnv
uWtt5qYteHCljR7jDLJSJQzNpP8eCR8p22ENCp0UaFqB0lgpQ5+Drh2Qx028SaSB
ElcNLFkZYk+pVokTZp7L4Yehz3vlt3+DusbX1+wcysRXC+79OiY9N7nf7DpIWqyu
+NXE/ek2wO9yxuoPmhJubClJhWjZ40Hm0GB8Oj6Lnc9dIu4QibrL2/rypJ3xNhty
Y/WNrl4hFhh0zidiVVhZVuaJ5zQ9BF7hmYzskRDYnyp6XlwANOg=
=HaZl
-----END PGP SIGNATURE-----

--5/6IVfYouxg+lu1D--

- Raw text -


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