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

Segfault when running vt-trace-only-sample from vt-sample-project #1586

Closed
jstrzebonski opened this issue Oct 26, 2021 · 0 comments · Fixed by #1600
Closed

Segfault when running vt-trace-only-sample from vt-sample-project #1586

jstrzebonski opened this issue Oct 26, 2021 · 0 comments · Fixed by #1600
Assignees

Comments

@jstrzebonski
Copy link
Contributor

When compiled with build_with_tpl=1:

root@a942e6b00517:/build/vt/vt-sample-project/build# ./vt-trace-only-sample 
Segmentation fault (core dumped)

and with build_with_libs=1:

root@a942e6b00517:/# ./build/vt/vt-sample-project/build/vt-trace-only-sample 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==5395==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000138 (pc 0x0000004d6efb bp 0x7ffe44286fe0 sp 0x7ffe44286d80 T0)
==5395==The signal is caused by a READ memory access.
==5395==Hint: address points to the zero page.
    #0 0x4d6efb in vt::trace::TraceLite::TraceLite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /vt/src/vt/trace/trace_lite.cc:128:42
    #1 0x4d5efa in main /build/vt/vt-sample-project/build/../vt-trace-only/src/sample.cc:24:26
    #2 0x7f034a4f90b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16
    #3 0x42b05d in _start (/build/vt/vt-sample-project/build/vt-trace-only-sample+0x42b05d)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /vt/src/vt/trace/trace_lite.cc:128:42 in vt::trace::TraceLite::TraceLite(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
==5395==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant