PDA

View Full Version : Windows XP SP3 BSoD STOP C0000139 on GDI32.dll Error


Olin Coles
25th April 2008, 02:45 PM
I have just installed Windows XP SP3, and after the system restart my computer displayed the BSoD (Blue Screen of Death) with the following error messages:

STOP: c0000139 {Entry Point Not Found}
The procedure entry point GdiGetBitmapBitSize could not be located in the dynamic link library GDI32.dll.

Or,

STOP: c0000139
The procedure entry point SMapLS_IP_EBP_24 could not be located in the daynamic link library Kernel32.dll.

Shashank Bansal explained in TechNet forums that the issue happens when users install SP3 with build version v.3311 or v.3244 or earlier. A security update KB948590 (MS08-021) which contains updated and newer GDI32.dll stops installation of SP3 version of GDI32.dll on the system due to file version differences. Hence the system encounters conflict and stop halt. If users doesn’t disable the setting to reboot the computer on error, the Windows will force to restart.

The solution is to restore the GDI32.dll from the service pack into Windows system folder with the following steps:

Boot from a Windows CD or BartPE.
At Welcome to Setup screen, press “R” to start repair option and open up a
Recovery Console’s command prompt window.
Select the Windows installation to use, normally is C:\Windows and just one option. If so, press “1″ and hit Enter.
If prompted for administrator password, enter the password (normally blank) and hit Enter.
Make a backup of existing GDI32.dll in system folder with following command:
REN C:\Windows\System32\GDI32.dll C:\Windows\System32\GDI32.dll.old
Replace “C” of the drive letter of your Windows installation drive if necessary.
Then copy backup GDI32.dll to the system folder with the following commands:
copy C:\Windows\ServicePackFiles\i386\GDI32.dll C:\Windows\System32\GDI32.dll
Replace “C” with your own system drive letter if applicable.
Restart computer.If you don’t have the original Windows XP CD, or been asked for administrator password which you don’t have or doesn’t set and hence unable to run restore options, try to boot from any other bootable floppy diskette, or bootable CD/DVD. If you’re on dual-boot system, it’s possible to boot from another OS to access the Windows XP installation, but make sure you use the proper path.

Notes:

If you delete the gdi32.dll file and restart, you will still receive the STOP: C0000135 BSoD. Use the steps above. The file "gdi32.dll" from Windows XP SP2 has been attached to this message.