[V4RB] Bus error

Christer Olsson christer at ljusaideer.se
Tue Aug 1 11:39:49 CDT 2006


Trying to create a serverside, readwrite and random cursor crashes both our VServer 2.4 testservers, one Macbook Pro intel running Mac OS X 10.4.7 and one old G4 running Mac OS X 10.3.9, with "Bus error" (log level set to 3).

Creating a clientside , read and random cursor works fine.

This works:
vQuery = "SELECT recID,* FROM person WHERE recID = 302"
VCursor( app.mDataBase, vQuery, 1, 1, 2 )

This crashes:
vQuery = "SELECT recID,* FROM person WHERE recID = 302"
VCursor( app.mDataBase, vQuery, 2, 3, 2 )

(I know we should use constants, but it's a massive project and it's a lot of old code in there)

Last loglines:
11:17:51.299475 (42007040): (15) I_Database 'indynamic.vdb' SqlSelect is successful.
11:17:51.299582 (42007040): (15) Cursor 'person' remoteID 51743808 registered.
11:17:51.301712 (42024960): (15) Field 'recID' remoteID 51762448 registered.
Bus error
-- 

  *************************************************************
  Christer Olsson   PO Box 9160        Phone +46 40 25 85 85
  Ljusa Idéer AB    SE-200 39 Malmo    Fax +46 40 25 85 89
  Kantyxegatan 5    Sweden             http://www.ljusaideer.se


More information about the Valentina mailing list