[DUG] Determine line number from MAP file
Ross Levis
ross at stationplaylist.com
Mon Aug 9 13:32:05 NZST 2010
Thanks Cheng. I suspect Windows changed the load address itself, which it
can do if something else is occupying that memory location. In that case I
guess it's impossible to determine, is that correct?
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Cheng Wei (FMI)
Sent: Monday, 9 August 2010 9:15 AM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Determine line number from MAP file
A few years back we wrote an utility to find the line number (based on
Christophe Gevrey's source code) as well as func/proc calling hierarchy, it
served us well over the years.
I tried our utility on your map file and it can't find the address, I
suspect the linker Image Base you provided is incorrect.
Regards
Cheng
_____
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Ross Levis
Sent: Saturday, 7 August 2010 12:08 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Determine line number from MAP file
I have written a DLL for my Delphi 7 application. It's a C compatible DLL
with no Delphi memory sharing etc.
It works fine for me and several other users, but one user is regularly
receiving an access violation in this DLL at a specific address. I have a
detailed .MAP file and I'm hoping someone can help me find the source code
line number from this.
I've not done this before and I'm hoping someone can help.
The access violation is at 04148AD1.
Here is the map file.
http://www2.stationplaylist.com/in_wma.map
I believe the linker image base was set to $01500000 at the time of this
compile.
I hope this is possible.
Thanks,
Ross.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100809/8dfb1c2c/attachment.html
More information about the Delphi
mailing list