Valentina 2 Crash

Beatrix Willius bwillius at gmx.de
Sat Sep 16 09:21:19 CDT 2006


Valentina for RB seems to be a little sensitive and likes to crash.  
One crash especially has me baffled.

The code is as following:

   CurrentExtraSQL = ""
   dim SQLString as String = "SELECT " + theTable + ".RecID, " +  
theTable + ".* FROM " + theTable
   theCursor = theDatabase.SQLSelect(SQLstring + currentExtraSQL +  
CurrentOrderBy, EVCursorLocation.kServerSide, EVLockType.kNoLocks,  
EVCursorDirection.kRandom)

The crash occurs at the last line. The sql is: "select message.recid,  
message.* from message"

The crash log:

Thread 0 Crashed:
0   vshared_carbon_cw.shlb         	0x076d4bf8 0x75c6000 + 1108984
1   Kernel_Carbon_Final.shlb       	0x078589b0 0x7720000 + 1280432
2   Kernel_Carbon_Final.shlb       	0x078588e4 0x7720000 + 1280228
3   Kernel_Carbon_Final.shlb       	0x07a5c648 0x7720000 + 3393096
4   Kernel_Carbon_Final.shlb       	0x079b71c0 0x7720000 + 2716096
5   Kernel_Carbon_Final.shlb       	0x079eba30 0x7720000 + 2931248
6   Kernel_Carbon_Final.shlb       	0x079eb8e0 0x7720000 + 2930912
7   Kernel_Carbon_Final.shlb       	0x079f34d8 0x7720000 + 2962648
8   Kernel_Carbon_Final.shlb       	0x0791fa14 0x7720000 + 2095636
9   Kernel_Carbon_Final.shlb       	0x07a898b0 0x7720000 + 3578032
10  Kernel_Carbon_Final.shlb       	0x07a891b8 0x7720000 + 3576248
11  Kernel_Carbon_Final.shlb       	0x07a88804 0x7720000 + 3573764
12  Plugin                         	0x07522f80  
Database_SqlSelect__FQ23fbl37smart_ptr<Q33fbl4vsql13I_SqlDatabase>P16REA 
LstringStructiiiQ23fbl70smart_ptr<Q23fbl51ArrayOfSmartPtrs<Q23fbl25smart 
_ptr<Q23fbl7I_Value>>> + 620
13  Plugin                         	0x0752293c  
Database_SqlSelect_1__FP16REALobjectStructP16REALstringStructiii + 368
14  main                           	0x026d7660 0x2008000 + 7140960
15  main                           	0x023e841c DBWindow.SearchAll%% 
o<DBWindow> + 1116
16  main                           	0x02416e6c  
MainWindow.MainWindow.archiveMailboxes%%o<MainWindow>b + 1180

The baffling thing is that this crash only happens when I put a small  
amount of data into the database. The same code doesn't crash for a  
larger amount of data. The database is a very simple one with two  
tables message and attachment.

Any ideas what could cause this?

System: Mac OS 10.4.7 on a G5, Realbasic 2006R3, Valentina 2.4.1


Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.



More information about the Valentina mailing list