Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLITE3 ReadOnly Connection leak #5268

Closed
baconpaul opened this issue Oct 17, 2021 · 0 comments · Fixed by #5269
Closed

SQLITE3 ReadOnly Connection leak #5268

baconpaul opened this issue Oct 17, 2021 · 0 comments · Fixed by #5269
Labels
Bug Report Item submitted using the Bug Report template
Milestone

Comments

@baconpaul
Copy link
Collaborator

==163525== 1,264 (736 direct, 528 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 7
==163525==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==163525==    by 0x858B74: sqlite3MemMalloc (sqlite3.c:23649)
==163525==    by 0x859639: mallocWithAlarm (sqlite3.c:27531)
==163525==    by 0x8596E5: sqlite3Malloc (sqlite3.c:27561)
==163525==    by 0x859CEF: sqlite3MallocZero (sqlite3.c:27798)
==163525==    by 0x916777: openDatabase (sqlite3.c:163456)
==163525==    by 0x916D71: sqlite3_open_v2 (sqlite3.c:163734)
==163525==    by 0x30A340: Surge::PatchStorage::PatchDB::WriterWorker::getReadOnlyConn(bool) (PatchDB.cpp:965)
==163525==    by 0x302F7C: Surge::PatchStorage::PatchDB::readUserFavorites[abi:cxx11]() (PatchDB.cpp:1213)
==163525==    by 0x3527EF: SurgeStorage::refresh_patchlist() (SurgeStorage.cpp:750)
==163525==    by 0x34F2AA: SurgeStorage::SurgeStorage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (SurgeStorage.cpp:431)
==163525==    by 0x37BD94: SurgeSynthesizer::SurgeSynthesizer(SurgeSynthesizer::PluginLayer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (SurgeSynthesizer.cpp:44)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Item submitted using the Bug Report template
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant