Hi, ALL,
On Tue, Jan 26, 2016 at 3:08 PM, Clemens Ladisch <clemens at ladisch.de> wrote: > Igor Korot wrote: >> sqlite.dll!sqlite3_mutex_enter(sqlite3_mutex * p) Line 19996 + 0xc >> bytes C >> sqlite.dll!sqlite3Close(sqlite3 * db, int forceZombie) Line 726 + 0xc >> bytes C >> sqlite.dll!sqlite3_close(sqlite3 * db) Line 772 + 0xe bytes C >> sqlite.dll!SQLiteDatabase::Disconnect(...) Line 51 + 0xc bytes C++ >> dialogs.dll!DisconnectFromDb(Database * db) Line 108 + 0x13 bytes >> C++ >> docview.exe!MainFrame::~MainFrame() Line 73 + 0xf bytes C++ >> docview.exe!MainFrame::`scalar deleting destructor'() + 0x16 bytes >> C++ >> docview.exe!wxAppConsoleBase::DeletePendingObjects() Line 637 + 0x23 >> bytes C++ >> docview.exe!wxAppConsoleBase::ProcessIdle() Line 445 C++ > > This looks OK. > > Are you ever calling sqlite3_shutdown()? > Are you calling sqlite3_close() from more than one place, or more than once? > (Add logging to find out.) I tried to recompile the project with the /MTd, but I got this: 1>odbccp32.lib(dllload.obj) : error LNK2019: unresolved external symbol __imp___vsnprintf referenced in function _StringVPrintfWorkerA at 20 And here is my Linker Project Settings: odbccp32.lib;kernel32.lib;user32.lib;gdi32.lib;comdlg32.lib;winspool.lib;winmm.l? ib;shell32.lib;shlwapi.lib;comctl32.lib;ole32.lib;oleaut32.lib;uuid.lib;rpcrt4.li? b;advapi32.lib;version.lib;wsock32.lib;wininet.lib;%(AdditionalDependencies) Is there an easy way to fix this? Thank you. > > > Regards, > Clemens > _______________________________________________ > sqlite-users mailing list > sqlite-users at mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users