With RB2006R2 I am suddenly getting a lot of strange crashes when compiling
in the debugger - the compiled app quits without throwing exceptions, nor
stopping on a line of code... just >poof< gone. After some days, I have tracked
down one of the problems... a line of code like this :
ArrayA(i).name = ArrayA(i).name + " xxx"
Occasionly, RB gives this seemingly serious error :
"Runtime Error 4 : Failed Assertion. Location basicstr.cpp:3473 Failure
condition : theStr.Encoding() == kEndodingUTF8 or theStr.Encoding() ==
kEncodingUTF16 or theStr.Encoding() == kEncodingASCII. Failure message : "
So I commented out that line, and that part of the code works without
crashing. But then I go to save the file, and it crashes in another place. I
tracked
that down to the table definition for database (see below). I have not edited
this part of the code in a long time. It works sometimes and sometimes does
not. It seems there are many erratic behaviours that can not be tracked down
easily.
I discovered that this same code works fine when compiled in RB2005R4. What
gives with RB2006? Can someone just confirm with all honesty... Is it pretty
buggy and unstable? Should I retrograde to 2006R1 or 2005R4? Does anyone have
any advice? I have many things to do, and am on a short deadline, losing sleep
and wasting day on what appears to be a RB bug, without any help from Real or
anyone else.
Database definition that is causing crash ... at times :
CREATE TABLE CompanyItems (
ID integer,
dept varchar,
deptID varchar,
title varchar,
name varchar,
nameAbbrev varchar,
RankOrder integer,
units float,
tus float,
HoursWk float,
MinHrs float,
MaxHrs float,
type varchar,
category varchar,
print boolean,
lab boolean,
complete boolean,
list_number integer
)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>