BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tmemorystream problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue May 23, 2006 9:14 am    Post subject: tmemorystream problem Reply with quote



Hi,

We recently upgraded to bds4.0 from....... Delphi 3.0

I have code that works with D3 but <<not>> always with bds4.0.

The code in question is a class that has 62 variables that are
subclassed from Tmemorystream, it creates an exception when
called from the bdsproj file but works just fine after
Application.Run is running.

The reported error is
"EAccessviolation with message 'Access violation at address 004019AB
in module LTTview. Write of address 00000000'"

Afterwhich it jumps to Getmem.inc line 1627
mov TMediumFreeBlock[edx].PreviousFreeBlock, edi

I could go a hundred ways around this problem but I'd like to know
what is going on.

Thanks,

Andrew
Back to top
aj
Guest





PostPosted: Thu Jun 01, 2006 1:19 pm    Post subject: Re: tmemorystream problem Reply with quote



Hi
I'm posting a follow up.

The error seems to be associated with a memory leak.
Now it throws an exception when cleaning up a TStringList !!

Can anyone recommed a leak checking program
for bds4?

Thanks
Andrew

andrew.mcdonald (AT) tasler (DOT) de wrote:
Quote:
Hi,

We recently upgraded to bds4.0 from....... Delphi 3.0

I have code that works with D3 but <<not>> always with bds4.0.

The code in question is a class that has 62 variables that are
subclassed from Tmemorystream, it creates an exception when
called from the bdsproj file but works just fine after
Application.Run is running.

The reported error is
"EAccessviolation with message 'Access violation at address 004019AB
in module LTTview. Write of address 00000000'"

Afterwhich it jumps to Getmem.inc line 1627
mov TMediumFreeBlock[edx].PreviousFreeBlock, edi

I could go a hundred ways around this problem but I'd like to know
what is going on.

Thanks,

Andrew
Back to top
Riki Wiki
Guest





PostPosted: Sat Jun 10, 2006 2:23 pm    Post subject: Re: tmemorystream problem Reply with quote



On 1 Jun 2006 01:19:45 -0700, aj wrote:

Quote:
Can anyone recommed a leak checking program
for bds4?

Hoi Andrew

Cost money but is very good:
<http://www.automatedqa.com/products/aqtime/>

If you need more recommendation try posting in the
b.p.d.thirdpartytools.general newsgroup. Also when you repost you need to
be aware about the importance of posting to the Borland news server to make
everybody see your message and possibly answer.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.