Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost 1.68.0 fails serialization configure check #7074

Closed
davydden opened this issue Aug 17, 2018 · 8 comments
Closed

boost 1.68.0 fails serialization configure check #7074

davydden opened this issue Aug 17, 2018 · 8 comments

Comments

@davydden
Copy link
Contributor

davydden commented Aug 17, 2018

subj. At least with Intel 18.03 compilers. I will try GCC now...

EDIT: gcc 7.3.0 has no issues with boost 1.68.0

@davydden
Copy link
Contributor Author

our sysadmin came across this issue with GCC. I will ask him to provide more details here.

@christianbaensch
Copy link

Hi there,
on the occuring system there´s a Ubuntu 14.04 with the following compiler.

spack compilers
==> Available compilers
-- gcc ubuntu14 -------------------------------------------------
[email protected]
-- gcc ubuntu14.04-x86_64 ---------------------------------------
[email protected]

@masterleinad
Copy link
Member

I can reproduce with gcc-8.1.0:

Program received signal SIGSEGV, Segmentation fault.
std::_Rb_tree_rebalance_for_erase (__z=0x43ed40, __header=...) at ../../../.././libstdc++-v3/src/c++98/tree.cc:370
b370		      if (__w->_M_color == _S_red) 
(gdb) bt
#0  std::_Rb_tree_rebalance_for_erase (__z=0x43ed40, __header=...) at ../../../.././libstdc++-v3/src/c++98/tree.cc:370
#1  0x00007ffff7bb43a7 in boost::serialization::extended_type_info::key_unregister() const () from /mnt/data/darndt/boost-1.68.0/lib/libboost_serialization.so.1.68.0
#2  0x000000000041ce9e in boost::serialization::extended_type_info_no_rtti<polymorphic_base>::~extended_type_info_no_rtti (this=0x42c120 <boost::serialization::singleton<boost::serialization::extended_type_info_no_rtti<polymorphic_base> >::get_instance()::t>, 
    __in_chrg=<optimized out>) at /mnt/data/darndt/boost-1.68.0/include/boost/serialization/extended_type_info_no_rtti.hpp:107
#3  0x000000000041cabe in boost::serialization::singleton<boost::serialization::extended_type_info_no_rtti<polymorphic_base> >::get_instance()::singleton_wrapper::~singleton_wrapper() (
    this=0x42c120 <boost::serialization::singleton<boost::serialization::extended_type_info_no_rtti<polymorphic_base> >::get_instance()::t>, __in_chrg=<optimized out>) at /mnt/data/darndt/boost-1.68.0/include/boost/serialization/singleton.hpp:121
#4  0x00007ffff7270ff8 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007ffff7271045 in exit () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007ffff7257837 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x000000000041b5f9 in _start ()

@davydden
Copy link
Contributor Author

davydden commented Aug 20, 2018

damn, i think we should blacklist 1.68.0...

EDIT: this is the boost discussion boostorg/serialization#79

@masterleinad
Copy link
Member

masterleinad commented Aug 20, 2018

I only followed the discussion loosely in the last few months, but thought they have figured it out finally. I need to check if the current developer version works...

@davydden
Copy link
Contributor Author

but thought they have figured it out finally

It looks like there is boostorg/serialization#105 but it's not merged. Last activity June 25.

@davydden
Copy link
Contributor Author

davydden commented Aug 20, 2018

I adapted boostorg/serialization#105 to be a patch for 1.68.0 boost_1.68.0.zip and try this now...

EDIT: this fixes the issue 🎉

@masterleinad
Copy link
Member

We can't do anything about it here, so let's close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants