<div>Nothing in the liveCode logs say "flush" either.</div><div><br></div>I also have the logs generated by LiveCode. Interesting the time of the crash does not match. The last line in those logs when things are working looks like this:
<div><br></div><div><div>VDatabase_SqlSelect...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: dbRef = "18056848"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: inStrQuery = "select d_cargo_linenumber, d_cargo_pieceCount, d_cargo_pkgtype, d_cargo_description, d_cargo_piece_rate, d_cargo_charges, d_cargo_pieceweight, d_cargo_ratetype_ref, d_cargo_defaultcargodesc_ref, recID from data_cargo where d_cargo_billoflading_ref = 23989"</div>
<div>return res = 602889520</div><div><br></div><div>VCursor_RecordCount...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: cursorRef = "602889520"</div><div>return res = 1</div><div>
<br></div><div>VCursor_GetRecords...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: cursorRef = "602889520"</div><div>return res = 0</div><div><br></div><div>VDatabase_IsOpen...</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: dbRef = "18056848"</div><div>return res = 1</div><div><br></div><div>VDatabase_Close...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: dbRef = "18056848"</div>
<div>return</div><div><br></div><div>VDatabase_Destructor...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: dbRef = "18056848"</div><div>return (vuint32)0 = 0</div><div><br></div><div>
VConnection_Close...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: serverRef = "565089968"</div><div>return</div><div><br></div><div>VServer_Destructor...</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: serverRef = "565089968"</div>
<div>return res = 0</div><div><br></div><div>Valentina_ShutDownClient...</div></div><div><br></div><div>When there is a crash the last line looks like this:</div><div><br></div><div><div><br></div><div>VDatabase_SqlExecute...</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: dbRef = "575261824"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>PARAM: inStrCommand = "insert into info_billoflading ( i_billoflading_id,i_billoflading_clientShipper_ref, i_billoflading_clientConsignee_ref, i_billoflading_kcodeLoading_ref, i_billoflading_shipperAddressLine, i_billoflading_consigneeAddressLine, i_billoflading_freightForwarderAddressLine, i_billoflading_kcodeDischarge_ref, i_billoflading_ExportDocsFurnished_fl, i_billoflading_AESremainder_fl, i_billoflading_surcharges_fl, i_billoflading_export_fl,i_billoflading_hazCargo_fl, i_billoflading_freightcollect_fl, i_billoflading_printed_fl, i_billoflading_notifyparty, i_billoflading_specialNote, i_billoflading_MarksAndNumbers, i_billoflading_totalPallets, i_billoflading_CubicFeet,i_billoflading_TotalPayable,i_billoflading_precarriage_ref, i_billoflading_number, i_billoflading_clientFreightForwarder, i_billoflading_voyagenumber_ref, i_billoflading_dockReceipt, i_billoflading_datecreated ) VALUES ('24019','8327','480','4909', '1','','', '24815',false,false,true,true,false,false,false, 'Same as Consignee','','','1', '','','','075',NULL,'SS102','6539','2011-01-19' )"</div>
<div>return res = 1</div></div><div><br></div><div>and nothing more.</div>