Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[OT] GDI Failure,...

0 views
Skip to first unread message

Kerem Gümrükcü

unread,
Jun 22, 2008, 3:40:12 PM6/22/08
to
Hi,

this speaks for itself:

http://www.pro-it-education.de/staff/keremg/misc/gdierr1.jpg
http://www.pro-it-education.de/staff/keremg/misc/gdierr2.jpg
http://www.pro-it-education.de/staff/keremg/misc/gdierr3.jpg
http://www.pro-it-education.de/staff/keremg/misc/gdierr4.jpg
http://www.pro-it-education.de/staff/keremg/misc/gdierr5.jpg
http://www.pro-it-education.de/staff/keremg/misc/gdierr6.jpg
http://www.pro-it-education.de/staff/keremg/misc/gdierr7.jpg

How this happened: I wanted to send System to Hbernation Mode,
but it was not able to enter this state: No Error Log Entries, no
Messages, it just turned from "Preparing for Hibernation,..." to
this Window. Interessting is that you can see in a Screenshot that
everything is rendered false except the disabled MenuItems on
Menus. Why only disabled items are drawn correctly. An why
can the content from Internet Explorer be drawn correctly?
Every Application started after this fault has totally destroyed
Character repesentation and Consoles write their buffers also
false and randomly as you can see. I had to restart the complete
System to get a usefull state. If i wouldn't be that familliar with
the OS and MS Paint i couldnt make these screeenshots and
save them, since you can read nothing on any window or menu
items,...

Oh yes, why will the content from FreeMath rendered successfully
and other apps not?

Its OT but maybe someone is interessted in it and also can expplain
me what and why this happens,...OS is SP3 WinXPPro, you propably
already figured this out from the Screenshots,..

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

Alexander Grigoriev

unread,
Jun 22, 2008, 4:21:30 PM6/22/08
to
1. Check your system memory for stability (good memory test, not just POST)
2. That could be your video driver misbehaving. Or some crapware hooked to
your video drover (remote access?)

"Kerem Gümrükcü" <kare...@hotmail.com> wrote in message
news:%23A%23wT$J1IHA...@TK2MSFTNGP03.phx.gbl...

Kerem Gümrükcü

unread,
Jun 22, 2008, 5:57:45 PM6/22/08
to
Hi Alexander,

>1. Check your system memory for stability (good memory test, not just POST)

My recommendation for everybody:
http://www.memtest.org/

I checked memory even yesterday,..really! No Problems,...

>2. That could be your video driver misbehaving. Or some crapware hooked to
>your video drover (remote access?)

The only video driver attached to the system except
the primary video driver is UltraVNC Video Driver
and there was never ever a problem with it at least
on my system. Here is some Version info:

C:\Programme\verinfo>verinfo C:\WINDOWS\system32\drivers\vncdrv.sys

File Version Info for:
"C:\WINDOWS\system32\drivers\vncdrv.sys"

[FileName]
-- C:\WINDOWS\system32\drivers\vncdrv.sys --
[Language]
-- Sprachneutral --
[Comments]
-- "No Information Available" --
[CompanyName]
-- RDV Soft --
[FileDescription]
-- Ultravnc Mirror Driver --
[FileVersion]
-- 1.00.17 --
[InternalName]
-- vncdrv.sys --
[LegalCopyright]
-- RDV Soft --
[LegalTrademarks]
-- "No Information Available" --
[OriginalFilename]
-- vncdrv.sys --
[ProductName]
-- UltraVnc Mirror Driver --
[ProductVersion]
-- 1.00.17 --
[PrivateBuild]
-- "No Information Available" --
[SpecialBuild]
-- "No Information Available" --
[Checksums]
-- Header Sum: 65670 --
-- Computed Sum: 65670 --
[ImageExtraInfo]
-- Image Characteristics: 270 --
-- Machine: 332 --
-- Subsystem: 1 --
-- Major Linker Version: 7 --
-- Minor Linker Version: 10 --
-- Minor Image Version: 5 --
-- Minor Image Version: 0 --
-- Major Operating System Version: 5 --
-- Minor Operating System Version: 0 --
-- Major Subsystem Version: 5 --
-- Minor Subsystem Version: 0 --
-- Image Magic: 267 --
-- Image Checksum: 65670 --
-- Image Dll Characteristics: 1024 --


Even it was not loaded and/or activated while this happened,...

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Alexander Grigoriev" <al...@earthlink.net> schrieb im Newsbeitrag
news:uAFzeFL1...@TK2MSFTNGP03.phx.gbl...

Ivan Brugiolo [MSFT]

unread,
Jun 22, 2008, 9:09:46 PM6/22/08
to
The images shown would make me think of GDI handle exhaustion,
USER handle exhaustion, Desktop-Heap exhaustion, or, Session-Space
exhausion.
The fact that you have a mirror driver would make me think of the 4th one.

--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Kerem Gümrükcü" <kare...@hotmail.com> wrote in message

news:OwNNLML1...@TK2MSFTNGP03.phx.gbl...

Ken Snyder

unread,
Jun 22, 2008, 10:30:54 PM6/22/08
to
Hi Ivan,

>The fact that you have a mirror driver would make me think of the 4th one.

at the Time this happened, the driver neither was started nor loaded
in any way in the systems user/kernelspace, in fact it was just a binary
located somewhere on the hard disk. The point is, that i did a call to
SetSystemPowerState (hibernate,force), the system started to prepare
for this and suddenly returned to that surface what you saw. No MessageBox,
schowing any "Driver did not allow to set state xyz" or something like that.
But why and what has happened that made any characters and any sort of
drawing text gone, especially the console subsystem. What happened
internally there? What is the Limit of USER/GDI/DESKTOP/SESSION
Objects/Handles? I do have lots of physical memory (i mean if not there is
virtual space, no matter how much physical you have!) But i do not have
lots of paging access while working, anyway, whats the Limit of these
objects
and on what does this depend,...and what do i have to take care/measure
to avoid such situations,...i guess there is no indicator for this,..am i
right?


Regards

Kerem

--

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Ivan Brugiolo [MSFT]" <ivan...@online.microsoft.com> schrieb im
Newsbeitrag news:545DB2A6-61E4-484D...@microsoft.com...

Ivan Brugiolo [MSFT]

unread,
Jun 23, 2008, 1:10:20 AM6/23/08
to
Gdi and User handle should be monitorable via perf-mon.
Their limit is around 10000 per process and 64000 per session.

Desktop-Heap should be monitorable with a tool called dheapmon.
http://support.microsoft.com/kb/184802 should be a good reading.
For the general issue, this should also be a recomended reading.
http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

For the session space exhaustion, if you are on WinXp/Win2003-32-bit,
there are no magic tools that I'm aware of, short of debugging
the Mm structures in KD.
While I do not have a good idea why hibernation is triggering the issue,
I have debugged quite a few session space exhaustion, where either
the creation of a large bitmap was failing, or, the mere existence of
very large display driver was killing the contiguous space of session space,
and, session space fragmentation was preventing all but small operations
from completing.

--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Ken Snyder" <mp5...@hotmail.com> wrote in message
news:%23jP0NoN...@TK2MSFTNGP03.phx.gbl...

Kerem Gümrükcü

unread,
Jun 23, 2008, 1:41:36 AM6/23/08
to
Hi Ivan,

yes, it really was the call to SetSystemPowerState, i mean we are
sure that this was not the reason, the function i mean, but some other
lower level code that lead to this. I could not reproduce this on my
Windows XP System. The Application that send Windows to Hibernate
was a self made .NET based UserMode-Only application that just drops
a SetSystemPowerState(false,true); to the Windows API, thats all,...

Maybe the Force-Flag lead to this. But i dont know how?

Thanks for the Links,...

Regards

Kerem


--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Ivan Brugiolo [MSFT]" <ivan...@online.microsoft.com> schrieb im

Newsbeitrag news:6F36F36A-22BE-4F9E...@microsoft.com...

Kerem Gümrükcü

unread,
Jun 23, 2008, 1:57:07 AM6/23/08
to
Hi Ivan,

reading you post again lead me to this question: If
the limit is arround 10000 objects/handles, so why
the os fails that way and just simply does not allow
the creation of new object instances or notifies the
user about something like "Out of GDI Objects".
I mean this would be much better that rendering the
complete UI useless,...or it should only fail the applications
that requested the GDI Objects..

>Gdi and User handle should be monitorable via perf-mon.
>Their limit is around 10000 per process and 64000 per session

Why is this limited? Wouldnt be a "Allocate until there is no more
capacity" Strategy much better than limiting this.Trying to exceed
that limit should just fail for the callers of the code that requested
handles to objects,...


Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Ivan Brugiolo [MSFT]" <ivan...@online.microsoft.com> schrieb im

Newsbeitrag news:6F36F36A-22BE-4F9E...@microsoft.com...

Volodymyr M. Shcherbyna

unread,
Jun 23, 2008, 11:12:08 AM6/23/08
to
Well, I usually see picture like this, when some driver is leaking nonpaged
memory ...

--
V.


This posting is provided "AS IS" with no warranties, and confers no
rights.

"Kerem Gümrükcü" <kare...@hotmail.com> wrote in message

news:eGF5DYP1...@TK2MSFTNGP04.phx.gbl...

Kerem Gümrükcü

unread,
Jun 23, 2008, 11:40:20 AM6/23/08
to
Hi V.

i dont know what is hapenning to my system the last days,
but it really freaks out. Ten minutes ago, i got this while
resuking from hibernation:

KERNEL_STACK_INPAGE_ERROR (77)
The requested page of kernel data could not be read in. Caused by
bad block in paging file or disk controller error.
In the case when the first arguments is 0 or 1, the stack signature
in the kernel stack was not found. Again, bad hardware.
An I/O status of c000009c (STATUS_DEVICE_DATA_ERROR) or
C000016AL (STATUS_DISK_OPERATION_FAILED) normally indicates
the data could not be read from the disk due to a bad
block. Upon reboot autocheck will run and attempt to map out the bad
sector. If the status is C0000185 (STATUS_IO_DEVICE_ERROR) and the paging
file is on a SCSI disk device, then the cabling and termination should be
checked. See the knowledge base article on SCSI termination.
Arguments:
Arg1: 00000001, (page was retrieved from disk)
Arg2: 00000000, value found in stack where signature should be
Arg3: 00000000, 0
Arg4: f2e6b95c, address of signature on kernel stack
MODULE_NAME: nt

FAULTING_MODULE: 804d7000 nt

DEBUG_FLR_IMAGE_TIMESTAMP: 48025eab

ERROR_CODE: (NTSTATUS) 0x1 - STATUS_WAIT_1

BUGCHECK_STR: 0x77_1

DEFAULT_BUCKET_ID: WRONG_SYMBOLS

LAST_CONTROL_TRANSFER: from 80521007 to 8053380e

STACK_TEXT:
WARNING: Stack unwind information not available. Following frames may be
wrong.
f7914d68 80521007 00000077 00000001 00000000 nt!KeBugCheckEx+0x1b
f7914d8c 804e6b41 003dbda8 00000000 86bbf838 nt!IoSetFileOrigin+0x9043
f7914da4 804e6b24 863dbe08 8057aeff 00000000 nt!KeResetEvent+0x256
f7914ddc 804f88ea 804e6aa0 00000000 00000000 nt!KeResetEvent+0x239
00000000 00000000 00000000 00000000 00000000 nt!KeInitializeTimer+0x107


Now i think, its time for a chkdsk on the system.

Regards

Kerem


--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Volodymyr M. Shcherbyna" <v_sch...@online.mvps.org> schrieb im
Newsbeitrag news:OZAkHOU1...@TK2MSFTNGP03.phx.gbl...

Ken Snyder

unread,
Jun 23, 2008, 12:37:35 PM6/23/08
to
Hi,

>Now i think, its time for a chkdsk on the system.

it looks like it was a corrupted FS,...
chkdsk showed me some errors found
on the disk,...

Dude, what a corrupted fs is causing trouble,...

Regards

Kerem

--
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Kerem Gümrükcü" <kare...@hotmail.com> schrieb im Newsbeitrag
news:Odf%239dU1I...@TK2MSFTNGP06.phx.gbl...

Tim Roberts

unread,
Jun 24, 2008, 12:03:03 AM6/24/08
to
Kerem Gümrükcü <kare...@hotmail.com> wrote:
>
>How this happened: I wanted to send System to Hbernation Mode,
>but it was not able to enter this state: No Error Log Entries, no
>Messages, it just turned from "Preparing for Hibernation,..." to
>this Window. Interessting is that you can see in a Screenshot that
>everything is rendered false except the disabled MenuItems on
>Menus. Why only disabled items are drawn correctly.

Because those things are drawn into a memory bitmap and blitted to the
screen, in order to make the shadow effect.

If I had to guess, having seen this kind of thing 15 years ago, I'd guess
that your display driver was one of those that caches font glyphs, and the
hibernation process caused it to lose the font cache.

>An why can the content from Internet Explorer be drawn correctly?

Probably the same thing: it's rendered into a bitmap and blitted onscreen.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

Alexander Grigoriev

unread,
Jun 24, 2008, 10:07:27 AM6/24/08
to
Your system may be overheating, or memory failing, or disk failing.

Inpage error happens because of the disk read error.

"Kerem Gümrükcü" <kare...@hotmail.com> wrote in message

news:Odf%239dU1I...@TK2MSFTNGP06.phx.gbl...

0 new messages