This is stack dump I get on Windows 95 (OSR2.5, OEM B) and the whole machine
Exception code: C0000005 ACCESS_VIOLATION
Fault address: BFF78840 02:00000840 C:\WINDOWS\SYSTEM\KERNEL32.DLL
DS:015F ES:015F FS:4CB7 GS:0000
Address Frame Logical addr Module
BFF78840 00602DF8 0002:00000840 C:\WINDOWS\SYSTEM\KERNEL32.DLL
BFF798FB 00602E1C 0002:000018FB C:\WINDOWS\SYSTEM\KERNEL32.DLL
BFF74568 00602E44 0001:00003568 C:\WINDOWS\SYSTEM\KERNEL32.DLL
BFF91ED0 00602E58 0002:00019ED0 C:\WINDOWS\SYSTEM\KERNEL32.DLL
I did install Soft/Ice and it shows the exact same stack and exception and
basically the GDI freezes. The network is accessible but the mouse,
keyboard etc are dead. (With Soft/Ice you can always do CTRL-D). I am no
windows 95 kernel expert nor am I a Soft/Ice Expert. I have tried running
Bounds Checker on the code but haven't discovered anything. No overflows,
no pointer errors etc. Used Mutek's Bug Trapper but without success, as
when the problem occurs, it is not able to flush the log and if connected
remotely cannot talk to the remote agent. Purify hasn't revealed anything
too (but that works on NT only).
I have no problems on Windows NT or Windows 2000. I did install the debug
checked build of Windows NT (SP 6a) hoping that it might show up something.
I do see some messages like
Invalid Menu handle - I understand this
but what is this?
HmgLock: Bad GDI Handle
cj too big for GetObject
I know the stack is toast. It is a Win32 app, no 16 bit component.
Problems only on 95 and non on Windows NT. Haven't tried Windows 98 as yet.
ANY IDEAS, POINTERS AS TO HOW TO START TACKLING THIS PROBLEM WILL BE GREATLY
PS: Ideas on how to use Soft/Ice more effectively to nail this ...