Re: Exception in GWES.EXE hangs the system

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Chris Edgington" <cedgington@xxxxxxxxxxxxxx> wrote in
news:1153240123.833257.58140@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

Valter,

How will a JUMP to a NULL function pointer cause the RA to be 0?
I'd expect the PC to become 0, while the RA will be the caller
function (something in NK.EXE).

Here the RA is not 0, the PC is 0 and this could be a call to a NULL
function pointer

PC=00000000(???+0x00000000) RA=84157ae0(NK.EXE+0x00037ae0)
BVA=00000003 FSR=00000003

(I used jump and not call because on some processors function calls
are done using a branch instruction and because I'm better in
writing C and assembler code than plain english... :))

Since this is in the NK.EXE I thought that could be a bug in our
friend OAL code (but it could also be a bug in the rest of the
kernel).

I think that also stack corruption could cause an overwrite of the
correct return address with zeros, and then result to a jump to 0
instead of a return to the correct instruction.

--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)
.



Relevant Pages

  • Re: which is better "switch" or "if-else"
    ... A jump table is a array of <key, function pointer> records. ... the table becomes an array of function pointers. ... I use a switch statment. ...
    (comp.lang.c)
  • Re: Execute binary code
    ... Chris Mellon wrote: ... the OP gave is that it's a compiled binary, which you can't just "jump ... You may have to offset the function pointer so the entry point becomes ...
    (comp.lang.python)
  • Re: Pthread ThreadPool
    ... threads to executing a function from the task structure. ... function pointer I need the pthread to jump to. ...
    (comp.programming.threads)
  • Re: Pthread ThreadPool
    ... threads to executing a function from the task structure. ... function pointer I need the pthread to jump to. ...
    (comp.os.linux.development.apps)
  • Re: Exception in GWES.EXE hangs the system
    ... It's a jump to a NULL function pointer or a stack corruption problem ... If it happens during GWES startup it may be the initialization of the ... (l'indirizzo di reply di questo messaggio non è ...
    (microsoft.public.windowsce.platbuilder)