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.81.0 test segfault #30

Open
sgn opened this issue Dec 15, 2022 · 0 comments
Open

Boost 1.81.0 test segfault #30

sgn opened this issue Dec 15, 2022 · 0 comments

Comments

@sgn
Copy link

sgn commented Dec 15, 2022

Running Boost.Contract Test Suite in Boost 1.81.0 run into segfault with this backtrace:

Reading symbols from ./bin.v2/libs/contract/test/disable-no_post_except_lib.test/gcc-12/release/link-static/threading-multi/visibility-hidden/disable-no_post_except_lib...
(gdb) r
Starting program: /builddir/boost-1.81.0/bin.v2/libs/contract/test/disable-no_post_except_lib.test/gcc-12/release/link-static/threading-multi/visibility-hidden/disable-no_post_except_lib 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
f::pre
f::old
f::body
f::post
x::pre

Program received signal SIGSEGV, Segmentation fault.
0x000055555555c335 in boost::function0<void>::operator() (this=0x555555583258) at ./boost/function/function_template.hpp:763
763           return get_vtable()->invoker
(gdb) bt
#0  0x000055555555c335 in boost::function0<void>::operator() (this=0x555555583258) at ./boost/function/function_template.hpp:763
#1  boost::contract::detail::cond_base::copy_old (this=0x555555583220) at ./boost/contract/detail/condition/cond_base.hpp:107
#2  boost::contract::detail::function::init (this=0x555555583220) at ./boost/contract/detail/operation/function.hpp:52
#3  0x000055555555d3a4 in boost::contract::detail::cond_base::initialize (this=0x555555583220) at ./boost/contract/detail/condition/cond_base.hpp:55
#4  boost::contract::check::check (contract=..., this=0x7fffffffe7f0) at ./boost/contract/check.hpp:283
#5  x () at libs/contract/test/disable/lib_x.cpp:25
#6  0x0000555555559997 in main () at libs/contract/test/disable/lib_xy.hpp:49

Can you provide some help?

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

No branches or pull requests

1 participant