GPF when loading MSC 7/8 program



A GP fault occurs while loading a MSC 7/8 (Visual C)  program. The DI register is FFFF and the IP register is A99C.


This occurs when a module compiled with debug data

  has no line number information. The code which processes line

  number information does not have a check for a count of zero, so it

  handles it as if the count were 64K. The following patch inserts a

  check for zero into the code.

Patch BCHK.EXE as follows:

ren bchk.exe bchk.bin

debug bchk.bin

-s 0 lffff 0f 84 11 00 53

(displays address)

-e address     74 11 53 26 8b 04 bb 06 00 f7 e3 8b d8 2e 8b 97

-e address 10  2e 70 5b 83 c6 04 83 c3 04 e3 1a



ren bchk.bin bchk.exe

Old KB# 12276
Comment List
Related Discussions