-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
sqlite_orm::internal::connection_holder::release() [sqlite_orm.h : 7072 + 0x8] #855
Comments
just try v1.7. Also what exactly does your stress test? Does it makes backups in multithreaded mode? |
All database operations are performed on a worker thread. There is no multithreading mode.The content of the stress test is: after the working thread is frequently started, the database is operated in the working thread, the database is backed up during the operation, and the database objects are destroyed after the operation. |
I think I've found the cause of the problem. When I added a destructor to The solution is as simple as adjusting the order in which member variables are declared. Don't forget to adjust the order of the initializer list.
|
wow thanks. I'll fix it soon |
fix is here #859 |
merged. Thanks |
Hi, I am using version 1.6 for my current project (dev branch used on 7th September 2020) and there have been a lot of crashes in stress testing recently, the locations of the crashes are as follows:
I used the function of database backup in the project, and the crash location was
sqlite3_close
. I wonder if the database was released repeatedly.Maybe it's because my version is too low. Does the latest 1.7 fix that? Waiting for your good news.
The text was updated successfully, but these errors were encountered: