Re: Strange exception, please help

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

From: Leroy Casterline (spamfreeme_at_nospam.com)
Date: 11/02/04


Date: Tue, 02 Nov 2004 13:40:29 -0700


>You should have included the crash dump analysis produced by "!analyze -v".
>Are you sure that the instruction code was the same at the time of the
>crash?

This is happening in an application rather than in a driver. The code is
written in BCB 6, so I'm using Borland's debugger rather than WinDbg.

Yes, the instruction code is identical between crashing and non-crashing
runs. The only difference is the location of the instruction in virtual
memory. Commenting/uncommenting a line of code in my app shifts the
location of the failing instruction by 20 bytes. The failure is
absolutely repeatable.

Baring a hardware problem, do you know of any way that an instruction
could write to an address other than its target address? Perhaps a
problem with virtual memory mapping or some such?



Relevant Pages

  • Re: Modifying pmars.
    ... Ability to cycle instruction code. ... Ability to cycle instruction modifier. ... Ability to cycle instruction addressing a. ...
    (rec.games.corewar)
  • .c, .m, .ma, .mb modifier ideas to change the instruction code itself (etc).
    ... This kinda limits the self modifieing capabilities. ... ..c this would cause the operations to work on the instruction code itself ... ..m this would make the operations work on the modifier field itself. ...
    (rec.games.corewar)
  • Re: Strange exception, please help
    ... CC is INT 3 being the breakpoint instruction. ... the instruction code is identical between crashing and non-crashing ... > Baring a hardware problem, do you know of any way that an instruction ...
    (microsoft.public.development.device.drivers)
  • Re: Assembler question
    ... instruction code, X'1A', could be used as a positive packed decimal "1" ... Anyone who has spent a significant time looking at dumps of application code will verify: quite often, instruction streams can be confused with data areas, just because of the respective contents. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Understanding assembler instructions
    ... > In a CALL instruction, the high 2 bits are the instruction code and the ... > low 30 bits are s signed word offset. ... Code CALL" is a one-Byte Opcode, followed by a dWord. ...
    (alt.lang.asm)