What looks not related to memory issue is that the crash seems to happen in #close:
Smalltalk stack dump:
0xffc655d4 SqliteLibrary>close: 0x9726108: a(n) SqliteLibrary
0xffc655f4 SQLiteConnection>close 0xc672d08: a(n) SQLiteConnection
0xffc65610 SQLiteConnection>finalize 0xc672d08: a(n) SQLiteConnection
0xffc65630 WeakFinalizerItem>finalizeValues 0xc692b60: a(n) WeakFinalizerItem
The idea is obvious...and I did exactly the same for SqueakDBX (now OpenDBXDriver / Garage).... register the connections into the WeakRegistry so that they are automatically closed without having the user to manually do so.�� I remember I had a case where the user WAS already doing an explicit close and I would crash very much like this case when I was trying to close a connection that was already closed.��
I don't have Sqlite library handy, but could it be something similar?��
��