[V4RB] Crash with many insert/update statements

Frank Bitterlich bitterlich at gsco.de
Fri Nov 21 14:31:40 CST 2003


Hi,

one of my apps issues many (thousands) of mixed insert and update statements
(SQLExecute()) on a single table. Every thousand statements, I issue a
Flush(), just for good measure.

But after a few (2000-3000) of these statements, I get a crash like this:
Thread 0 Crashed:
 #0   0x005b111c in FBL_Cache::FlushAll(void)
 #1   0x006084ec in FBL_DataBase::FlushAll(void)
 #2   0x00639db8 in OBL_Cursor::UpdateAll(void)
 #3   0x0063b300 in VDK_Cursor::UpdateAll(void)
 #4   0x0062db54 in
Parse_UpdateStatement__12VDK_DataBaseFPCcPUlP28FBL_Array<P14VD
 #5   0x0062a6ac in
SqlExecute__12VDK_DataBaseFPCcPUlP28FBL_Array<P14VDK_IParamete
 #6   0x00592958 in DataBase_SqlExecute(REALobjectStruct *, REALstringStruct
*)
 #7   0x001acc34 in 0x1acc34
 #8   0x001b2184 in 0x1b2184

Any clue what could be wrong? I've removed the index flags of the table now,
and I get better success (tested it only up to 10000 now, no crash so far).

Corrupted DB? Any tips? V4RB 1.9.8 with RB 5.2.2 on OS X 10.2.8.

Thanks,
   Frank+++

 
-- 
   "When I read a URL on the back of my fortune cookie's fortune,
   I knew the world would never be the same."
      -- Anonymous

Günter Schmidt & Co. oHG
Frank Bitterlich             eMail: bitterlich at gsco.de
Schlosserstr. 4              WWW:   http://www.gsco.de/gsco
D-60322 Frankfurt            Tel.:  069 / 156809-29
GERMANY                      Fax:   069 / 156809-28




More information about the Valentina mailing list