[odb-users] Segmentation fault inside destructor of a non-finalised transaction.

Boris Kolpackov boris at codesynthesis.com
Fri Feb 25 07:48:38 EST 2022


Kukreja, Suraj <Suraj.Kukreja at qube-rt.com> writes:

> We have got crash due to segmentation fault, inside odb::transaction
> destructor for an unfinalized transaction. Few things to note are :-
>
> 1) The crash is not occurring always, infact it has occurred only once
>    till now for given piece of code flow.

Based on the stack trace, to me this looks like a (heap) memory corruption
which means the cause can be anywhere (ODB, your code, other libraries). I
would suggest that you build everything with the address sanitizer and try
to trigger this issue again.



More information about the odb-users mailing list