APPCRASH due to faulty gdiplus.dll

Hi,

We have developed a C# application on VS 2010,which is used by thousands of users.

It is working flawlessly ,except 1% of Windows client machines -(Windows 7 ,Windows 8,Windows 8.1) ,which is crashing with following error message:

Problem signature:

Problem Event Name: APPCRASH
Application Name: *****
Application Version: 1.0.0.0
Application Timestamp: 551933c1
Fault Module Name: gdiplus.dll
Fault Module Version: 6.1.7601.17514
Fault Module Timestamp: 4ce7b714
Exception Code: c0000005
Exception Offset: 000b06db
OS Version: 6.1.7601.2.1.0.768.11
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

I tried to find out the resolution over internet for days, but haven't come with any resolution yet.On some forums it was mentioned it was due to faulty Windows fonts(but I doubt that).Is it something to do with some Windows updates for gdiplus.dll ,as this system file has to do with display property of the application.

Hope someone comes up with the resolution of this soon :)


  • Edited by saket_kumar Wednesday, May 27, 2015 5:28 AM
May 27th, 2015 5:23am

my opinion it may be related to font

https://msdn.microsoft.com/en-us/library/windows/desktop/ms533798%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

When you use the GDI+ API, you must never allow your application to download arbitrary fonts from untrusted sources.  The operating system requires elevated privileges to assure that all installed fonts are trusted.

did you installed new font recently? did you try to delete it to test?

  • Edited by britishdhez Wednesday, May 27, 2015 5:48 AM
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2015 5:48am

Thanks a lot for your reply :)

As mentioned in my query,I did investigate if the users installed new font/they have corrupted fonts 

by running sfc /scannow .I did try deleting the new fonts too.

But to no avail.

What I found out common in all the problematic client machine was Windows update was on.That's why I suspect is it due to any recent Windows update ?

 


  • Edited by saket_kumar Wednesday, May 27, 2015 6:06 AM
May 27th, 2015 6:02am

try to run Windows update troubleshooter from the client side

http://windows.microsoft.com/en-ZA/windows7/Open-the-Windows-Update-troubleshooter

or try simply perform system restore from the client side to test

I will let you know if I found another similar issue like this with the solution

anyway, what is actually stated at Application Name: *****? your custom software? did you try to reinstall it?
  • Edited by britishdhez Wednesday, May 27, 2015 6:20 AM
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2015 6:12am

ok, I found it

KB3013455 caused this issue with font (mostly Courier New)
KB3037639 fix the issue with font
https://support.microsoft.com/en-us/kb/3037639

please test in one machine

  • Edited by britishdhez Wednesday, May 27, 2015 6:58 AM
May 27th, 2015 6:58am

Thanks :)

Though, the fix is not for Windows 7/8 

Anyways, I will try out this out and let you know the result.

  • Edited by saket_kumar Wednesday, May 27, 2015 7:15 AM
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2015 7:11am

I think only PC with special software which affected with this update

but for temporary solution

for Windows 7 uninstall KB 3045171, if doesn't fix try also remove KB 3057110, there is other company with custom font setting facing the same problems and fix by removing the update and update the font. Maybe this information useful for you (is GDI+ issue with font related after windows update)

http://www.goldensoftware.com/knowledge-base/surfer/1957-fix-available-for-gsdraw-error-1-generic-error

for Windows 8.1, uninstall KB 3045171, is it possible to reinstall the application to test?

I hope below solution will be permanently solution

as you can see at this https://support.microsoft.com/en-us/kb/3045171

Known issues with this security update

  • After you install this security update (3045171), you experience crashes when you use Windows GDI+ to create text outline-based path objects on a computer that is running Windows 7 or an earlier version of Windows.

    To resolve this problem, install update 3065979. For more information, click the following article number to go to the article in the Microsoft Knowledge Base:  3065979       (https://support.microsoft.com/kb/3065979/            )     "GsDraw error (1): GenericError" error occurs and application crashes when you create text outline in Windows

for both windows 7,8/8.1, try to install  KB3065979

https://support.microsoft.com/en-us/kb/3065979


May 28th, 2015 3:02am

Just an update-

A client had re installed Windows 8.1 ,and updates were off as well. Our application was working fine for a day,again the 2nd day it crashed with same gdiplus error.

Then after analyzing in system restore point found Cyberlink PowertoGo was the only program installed.Did system restore to remove PowertoGo ,and the crash stopped !

I am analyzing which files this program is changing.Will let everyone know the result.


Free Windows Admin Tool Kit Click here and download it now
May 29th, 2015 3:09am

Just an update-

A client had re installed Windows 8.1 ,and updates were off as well. Our application was working fine for a day,again the 2nd day it crashed with same gdiplus error.

Then after analyzing in system restore point found Cyberlink PowertoGo was the only program installed.Did system restore to remove PowertoGo ,and the crash stopped !

I am analyzing which files this program is changing.Will let everyone know the result.


May 29th, 2015 7:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics