Discussion:
MinTTY requires gdiplus.dll ?
(too old to reply)
Houder
2018-11-29 18:14:14 UTC
Permalink
Hi,

Because I have a problem w/ Corinna's latest snapshot (using
MinTTY!), I executed (among others):

64-@@ cygcheck mintty
...
C:\Windows\system32\WINSPOOL.DRV
cygcheck: track_down: could not find gdiplus.dll

None of the individual DLL's from "cygcheck mintty" requires
the gdiplus.dll ...

Apparently MinTTY requires this DLL.

Q: Should my system (Windows 7) have this DLL? (Is it present
on your system?)

Regards,

Henri

-----
Using Corinna's latest snapshot in a "Dos box" results in a
prompt from bash

However launching MinTTY fails (hangs) (on my system)

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Michael Wild
2018-11-29 19:53:08 UTC
Permalink
Post by Houder
Hi,
Because I have a problem w/ Corinna's latest snapshot (using
...
C:\Windows\system32\WINSPOOL.DRV
cygcheck: track_down: could not find gdiplus.dll
None of the individual DLL's from "cygcheck mintty" requires
the gdiplus.dll ...
Apparently MinTTY requires this DLL.
Q: Should my system (Windows 7) have this DLL? (Is it present
on your system?)
Regards,
Henri
-----
Using Corinna's latest snapshot in a "Dos box" results in a
prompt from bash
However launching MinTTY fails (hangs) (on my system)
Hi

GDI+ is a graphics and font rendering engine that has been part of Windows
since XP. No surprise there.

Michael
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Houder
2018-11-29 22:24:57 UTC
Permalink
[snip]
Post by Michael Wild
Post by Houder
Apparently MinTTY requires this DLL.
Q: Should my system (Windows 7) have this DLL? (Is it present
on your system?)
[snip]
Post by Michael Wild
Hi
GDI+ is a graphics and font rendering engine that has been part of Windows
since XP. No surprise there.
Michael
Michael,

Let us start at the beginning ...

What is the location of the gdiplus.dll on your system?

Do you have Windows 7?

I cannot find gdiplus.dll on my system. Yes, I do not know what it is
used
for ... but that is irrelevant.
(if Thomas Wolff thinks I should have it, that is fine with me :-)

I invoked: sfc /scannow from a "Dos box", and it basically reported "All
is
fine!".

So if gdiplus.dll is supposed to be present on Windows 7, it is, from
_my_
point of view, an useless tool.

That why I asked: is it present on your system ?????

Regards,

Henri

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Michael Wild
2018-11-30 08:08:51 UTC
Permalink
Post by Houder
[snip]
Post by Michael Wild
Post by Houder
Apparently MinTTY requires this DLL.
Q: Should my system (Windows 7) have this DLL? (Is it present
on your system?)
[snip]
Post by Michael Wild
Hi
GDI+ is a graphics and font rendering engine that has been part of Windows
since XP. No surprise there.
Michael
Michael,
Let us start at the beginning ...
What is the location of the gdiplus.dll on your system?
Do you have Windows 7?
I cannot find gdiplus.dll on my system. Yes, I do not know what it is
used
for ... but that is irrelevant.
(if Thomas Wolff thinks I should have it, that is fine with me :-)
I invoked: sfc /scannow from a "Dos box", and it basically reported "All
is
fine!".
So if gdiplus.dll is supposed to be present on Windows 7, it is, from
_my_
point of view, an useless tool.
That why I asked: is it present on your system ?????
Regards,
Henri
Dear Henri

As most things important on Windows, it is here:
"C:\Windows\System32\GdiPlus.dll"

Cheers

Michael

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Houder
2018-11-30 08:33:09 UTC
Permalink
On 2018-11-30 09:08, Michael Wild wrote:
[snip]
Post by Michael Wild
Dear Henri
"C:\Windows\System32\GdiPlus.dll"
Ha, ha, ha!

Yes, I am aware that the location (c:/Windows/system32) is "packed"
with all sorts of "shiny" DLL's ...

I have only a vague idea how Microsoft "solved" the DLL hell (it is
even possible that several solutions exist -- it is Microsoft).

What I mean, uptill now, I did not even know if an "GdiPlus.dll" was
mandatory in c:/Windows/system32, because there is a version of this
file in the "SxS" location.

One of my previous posts shows the output of strace (trying to start
MinTTY from a "Dos box" ...)

Although comctl32.dll is present in c:/Windows/system32, the file in
the "SxS" location is "loaded", not the file available in the former.

So, to me, any option was open.

Now I know, there should be an "GdiPlus.dll" in "system32".

Alas, I have no idea how to recover it (and neither does Microsoft).

Regards,

Henri


--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Brian Inglis
2018-12-01 03:18:34 UTC
Permalink
Post by Houder
Post by Michael Wild
"C:\Windows\System32\GdiPlus.dll"
Yes, I am aware that the location (c:/Windows/system32) is "packed"
with all sorts of "shiny" DLL's ...
I have only a vague idea how Microsoft "solved" the DLL hell (it is
even possible that several solutions exist -- it is Microsoft).
What I mean, uptill now, I did not even know if an "GdiPlus.dll" was
mandatory in c:/Windows/system32, because there is a version of this
file in the "SxS" location.
One of my previous posts shows the output of strace (trying to start
MinTTY from a "Dos box" ...)
Although comctl32.dll is present in c:/Windows/system32, the file in
the "SxS" location is "loaded", not the file available in the former.
So, to me, any option was open.
Now I know, there should be an "GdiPlus.dll" in "system32".
Alas, I have no idea how to recover it (and neither does Microsoft).
You should have a selection of alternatives available under:

$ (cd /proc/cygdrive/c/WINDOWS/WinSxS/; l *gdiplus*/gdiplus.dll)
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_cc5b22dc5f37e9e8/gdiplus.dll*
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_c89d87f44c0d5613/gdiplus.dll*
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_c859a78e4c40b1b4/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.1_none_755093628aec1b7c/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.228_none_3cdf1d99f1ef51bb/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.285_none_3cdc1be3f1f2079c/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.286_none_3cdd1c2df1f120f3/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.345_none_3cdc1e59f1f2037f/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.407_none_3cde2163f1f03210/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.1_none_64a2024723f1f523/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.228_none_2c308c7e8af52b62/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.285_none_2c2d8ac88af7e143/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.286_none_2c2e8b128af6fa9a/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.345_none_2c2d8d3e8af7dd26/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.407_none_2c2f90488af60bb7/gdiplus.dll*
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_d6afcd2e9398abe3/gdiplus.dll*
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_d2f23246806e180e/gdiplus.dll*
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_d2ae51e080a173af/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.1_none_bcfdca399f684482/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.228_none_848c5471066b7ac1/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.285_none_848952bb066e30a2/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.286_none_848a5305066d49f9/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.345_none_84895531066e2c85/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.407_none_848b583b066c5b16/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.1_none_ac4f391e386e1e29/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.228_none_73ddc3559f715468/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.285_none_73dac19f9f740a49/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.286_none_73dbc1e99f7323a0/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.345_none_73dac4159f74062c/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.407_none_73dcc71f9f7234bd/gdiplus.dll*

In my case, the latest entry with systemcopy matches that in System32:

$ (cd /proc/cygdrive/c/WINDOWS/WinSxS/; ls -lrt *gdiplus*systemcopy*/gdiplus.dll)
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Apr 11 2018
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_cc5b22dc5f37e9e8/gdiplus.dll
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1469952
Apr 11 2018
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_d6afcd2e9398abe3/gdiplus.dll
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1469952
Aug 3 01:27
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_d2f23246806e180e/gdiplus.dll
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Aug 3 02:19
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_c89d87f44c0d5613/gdiplus.dll
-rwxr-x---+ 2 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1469952
Aug 31 00:36
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_d2ae51e080a173af/gdiplus.dll
-rwxr-x---+ 2 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Aug 31 01:22
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_c859a78e4c40b1b4/gdiplus.dll

$ (cd /proc/cygdrive/c/Windows/System32/; ls -lrt *gdiplus.dll)
-rwxr-x---+ 2 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Aug 31 01:22 GdiPlus.dll

So you may want to try listing the former and copying to the latter.

Hope that fixes things for you.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Houder
2018-12-01 08:07:37 UTC
Permalink
[snip]
Post by Brian Inglis
Post by Houder
Now I know, there should be an "GdiPlus.dll" in "system32".
Alas, I have no idea how to recover it (and neither does Microsoft).
Thanks for the feedback, Brian.
Post by Brian Inglis
$ (cd /proc/cygdrive/c/WINDOWS/WinSxS/; l *gdiplus*/gdiplus.dll)
[snip]

Correct! 24 of them. ... and all w/ a hardlink count of 1 ...

... you obviously do not run Windows 7 ...

The directories below "winsxs" have different names in my case :-)
Nope, here no subdirectories w/ "systemcopy" in their name ...

[snip]
Post by Brian Inglis
So you may want to try listing the former and copying to the latter.
Copying or hardlinking makes cygcheck "very happy", but "my" Windows 7
does not care (it remains indifferent to my attempts to correct this).
Post by Brian Inglis
Hope that fixes things for you.
It did not :-)

I found heaps and heaps of "advice" on the "net" by Microsoft Support.

Mostly irrational, no fundamental reasoning. Do this, do that, and in
the end: reinstall your system.

Following this kind of advice is not an option for me. I do not like
doing things "blind-folded".

Yes, I tried some things that seemed harmless to me ...

Among them registering the GdiPlus.dll (in various ways) ...

64-C:\Windows\system32># regsvr32 gdiplus.dll
elicited the following response:

The module "gdiplus.dll" was loaded but
the entry-point DllRegisterServer was not found.

Euh, what?

The thing that matters to me, is that the "DLL loading mechanism"
invoked by the cygwin1.dll, is able to find the DLL's. Good!

Granted, they are NOT found in c:/Windows/system32, but it appears
that I cannot help that (w/o completely reinstalling my system).

Regards,
Henri

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Andrey Repin
2018-11-30 10:21:56 UTC
Permalink
Greetings, Houder!
Post by Houder
Because I have a problem w/ Corinna's latest snapshot (using
...
C:\Windows\system32\WINSPOOL.DRV
cygcheck: track_down: could not find gdiplus.dll
None of the individual DLL's from "cygcheck mintty" requires
the gdiplus.dll ...
Apparently MinTTY requires this DLL.
Q: Should my system (Windows 7) have this DLL? (Is it present
on your system?)
Yes. It is located in WinSxS, as many other versioned DLL's.
I.e. on my system, MinTTY loading
C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.24280_none_145e10148b8de48e\gdiplus.dll
--
With best regards,
Andrey Repin
Friday, November 30, 2018 13:20:39

Sorry for my terrible english...


--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Houder
2018-11-30 11:10:33 UTC
Permalink
Post by Andrey Repin
Greetings, Houder!
[snip]
Post by Andrey Repin
Post by Houder
Apparently MinTTY requires this DLL.
Q: Should my system (Windows 7) have this DLL? (Is it present
on your system?)
Yes. It is located in WinSxS, as many other versioned DLL's.
I.e. on my system, MinTTY loading
C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.24280_none_145e10148b8de48e\gdiplus.dll
Thanks for the feedback, Andrey!

Yes, I have that file too. The output of 'ls -l' shows:

64-@@# ls -l /drv/c/Windows/\
WinSxS/\
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.24280_none_145e10148b8de48e/\
gdiplus.dll

-rwxr-x---+ 1 TrustedInstaller TrustedInstaller 2177536 Oct 6 17:58 \
/drv/c/Windows/WinSxS/\
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.24280_none_145e10148b8de48e/\
gdiplus.dll

(yes, I broke each line up in multiple ones for readability)

The first "1" on the line that is output bij "ls", indicates it is not
"hard
linked" to a version in c:/Windows/system32.

Michael Wild reported a version of GdiPlus.dll in c:/Windows/system32 on
his
system. So, I expect "his" system shows a "2" here ...

Regards,
Henri

-----
Btw, I do not think that the "loss of GdiPlus.dll" on my system explains
why
I cannot start MinTTY with Corinna's latest cygwin1.dll ...

I believe something else is preventing the launch of MinTTY using the
latest
cygwin1.dll ...

=====

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Andrey Repin
2018-11-30 23:23:58 UTC
Permalink
Greetings, Houder!
Post by Houder
Btw, I do not think that the "loss of GdiPlus.dll" on my system explains
why
I cannot start MinTTY with Corinna's latest cygwin1.dll ...
I believe something else is preventing the launch of MinTTY using the
latest
cygwin1.dll ...
It seems something had broken your DLL registrations/loading.
May be something from BLODA.
Check the loaded libraries of your started mintty process and try to narrow
the list of potential obstacles.
--
With best regards,
Andrey Repin
Saturday, December 1, 2018 2:22:06

Sorry for my terrible english...


--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Loading...