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 

Tired of: Assertion failed: amount >= dest - startDest, file

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





PostPosted: Fri Aug 25, 2006 9:11 pm    Post subject: Tired of: Assertion failed: amount >= dest - startDest, file Reply with quote



Why do I keep getting "Assertion failed: amount >= dest - startDest, file
..\ek_flbuf.cpp, line 315" and then an abnormal shutdown?

Is there a fix for this? I didn't see one last time I looked.

--
Albert Wiersch
Fix your website: http://onlinewebcheck.com
Back to top
Pete Fraser
Guest





PostPosted: Fri Aug 25, 2006 9:26 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote



When?
Which application
Which version
Which OS
etc.etc.
Rgds Pete

"Albert Wiersch" <nospam (AT) nospam (DOT) com> wrote in message
news:44ef2116 (AT) newsgroups (DOT) borland.com...
Quote:

Why do I keep getting "Assertion failed: amount >= dest -
startDest, file .\ek_flbuf.cpp, line 315" and then an
abnormal shutdown?

Is there a fix for this? I didn't see one last time I
looked.

--
Albert Wiersch
Fix your website: http://onlinewebcheck.com
Back to top
Albert Wiersch
Guest





PostPosted: Fri Aug 25, 2006 11:55 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote



Using BDS 2006 (Update 2) to edit a C++ file.OS is Win XP Pro SP2.

Sometimes I can go a while without the error appearing, sometimes it appears
frequently. I'm not really sure what is causing it. I believe it usually
happens when I press the return key after making editing changes to the
code, but I don't know how to reproduce it on a consistent basis. Perhaps it
has something to do when I add a left curly brace and when I hit return it
typically adds the closing curly brace but maybe the editor/IDE is getting
confused somehow.

--
Albert Wiersch


"Pete Fraser" <pete.nospam.fraser.nospam (AT) frasersoft (DOT) nospam.net> wrote in
message news:44ef251e (AT) newsgroups (DOT) borland.com...
Quote:
When?
Which application
Which version
Which OS
etc.etc.
Rgds Pete

"Albert Wiersch" <nospam (AT) nospam (DOT) com> wrote in message
news:44ef2116 (AT) newsgroups (DOT) borland.com...

Why do I keep getting "Assertion failed: amount >= dest - startDest, file
.\ek_flbuf.cpp, line 315" and then an abnormal shutdown?

Is there a fix for this? I didn't see one last time I looked.

--
Albert Wiersch
Fix your website: http://onlinewebcheck.com


Back to top
Atmapuri
Guest





PostPosted: Sat Aug 26, 2006 3:52 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

Hi!

How much memory do you have? This error is present
in BDS IDE since its first release in 2003, but as
average memory available has increased it got less frequent.
At least I did not see it in BDS2006, but had it every day
a few times in BDS2005.

Regards!
Atmapuri

"Albert Wiersch" <nospam (AT) nospam (DOT) com> wrote in message
news:44ef47b8 (AT) newsgroups (DOT) borland.com...
Quote:

Using BDS 2006 (Update 2) to edit a C++ file.OS is Win XP Pro SP2.

Sometimes I can go a while without the error appearing, sometimes it
appears frequently. I'm not really sure what is causing it. I believe it
usually happens when I press the return key after making editing changes
to the code, but I don't know how to reproduce it on a consistent basis.
Perhaps it has something to do when I add a left curly brace and when I
hit return it typically adds the closing curly brace but maybe the
editor/IDE is getting confused somehow.

--
Albert Wiersch


"Pete Fraser" <pete.nospam.fraser.nospam (AT) frasersoft (DOT) nospam.net> wrote in
message news:44ef251e (AT) newsgroups (DOT) borland.com...
When?
Which application
Which version
Which OS
etc.etc.
Rgds Pete

"Albert Wiersch" <nospam (AT) nospam (DOT) com> wrote in message
news:44ef2116 (AT) newsgroups (DOT) borland.com...

Why do I keep getting "Assertion failed: amount >= dest - startDest,
file .\ek_flbuf.cpp, line 315" and then an abnormal shutdown?

Is there a fix for this? I didn't see one last time I looked.

--
Albert Wiersch
Fix your website: http://onlinewebcheck.com




Back to top
vavan
Guest





PostPosted: Mon Aug 28, 2006 12:44 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

On Sat, 26 Aug 2006 12:52:37 +0200, "Atmapuri"
<janez.makovsek (AT) usa (DOT) net> wrote:

Quote:
How much memory do you have? This error is present

I get similar assertion failures (but quite rarely I must admit) on my
pc which has 1Gb installed

anyway it seems to me like rather dubious way to indicate ide
problems. it not only means we have debug-version of ide but also
makes it difficult to report the bug since instead of AV or something
which could lead to jedi exception handler (which I don't like very
much btw) raised one either has to terminate the whole process or
leave it working with UB

--
Vladimir Ulchenko aka vavan
Back to top
Atmapuri
Guest





PostPosted: Mon Aug 28, 2006 2:13 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

Hi!

Quote:
which could lead to jedi exception handler (which I don't like very
much btw) raised one either has to terminate the whole process or
leave it working with UB

The most funny thing is working around a software bug with a
hardware upgrade :)

Regards!
Atmapuri
Back to top
Chris Uzdavinis (TeamB)
Guest





PostPosted: Mon Aug 28, 2006 8:09 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

vavan <VavanRemove (AT) ThisSantel (DOT) ru> writes:

Quote:
anyway it seems to me like rather dubious way to indicate ide
problems. it not only means we have debug-version of ide but also
makes it difficult to report the bug since instead of AV or something
which could lead to jedi exception handler (which I don't like very
much btw) raised one either has to terminate the whole process or
leave it working with UB

It's not uncommon to leave assertions enabled in production code.
Afterall, if there is a problem, you can report the assertion that
failed and they have some chance of tracking it down. With assertions
removed, all you can report is that "something isn't working", which
is never a useful bug report.

Except under extreme performance-critical applications, simple
assertions introduce a negligable overhead to the program, but offer
measureable benefits.

--
Chris (TeamB);
Back to top
vavan
Guest





PostPosted: Tue Aug 29, 2006 8:10 am    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

On Mon, 28 Aug 2006 11:09:15 -0400, Chris Uzdavinis (TeamB)
<chris (AT) uzdavinis (DOT) com> wrote:

Quote:
It's not uncommon to leave assertions enabled in production code.

let me clarify Smile it's not that I do not like or do not use assertions
at all, but I see no big point in using "standard" assertions which
usually simply show some message with failing invariant and terminate
application. instead my own assertions tend to throw some predefined
exception class so I can track it down successfully given that I can
see the whole callstack, registers, environment etc.

Quote:
removed, all you can report is that "something isn't working", which
is never a useful bug report.

actually this is exactly what's happening with their assertions :(

--
Vladimir Ulchenko aka vavan
Back to top
Chris Uzdavinis (TeamB)
Guest





PostPosted: Tue Aug 29, 2006 5:38 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

vavan <VavanRemove (AT) ThisSantel (DOT) ru> writes:

Quote:
removed, all you can report is that "something isn't working", which
is never a useful bug report.

actually this is exactly what's happening with their assertions Sad

The assertion failures contain a file and line number. You don't
think that the developers of the IDE would find that useful?

--
Chris (TeamB);
Back to top
vavan
Guest





PostPosted: Tue Aug 29, 2006 6:12 pm    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

On Tue, 29 Aug 2006 08:38:14 -0400, Chris Uzdavinis (TeamB)
<chris (AT) uzdavinis (DOT) com> wrote:

Quote:
The assertion failures contain a file and line number. You don't

actually I think that only in quite simple situations usual file/line
info would be sufficient in order to fix the bug. as someone reported
in this thread in previous release of ide he had the very same
asserion several times a day so looks like they fixed _some_ reasons
of this bug. but way too often one needs to know the whole context of
failing and other threads in order to find the reason of the bug. and
sometimes even such level of info isn't enough

Quote:
think that the developers of the IDE would find that useful?

we can only wait the next release and see whether they found it useful
or not

--
Vladimir Ulchenko aka vavan
Back to top
David Dean
Guest





PostPosted: Sun Sep 24, 2006 5:25 am    Post subject: Re: Tired of: Assertion failed: amount >= dest - startDest, Reply with quote

In article <aoe8f2dbhcvc71jtof2oklugfabh6kr1l9 (AT) 4ax (DOT) com>,
vavan <VavanRemove (AT) ThisSantel (DOT) ru> wrote:

Quote:
we can only wait the next release and see whether they found it useful
or not

It would be a whole lot more likely to get fixed if someone could
post reproducible steps.

--
-David

Quis custodiet custodes ipsos?
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.