[odb-users] Segmentation fault while executing odb compiler avoided adding a typedef sentence

MM finjulhich at gmail.com
Tue Sep 1 16:21:04 EDT 2015


On 1 September 2015 at 12:50, Boris Kolpackov <boris at codesynthesis.com>
 wrote:

> MM <finjulhich at gmail.com> writes:
>
> > As I have the odb sources now, i am able to quickly test out any fix you
> > may think of.
>
> Before I can start thinking of a fix, I need a test case that reproduces
> the problem. Ideally, an archive with all the necessary headers and the
> ODB command line that you used.
>
> Thanks,
> Boris
>

Please find attached 5 c++ files. Donwload them in the same directory and
run:

/usr/local/bin/odb --std c++11 -I/usr/local/include --database sqlite
-I/usr/include derived_odb.hpp

with odb built off master.

This crashes.

Please let me know if I missed to post something, Thanks,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base.hpp
Type: text/x-c++hdr
Size: 145 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150901/bad07942/base.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base_odb.hpp
Type: text/x-c++hdr
Size: 119 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150901/bad07942/base_odb.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cloneable.hpp
Type: text/x-c++hdr
Size: 219 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150901/bad07942/cloneable.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: derived.hpp
Type: text/x-c++hdr
Size: 92 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150901/bad07942/derived.hpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: derived_odb.hpp
Type: text/x-c++hdr
Size: 206 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/odb-users/attachments/20150901/bad07942/derived_odb.hpp


More information about the odb-users mailing list