Hi,
in the last week I got several crash reports from my app with the following stack trace:
2015-12-06, 17:44:19 An error happened:
2015-12-06, 17:44:19 Class/Method: DBWindow.DeleteAttachmentIDs
2015-12-06, 17:44:19 Time: Sonntag, 6. Dezember 2015 17:44:19 5978773
2015-12-06, 17:44:19 Type of Error: VException 365830 "embedded file" - EOF reached.
2015-12-06, 17:44:19 --------------------------
2015-12-06, 17:44:19 Stack:
2015-12-06, 17:44:19
Sub VDatabase.Flush()
Sub DBWindow.DeleteAttachmentIDs()
Function DBWindow.getBaseSQL() as string
Sub MainWindow.MainWindow.ResetMessageListCursor(MainWindow.MainWindow)
where the code that is crashing is as follows:
'prepare searching in attachments
if theDatabase = nil then Return
dim theSQL as String = "delete from AttachmentIDs"
dim theResult as Integer = theDatabase.SqlExecute(theSQL)
theDatabase.Flush
theSQL = "SELECT COUNT(*) FROM AttachmentIDs"
dim theCursor as VCursor = theDatabase.SqlSelect(theSQL)
if theCursor <> nil and theCursor.RecordCount > 0 and theCursor.Field(1).Value > 0 then
globals.theErrorLog.LogItem CurrentMethodName + " " + theCursor.Field(1).Value
end if
The code is used before executing a search and deletes data from the helper table AttachmentIDs.
Any idea what could cause this? As usual the databases that are affected by this are huge (>50 GB).
Different MacOSs, Xojo 2014r2, Valentina 5.8 I think.
Regards
Beatrix Willius