[odb-users] ODB segfaults in Qt profile

Boris Kolpackov boris at codesynthesis.com
Fri Dec 6 11:20:51 EST 2013


Hi Scott,

Scott Deerwester <scott.deerwester at gmail.com> writes:

>     QSharedPointer<const ParentClass> parent_;>
>
> [...]
>
>     QMap<QString,QSharedPointer<const ChildClass> > children_;

I am pretty sure this is the same bug that was reported a few
days ago:

http://www.codesynthesis.com/pipermail/odb-users/2013-December/001640.html

Can you try to remove the const's and see if it help. If it does then
there is a pre-release available with the fix:

http://www.codesynthesis.com/~boris/tmp/odb/pre-release/

Note that you will also need to update the runtime libraries (libodb,
etc) besides the ODB compiler.

Or, if you built the ODB compiler from source, you can apply the patch:

http://scm.codesynthesis.com/?p=odb/odb.git;a=commit;h=ab4abe514a617ef530a18d5f71950d082ebd1ac4

Boris



More information about the odb-users mailing list