[odb-users] mysql crash in multithreaded application

Boris Kolpackov boris at codesynthesis.com
Wed Jun 21 13:23:13 EDT 2017

Lukas Obermann <obermann.lukas at gmail.com> writes:

> Here is a backtrace.

It shows that things go badly when trying to free some memory while
destroying the database instance. This would normally indicate memory
corruption. You can try running your application under valgrind and
see if it shows anything.

Another thought: are you sure the database instance is not destroyed
while there are still connections/transactions used by other threads?

> Do you have an idea what can cause this? Can we somehow disable the
> statement_cache?

No, it is an integral part of ODB.


More information about the odb-users mailing list