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 

the mean of codeguard log file

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
lztang
Guest





PostPosted: Mon Jan 12, 2004 9:19 am    Post subject: the mean of codeguard log file Reply with quote



Hi,

CodeGuard give a log file like this:
============================================================================
======
Error 00001. 0x130700 (Thread 0x0310):
Access overrun: Attempt to access 4 byte(s) at 0x08B4ED10+64, that is at
offset 0+64 in local block 0x08B4ED10(=[ebp-0x9C]
@tlz121play.exe:0x01:021532) which is only 64 bytes long.
Call Tree:
0x00422532(=tlz121play.exe:0x01:021532) .trayicon.cpp#59
0x00416C57(=tlz121play.exe:0x01:015C57)
0x00417A49(=tlz121play.exe:0x01:016A49) D:voiceSMCVdp100i.cpp#411
0x00413A11(=tlz121play.exe:0x01:012A11) D:voiceSMCSpecform.cpp#24
0x004127D1(=tlz121play.exe:0x01:0117D1)
0x00413FE7(=tlz121play.exe:0x01:012FE7) D:voiceSMCmycndate.cpp#89

----------------------------------------------------------------------------
---------

But where is the bug,is the fire line of CallTree or the Last Line ? What's
the #411 mean ? Is it the line number of source ?

Thanks



Back to top
Hans Galema
Guest





PostPosted: Mon Jan 12, 2004 9:56 am    Post subject: Re: the mean of codeguard log file Reply with quote



lztang wrote:

Quote:
Access overrun: Attempt to access 4 byte(s) at 0x08B4ED10+64, that is at
offset 0+64 in local block 0x08B4ED10(=[ebp-0x9C]
@tlz121play.exe:0x01:021532) which is only 64 bytes long.
Call Tree:
0x00422532(=tlz121play.exe:0x01:021532) .trayicon.cpp#59

The error is in your code in file trayicon.cpp on line 59, yes.

Your buffer is only 64 bytes, and you act as if there were at least
4 more.

In the logfile will be more hints: Probably already in the next block
there will be a hint where the 64 bytes were declared.

Hans.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) 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.