[odb-users] Re: Segmentation fault on persist with bidirect QString foreign key

Artur Shaihullin ashaihullin at gmail.com
Fri Mar 2 04:24:49 EST 2012


Forget about that. My fault, I didn't use session.

2012/3/2 Artur Shaihullin <ashaihullin at gmail.com>

> Hello.
> I have a problem with code (as in attache). On persist operation of second
> row of the table i have SegFault error in qstring-traits.hxx(39). First
> persist is going ok.
>
> Database:
> sqlite3 --version
> 3.7.8 2011-09-19 14:49:19 3e0da808d2f5b4d12046e05980ca04578f581177
>
> Qt 4.8.0 for GCC
>
> gcc --version
> gcc (SUSE Linux) 4.6.2
>
> uname -a
> Linux linux-desktop.kg 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3
> 14:45:45 UTC 2011 (187dde0) i686 i686 i386 GNU/Linux
>
> /opt/odb/bin/odb --version
> ODB object-relational mapping (ORM) compiler for C++ 1.8.0
>
> I'm just wonder, do I anything wrong?
> --
> Best Regards,
> Artur Shain
>
>


-- 
Best Regards,
Artur Shain


More information about the odb-users mailing list