Re: [DUG] Determine line number from MAP file

2010-08-09 Thread Ross Levis
Optimization would have been on.  I've got MadExcept installed now and I'm
hoping this will pinpoint the line number.  If not then I'll upload a new
map file.

 

Cheers,

Ross.

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Cheng Wei (FMI)
Sent: Monday, 9 August 2010 4:00 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Determine line number from MAP file

 

Hi Ross,

 

When you built your dll was Code Optimisation turned on (either under
Project Options | Compiler or in the unit source)? My utility works for
projects with Optimisation turned off only. When Optimisation is on address
map is different

 

Regards

 

Cheng Wei

Software Development Manager

Fairview Metal Industries

M   +64 21 410 776

P+64 9 984 4917

F+64 9 984 4993

   blocked::mailto:che...@fmi.co.nz che...@fmi.co.nz

   blocked::http://www.fmi.co.nz/ www.fmi.co.nz

 

 


  _  


From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Monday, 9 August 2010 1:32 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Determine line number from MAP file

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-boun...@delphi.org.nz [mailto:delphi-boun...@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-boun...@delphi.org.nz [mailto:delphi-boun...@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 $0150 at the time of this
compile.

 

I hope this is possible.

 

Thanks,

Ross.

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Determine line number from MAP file

2010-08-08 Thread Cheng Wei (FMI)
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-boun...@delphi.org.nz
[mailto:delphi-boun...@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 $0150 at the time
of this compile.

 

I hope this is possible.

 

Thanks,

Ross.

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Determine line number from MAP file

2010-08-08 Thread Ross Levis
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-boun...@delphi.org.nz [mailto:delphi-boun...@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-boun...@delphi.org.nz [mailto:delphi-boun...@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 $0150 at the time of this
compile.

 

I hope this is possible.

 

Thanks,

Ross.

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Determine line number from MAP file

2010-08-08 Thread Cheng Wei (FMI)
Hi Ross,
 
When you built your dll was Code Optimisation turned on (either under
Project Options | Compiler or in the unit source)? My utility works for
projects with Optimisation turned off only. When Optimisation is on
address map is different
 
Regards
 

Cheng Wei

Software Development Manager

Fairview Metal Industries

M   +64 21 410 776

P+64 9 984 4917

F+64 9 984 4993

  che...@fmi.co.nz blocked::mailto:che...@fmi.co.nz 

  www.fmi.co.nz blocked::http://www.fmi.co.nz/ 

 




From: delphi-boun...@delphi.org.nz
[mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis
Sent: Monday, 9 August 2010 1:32 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Determine line number from MAP file



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-boun...@delphi.org.nz
[mailto:delphi-boun...@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-boun...@delphi.org.nz
[mailto:delphi-boun...@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 $0150 at
the time of this compile.

 

I hope this is possible.

 

Thanks,

Ross.

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

[DUG] Determine line number from MAP file

2010-08-06 Thread Ross Levis
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 $0150 at the time of this
compile.

 

I hope this is possible.

 

Thanks,

Ross.

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe