From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8431 invoked by alias); 29 Nov 2018 19:58:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8422 invoked by uid 89); 29 Nov 2018 19:58:50 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Nov 2018 19:58:48 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N9MYu-1hXfWL3kM0-015K3y for ; Thu, 29 Nov 2018 20:58:45 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 3B383A80374; Thu, 29 Nov 2018 20:58:45 +0100 (CET) Date: Thu, 29 Nov 2018 19:58:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: MinTTY requires gdiplus.dll ? (2) Message-ID: <20181129195845.GE30649@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1953c30851fd83b67ee9b162b29f4195@xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5/6IVfYouxg+lu1D" Content-Disposition: inline In-Reply-To: <1953c30851fd83b67ee9b162b29f4195@xs4all.nl> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-11/txt/msg00247.txt.bz2 --5/6IVfYouxg+lu1D Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2764 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" Content-length: 833 -----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--