Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shared.h:242:18: runtime error: member call on misaligned address 0x000000000002 for type 'ControlBlockBase', which requires 8 byte alignment
- 0x000000000002: note: pointer points here
- <memory cannot be printed>
- SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior shared.h:242:18 in
- UndefinedBehaviorSanitizer:DEADLYSIGNAL
- ==45853==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000002 (pc 0x608d869dcbee bp 0x7fff8ac478d0 sp 0x7fff8ac478a0 T45853)
- ==45853==The signal is caused by a READ memory access.
- ==45853==Hint: address points to the zero page.
- #0 0x608d869dcbee in SharedPtr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Reset() (/home/remote/cpp-advanced-hse/tasks/smart-ptrs/shared/main+0x35bee) (BuildId: 4ecb2ccd708a01cd864a0ab578cb09d6fd4be8b3)
- #1 0x608d869dab1c in SharedPtr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::SharedPtr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(SharedPtr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&&) (/home/remote/cpp-advanced-hse/tasks/smart-ptrs/shared/main+0x33b1c) (BuildId: 4ecb2ccd708a01cd864a0ab578cb09d6fd4be8b3)
- #2 0x608d869d9a78 in main (/home/remote/cpp-advanced-hse/tasks/smart-ptrs/shared/main+0x32a78) (BuildId: 4ecb2ccd708a01cd864a0ab578cb09d6fd4be8b3)
- #3 0x7292d3829d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
- #4 0x7292d3829e3f in __libc_start_main csu/../csu/libc-start.c:392:3
- #5 0x608d869af4e4 in _start (/home/remote/cpp-advanced-hse/tasks/smart-ptrs/shared/main+0x84e4) (BuildId: 4ecb2ccd708a01cd864a0ab578cb09d6fd4be8b3)
- UndefinedBehaviorSanitizer can not provide additional info.
- SUMMARY: UndefinedBehaviorSanitizer: SEGV (/home/remote/cpp-advanced-hse/tasks/smart-ptrs/shared/main+0x35bee) (BuildId: 4ecb2ccd708a01cd864a0ab578cb09d6fd4be8b3) in SharedPtr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Reset()
- ==45853==ABORTING
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement