[odb-users] segfault in query in Fedora 24

Matt Walker leafless.matt at gmail.com
Thu Sep 29 12:38:46 EDT 2016


Thanks Boris

I grabbed the libodb and libodb-mysql source and built, now it works. That
was pretty rude of the package maintainers at Fedora for not building on
the default compiler ;-). I will try to find the appropriate mailing list
and let them know.

On Thu, Sep 29, 2016 at 10:18 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Matt,
>
> Matt Walker <leafless.matt at gmail.com> writes:
>
> > On Fedora 24, the odb dnf packages are available, and i installed libodb
> > and libodb-mysql that way, but odb wanted a g++ downgrade (the default
> dnf
> > version is 6.2.1), so I just grabbed the binary from code synthesis.
>
> You mean you grabbed the ODB compiler binary, right?
>
>
> > I tried compiling in both C++11 and c++03 mode, it still seg faults on
> > instantiating the query template object. I have attached the abrt
> backtrace
> > to this email.
>
> This is a problem between your application and libodb* runtime libraries.
> I don't believe the ODB compiler is relevant here. And the stack trace
> looks like an ABI mismatch:
>
> https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
>
> Can you make sure that your application and the libodb* libraries are
> compiler with the same version of GCC and with the same -std flag.
> As an aside, we like to make fun of Windows in this regard and look
> where we are. What a mess.
>
> Boris
>


More information about the odb-users mailing list