[odb-users] query crash

Boris Kolpackov boris at codesynthesis.com
Mon Nov 6 06:52:01 EST 2017


Патрушев Данил Андреевич <d.patrushev at prosoftsystems.ru> writes:

> So I thought that there just might be a problem with details::shared_ptr,
> something along the lines of thread-safe increment and decrement of the
> shared pointer's counter. Just a wild guess.

Ok, I've pushed the fix to libodb:

https://git.codesynthesis.com/cgit/odb/libodb/commit/?id=702c5756d5a2050327603cb9e507c839f928a7a3

It is a small patch (use the 'patch' link next to the commit id) and you
should be able to apply it to the current version of libodb. Alternatively,
I can build you a pre-release.

Let me know if there are still any issues and thanks for the bug report
as well as the analysis!

Boris



More information about the odb-users mailing list