Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Trying to build https://github.com/networkupstools/nut/blob/master/tests/cpputest.cpp I get a segfault in test on OI Hipster 2020.10:
- $ ./cppunittest
- D: Getting test suite...
- D: Preparing test runner...
- D: Setting test runner outputter...
- ─── Output/messages ─────────────────────────────────────────────────────────────────────────────
- [Thread debugging using libthread_db enabled]
- D: Getting test suite...
- D: Preparing test runner...
- D: Setting test runner outputter...
- D: Launching the test run...
- [New Thread 1 (LWP 1)]
- Program received signal SIGSEGV, Segmentation fault.
- [Switching to Thread 1 (LWP 1)]
- 0xfffffc7fdc415e77 in std::ostream::sentry::sentry (this=0xfffffc7fffdff110, __os=...) at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc:46
- 46 /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc: No such file or directory.
- ─── Assembly ────────────────────────────────────────────────────────────────────────────────────
- 0xfffffc7fdc415e6d std::ostream::sentry::sentry+13 mov %rsi,%rbx
- 0xfffffc7fdc415e70 std::ostream::sentry::sentry+16 mov %rsi,0x8(%rdi)
- 0xfffffc7fdc415e74 std::ostream::sentry::sentry+20 movb $0x0,(%rdi)
- 0xfffffc7fdc415e77 std::ostream::sentry::sentry+23 mov -0x18(%rax),%rdi
- 0xfffffc7fdc415e7b std::ostream::sentry::sentry+27 add %rsi,%rdi
- 0xfffffc7fdc415e7e std::ostream::sentry::sentry+30 mov 0xd8(%rdi),%r8
- 0xfffffc7fdc415e85 std::ostream::sentry::sentry+37 mov 0x20(%rdi),%esi
- ─── Expressions ─────────────────────────────────────────────────────────────────────────────────
- ─── History ─────────────────────────────────────────────────────────────────────────────────────
- ─── Memory ──────────────────────────────────────────────────────────────────────────────────────
- ─── Registers ───────────────────────────────────────────────────────────────────────────────────
- rax 0x0000000000000000 rbx 0xfffffc7fec557060 rcx 0x000000000045ec80
- rdx 0x0000000000000001 rsi 0xfffffc7fec557060 rdi 0xfffffc7fffdff110
- rbp 0xfffffc7fffdff0e0 rsp 0xfffffc7fffdff0d0 r8 0x000000000000000b
- r9 0x0000000000007365 r10 0x0000000000000074 r11 0xfffffc7fdc2dc6b8
- r12 0xfffffc7fffdff110 r13 0x000000000045eea0 r14 0xfffffc7fffdff110
- r15 0x0000000000000001 rip 0xfffffc7fdc415e77 eflags [ AF SF IF RF ]
- cs 0x00000053 ss 0x0000004b ds 0x0000004b
- es 0x0000004b fs 0x00000000 gs 0x00000000
- ─── Source ──────────────────────────────────────────────────────────────────────────────────────
- Cannot display "/jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc" ([Errno 2] No such file or directory: '/jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc')
- ─── Stack ───────────────────────────────────────────────────────────────────────────────────────
- [0] from 0xfffffc7fdc415e77 in std::ostream::sentry::sentry+23 at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc:46
- arg this = 0xfffffc7fffdff110
- arg __os = @0xfffffc7fec557060
- [1] from 0xfffffc7fec5009fa in std::__ostream_insert<char, std::char_traits<char> >+269395322 at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-7/build/i86/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/ostream_insert.h:82
- arg __out = @0xfffffc7fec557060
- arg __s = 0xfffffc7fdc563d81 "."
- arg __n = 1
- [+]
- ─── Threads ─────────────────────────────────────────────────────────────────────────────────────
- [2] id 1 from 0xfffffc7fdc415e77 in std::ostream::sentry::sentry+23 at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc:46
- [1] id 1 from 0xfffffc7fdc415e77 in std::ostream::sentry::sentry+23 at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc:46
- ─────────────────────────────────────────────────────────────────────────────────────────────────
- >>> bt
- #0 0xfffffc7fdc415e77 in std::ostream::sentry::sentry (this=0xfffffc7fffdff110, __os=...) at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-10/build/amd64/x86_64-pc-solaris2.11/libstdc++-v3/include/bits/ostream.tcc:46
- #1 0xfffffc7fec5009fa in std::__ostream_insert<char, std::char_traits<char> > (__out=..., __s=0xfffffc7fdc563d81 ".", __n=1) at /jenkins/jobs/oi-userland/workspace/components/developer/gcc-7/build/i86/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/ostream_insert.h:82
- #2 0xfffffc7fdc55c1e4 in CppUnit::TextTestProgressListener::startTest(CppUnit::Test*) () from /usr/lib/64/libcppunit-1.14.so.0
- #3 0xfffffc7fdc5580af in CppUnit::TestResult::startTest(CppUnit::Test*) () from /usr/lib/64/libcppunit-1.14.so.0
- #4 0xfffffc7fdc54f83b in CppUnit::TestCase::run(CppUnit::TestResult*) () from /usr/lib/64/libcppunit-1.14.so.0
- #5 0xfffffc7fdc5500c4 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) () from /usr/lib/64/libcppunit-1.14.so.0
- #6 0xfffffc7fdc54ff08 in CppUnit::TestComposite::run(CppUnit::TestResult*) [clone .localalias.18] () from /usr/lib/64/libcppunit-1.14.so.0
- #7 0xfffffc7fdc557b33 in CppUnit::TestResult::runTest(CppUnit::Test*) () from /usr/lib/64/libcppunit-1.14.so.0
- #8 0xfffffc7fdc55a594 in CppUnit::TestRunner::run(CppUnit::TestResult&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/64/libcppunit-1.14.so.0
- #9 0xfffffc7fdc55c9e6 in CppUnit::TextTestRunner::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, bool) () from /usr/lib/64/libcppunit-1.14.so.0
- #10 0x0000000000421da3 in main ()
- >>> q
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement