NONE of plugins work due to DLL Hell in \plug-ins directory
Submitted by Arioch
Link to original bug (#796225)
Description
Created attachment 372162 All those error windows i had to click through. You may extract affected pugins list from it.
I just downloaded and installed GIMP on my Windows 10 x64 box.
gimp-2.10.0-setup-2.exe Size: 154 274 736 Date: 17 may 2018 MD5: 7a8dd908073745ffb2816c3f0010466c
As i launched it GIMP started intitial check-u of all the pugins and seems that ANY pugin gave me three error boxes of "function not found in the DLL" kind.
After clicking through literally hundreds of error boxes the GIMP finally launched.
Note: i wish Gimp gave me some way to stop further questioning plugins when thwee error is systemic. For example modern WWW browsers have "no more alerts" checkboxes to bail out of JavaScript infinite loops. I wish GIMP ha the same w.r.t. its plugins....
The launched GIMP could only open and save .XCF files, not even JPEG was supported. Useless...
Gladly i managed to google a case, when another user of Gimp 2.8.20 as of May 2017 - had the same kind of systemic problem... http://gimpchat.com/viewtopic.php?f=8&t=15564
So, i searched for the library and found those:
c:\Git\mingw64\bin\libstdc++-6.dll c:\Git\mingw64\libexec\git-core\libstdc++-6.dll c:\Program Files\GIMP-2.0\32\bin\libstdc++-6.dll c:\Program Files\GIMP-2.0\bin\libstdc++-6.dll c:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\libstdc++-6.dll
Note: none of them was on my PATH, so it was not the case that i screwed GIMP by some exotic configuration, as it was suggested in the forum thread above. Just a vanilla installation.
What was of interest, that all three of GIMP's dlls were different, none of them matched another!
So, inspired by that forum thread i removed the DLL in plugins folder. That removed 2/3 of plugin errors, still every plugin failed to load with yet another function not found.
Then i removed pThread DLL from plugins folder. Now the GIMP seems to be launching normally.
c:\Program Files\GIMP-2.0\bin\libstdc++-6.dll Size: 1 435 729 Date: 25 April 2018 MD5: 91c84159d810d2c286c27cc08c1a15ca
c:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\libstdc++-6.dll Size: 1 013 248 Date: 16 March 2015 MD5: 93ab871cbb803953691309a3d1562686
c:\Program Files\GIMP-2.0\bin\libwinpthread-1.dll Size: 57 317 Date: 26 Jan 2018 MD5: a51982fc86972a7402f1c58f93aab106
c:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins\libwinpthread-1.dll Size: 54 784 Date: 16 March 2015 MD5: b390b89fd07a0dd03c07cc20da62fbb9
Now, the plugins folder still contains lots of DLLs, and many of those are marked by 16.03.2015 date too. I consider them all a potential crash-maker, but i can not know which of them to delete and which are both required and harmless.
There is way too many DLLs in plugins folder! They should be reviewed and mostly removed. At very least those two DLLs are to be removed, but probaby many more.
Additionally, i think GIMP installation should not have multiple DLLs with the same name as it is always a potential source for confusion. Will, maybe an exception for x86 and x64 builds of some DLLs, but for every given platform there should be only one single DLL per any name.
ERRORs from the plugins were like that ( every plugin of many thrown three error popup windows ):
Всплывающее окно приложения: file-mng.exe - Точка входа не найдена : Точка входа в процедуру _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcyy не найдена в библиотеке DLL C:\Program Files\GIMP-2.0\bin\libexiv2.dll.
Всплывающее окно приложения: file-mng.exe - Точка входа не найдена : Точка входа в процедуру pthread_setname_np не найдена в библиотеке DLL C:\Program Files\GIMP-2.0\bin\libglib-2.0-0.dll.
Всплывающее окно приложения: file-mng.exe - Точка входа не найдена : Точка входа в процедуру _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc не найдена в библиотеке DLL C:\Program Files\GIMP-2.0\bin\libgexiv2-2.dll.
Attachment 372162, "All those error windows i had to click through. You may extract affected pugins list from it.":
Windows_Events.txt.gz
Version: 2.10.0