Dear community,
I followed the setup guide in the readme.txt of the provided .deb - package
------------ Building and running the Isolator++ GCC examples ------------
cd /usr/share/typemock/Examples/Isolator++.Examples.GCC/
make
cd ../LinuxBuild/Release64/
export LD_BIND_NOW=1
./IsolatorExamplesGCC_UsingStaticLib
The examples project builds successfully. However when I run the examples I get the following output (with gdb):
...
[ OK ] AssertingNonPublicInteraction.AssertPrivateWithConditionWasNotCalledWithRet (0 ms)
[----------] 8 tests from AssertingNonPublicInteraction (3 ms total)
[----------] 3 tests from ChainsBehavior
[ RUN ] ChainsBehavior.SettingChainedMethodsBehavior
[ OK ] ChainsBehavior.SettingChainedMethodsBehavior (4 ms)
[ RUN ] ChainsBehavior.SettingChainedMethodsBehaviorFakeAll
Program received signal SIGSEGV, Segmentation fault.
0x00007f1b81e3e90e in std::local_Rb_tree_increment(std::_Rb_tree_node_base*) () from /agco/dcu/host/latest/sdk/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libstdc++.so.6
(gdb) bt
#0 0x00007f1b81e3e90e in std::local_Rb_tree_increment(std::_Rb_tree_node_base*) () from /agco/dcu/host/latest/sdk/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libstdc++.so.6
#1 0x00007f1b81e3e9ff in std::_Rb_tree_increment(std::_Rb_tree_node_base*) () from /agco/dcu/host/latest/sdk/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libstdc++.so.6
#2 0x00007f1b8208ce38 in CIsolatorPlatform::CompleteCtorLevel(unsigned long) () from /usr/lib64/typemock/libisolator.so
#3 0x00007f1b8204da74 in DecCounter () from /usr/lib64/typemock/libisolator.so
#4 0x00007f1b820429a7 in DecCounterWrapper () from /usr/lib64/typemock/libisolator.so
#5 0x000000000000003a in ?? ()
#6 0x00000000016e1900 in ?? ()
#7 0x0000000000000000 in ?? ()
My environment:
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
gcc (Debian 10.2.1-6) 10.2.1 20210110
Do you have any idea how I can solve this issue?