Bug in XP Service Pack 2

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The "ntsd" program breaks after installing Service Pack 2.

This is very easy to reproduce. Go to start/run and
type "ntsd notepad". A debugger window for Notepad will
come up. At the debugger prompt, type the following:

a esp-100
mov eax,1

ntsd will crash, after trying to load symbol data to try
to resolve the meaning of "1". This happens every time
under XP SP2, but not under any other version of Windows
NT.

esp-100 is valid memory, because esp is initialized to the
end of a page and -100 from there is still within a page.
This means that writing to that memory is a reasonable
request. This occurs on both Pentium 4 machines and
Athlon 64 machines, which have the NX bit. Since this is
data memory, no exception should be occurring.

Interestingly, the following does not crash:

e esp-100 b8 01 00 00 00

which should be exactly equivalent.

Melissa

(cross-posted from General; I figured it would be better
understood by device driver people)
 
As I said why I replied yesterday - it works perfectly as advertised with a
slipstreamed version of XP SP2 and the SP2 updated symbols. Evidently there
are some SP1 gremlins still lurking in your system.
 
My system is clean install with SP2 slipstreamed and NTSD crashed. ( I
followed Melissa's steps)
 
Back
Top