//---- End of web site text ----- Since there are no files and no linker I'm guessing there can be no map file? Is there a way to track down an error in C# from the instruction address provided in an error message like: 'The instruction at "0x004011a1" referenced memory at "0x00000000". I found your article amazingly useful and you have my thanks. I was asked to move the majority of my application into a DLL, and after I did that, none of the crash information makes sense to me anymore.I know it is just that the addresses do not line up right with the map files ( I have them both for the DLL and application).You do this by enabling generation of debug information in the compiler and linker options.If you do enable the /DEBUG linker option, note that this disables /OPT: REF by default.Now as far as I can see, it looks like the crash isn't happening in any of my code.No doubt it's somthing I've done, I just can't see where I did it!If I don't find a solution soon, my PC's going for a flying lesson I'm developing an MFC app, in VC 6.0 with the latest service patch applied, running on Windows NT.
The instruction at "0x77fcc911" referenced memory at "0x77a64870". 12 Observe the sabbath day 16 Honor your father and your mother, that your days may be prolonged. When I open the or pdb files in word or wordpad, no line numbers there?I think it is also possible that your programm changes this Memory adress, so it crashes. For instance array of pointers and use it with an wrong index: p[ -1000 ] = 0; Debug the program with a look at this Memory adress -Hey Friends I was wondering whether it is possible to develop a utility which takes as input the information and tells us the crash line in the source code, also if the concept seems fine then is there any application/utility for the same ?Hi I am seeing an application crash while printing MS Publisher application the crash is at 0x005daef8,but none of my modules have this base address neither any other dependent module i have confirmed this with dependency walker.The memory could not be "written" Let me know am i need to generate a MAP file F1or F2.dll, F3and F4 Thanks, James According to the article, this address is located in the portable executable section.I suspect that something is happening in the code to cause this address to be erroneously reported. That address looks early enough in the program to be a problem in the CRT startup code, unless you built without the CRT.