MinTTY requires gdiplus.dll ? (2)

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Nov 29 19:58:00 GMT 2018


On Nov 29 19:41, Houder wrote:
> Hi,
> 
> As I wrote in the preceding post ...
> 
> Using Corinna's latest snapshot in a "Dos box" results in a
> prompt from bash.
> 
> Once in bash, I can launch MinTTY ( 64-@@ /usr/bin/mintty )
> 
> Placing strace in front of this call, results in:
> 
> 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 0000000077690000
> --- 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 000007fefd750000
> --- Process 3112 loaded C:\Windows\System32\msvcrt.dll at 000007feff0a0000
> --- Process 3112 loaded C:\Windows\System32\sechost.dll at 000007feff910000
> --- 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 000007feff140000
> --- Process 3112 loaded C:\Windows\System32\comdlg32.dll at 000007fefefa0000
> --- Process 3112 loaded C:\Windows\System32\shell32.dll at 000007fefe130000
> --- 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 000007fef9f10000
> --- 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

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20181129/f08eb520/attachment.sig>


More information about the Cygwin mailing list