[DUG] Determine line number from MAP file

Cheng Wei (FMI) chengw at fmi.co.nz
Mon Aug 9 09:14:48 NZST 2010


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/58ceddcd/attachment.html 


More information about the Delphi mailing list