Hi all,

Are journal files written to disk by applications that create SQLite  
DBs on the fly?  If so, what are they called and where are they  
written to?

I've recently started using SQLite as a file format for the  
application I'm developing.  Tracking down a mysterious bus error  
crash has lead me to consider SQLite temp files.

The Crash Report I'm getting on OSX 10.5 lists  
KERN_PROTECTION_FAILURE.  A few googles later, I find that this  
exception is caused by the thread trying to write to read-only  
memory.  My app mysteriously and suddenly stopped accepting all writes  
to its internal SQLite DB.  A stuck temp file lock could be consistent  
with this behavior.

My app creates an in-memory SQLite DB from PyQt:
        theDb = QtSql.QSqlDatabase.addDatabase("QSQLITE")
        theDb.setDatabaseName(":memory:")


Thanks!
Scott

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to