Author: tkreuzer
Date: Sun Jun 5 16:00:24 2011
New Revision: 52091
URL: http://svn.reactos.org/svn/reactos?rev=52091&view=rev
Log:
[WIN32K]
Add some more debug output in case of a failed ASSERT
Modified:
trunk/reactos/subsystems/win32/win32k/objects/gdipool.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdipool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/gdipool.c?rev=52091&r1=52090&r2=52091&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdipool.c [iso-8859-1]
(original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdipool.c [iso-8859-1] Sun
Jun 5 16:00:24 2011
@@ -139,6 +139,13 @@
/* Get a free section */
ple = pPool->leReadyList.Flink;
pSection = CONTAINING_RECORD(ple, GDI_POOL_SECTION, leReadyLink);
+ if (pSection->cAllocCount >= pPool->cSlotsPerSection)
+ {
+ DPRINT1("pSection->cAllocCount=%ld, pPool->cSlotsPerSection=%ld\n",
+ pSection->cAllocCount, pPool->cSlotsPerSection);
+ DBG_DUMP_EVENT_LIST(&pPool->slhLog);
+ ASSERT(FALSE);
+ }
ASSERT(pSection->cAllocCount < pPool->cSlotsPerSection);
}
else