You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matthijs@vms03:~/test3$ ./test
/usr/local/include/boost/sml.hpp:2559:76: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2559:76
/usr/local/include/boost/sml.hpp:2562:65: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2562:65
/usr/local/include/boost/sml.hpp:2196:68: runtime error: constructor call on address 0x7ffec1ae3d54 with insufficient space for an object of type 'boost::sml::aux::zero_wrapper<(lambda at test.cpp:40:25)>'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2196:68
/usr/local/include/boost/sml.hpp:2100:41: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'boost::sml::aux::zero_wrapper<(lambda at test.cpp:40:25)>'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2100:41
/usr/local/include/boost/sml.hpp:2100:41: runtime error: constructor call on address 0x7ffec1ae3d54 with insufficient space for an object of type 'boost::sml::aux::zero_wrapper<(lambda at test.cpp:40:25)>'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2100:41
/usr/local/include/boost/sml.hpp:358:64: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const boost::sml::aux::zero_wrapper<(lambda at test.cpp:40:25)>'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:358:64
/usr/local/include/boost/sml.hpp:2559:76: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2559:76
/usr/local/include/boost/sml.hpp:2562:65: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2562:65
/usr/local/include/boost/sml.hpp:2559:76: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2559:76
/usr/local/include/boost/sml.hpp:2562:65: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2562:65
/usr/local/include/boost/sml.hpp:2559:76: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2559:76
/usr/local/include/boost/sml.hpp:2562:65: runtime error: reference binding to address 0x7ffec1ae3d54 with insufficient space for an object of type 'const always'0x7ffec1ae3d54: note: pointer points here
0000000000000000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2562:65127.0.0.1:1024
/usr/local/include/boost/sml.hpp:2110:72: runtime error: constructor call on address 0x7ffec1ae3d54 with insufficient space for an object of type 'boost::sml::aux::zero_wrapper<(lambda at test.cpp:40:25)>'0x7ffec1ae3d54: note: pointer points here
0000000000040000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2110:72
/usr/local/include/boost/sml.hpp:2075:12: runtime error: upcast of address 0x7ffec1ae3d54 with insufficient space for an object of type 'boost::sml::aux::zero_wrapper<(lambda at test.cpp:40:25)>'0x7ffec1ae3d54: note: pointer points here
0000000000040000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2075:12
/usr/local/include/boost/sml.hpp:2075:12: runtime error: member call on address 0x7ffec1ae3d54 with insufficient space for an object of type 'boost::sml::aux::zero_wrapper_impl<(lambda at test.cpp:40:25), boost::sml::aux::type_list<(anonymous namespace)::Connected &, (anonymous namespace)::Interrupted &>>'0x7ffec1ae3d54: note: pointer points here
0000000000040000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:2075:12
/usr/local/include/boost/sml.hpp:578:59: runtime error: member call on address 0x7ffec1ae3d54 with insufficient space for an object of type '(lambda at test.cpp:40:25)'0x7ffec1ae3d54: note: pointer points here
0000000000040000008077 7b ff 0f00005801 c0 db f7 7f00007801 c0 db f7 7f0000
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/include/boost/sml.hpp:578:59127.0.0.1:1024127.0.0.1:1025127.0.0.1:1025
Specifications
Version: LLVM version 18
Platform: Debian GNU/Linux 12
The text was updated successfully, but these errors were encountered:
Expected Behavior
No undefined behaviour when using this library.
Actual Behavior
Although the test works it shows that there is undefined behaviour. I've taken one of the examples (data.cpp) to check.
Steps to Reproduce the Problem
clang++ -isystem /home/matthijs/src/boost/boost_1_86_0 -fno-omit-frame-pointer -O1 -fsanitize=address,undefined,pointer-compare,pointer-subtract,leak -fsanitize-address-use-after-scope -Wall -Wextra -g -std=gnu++20 -o test test.cpp
Running the test:
Specifications
The text was updated successfully, but these errors were encountered: