openMSX SoftFabTask: unittest_openmsx
log in
2024-05-18 06:00
Overview
Data
12023-01-16 03:42:11 INFO: Task Runner version 3.0.0-pre4
22023-01-16 03:42:11 INFO: ScriptRun: /home/openmsx/wrappers/unittest_openmsx/wrapper.sh
32023-01-16 03:42:11 INFO: Starting wrapper with command line: [/bin/sh /home/openmsx/reports/230116/0341-B4A8/unittest_openmsx/execute.sh]
42023-01-16 03:42:14 WARNING: =================================================================
52023-01-16 03:42:14 WARNING: ==27296==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61900004b488 at pc 0x7f0854469211 bp 0x7ffefd01c020 sp 0x7ffefd01b7e0
62023-01-16 03:42:14 WARNING: READ of size 1025 at 0x61900004b488 thread T0
72023-01-16 03:42:14 WARNING: #0 0x7f0854469210 (/lib64/libasan.so.8+0x69210) (BuildId: dfd203c09207f682b72ac17cc4e83cae0cce98f5)
82023-01-16 03:42:14 WARNING: #1 0x1a37e0e in Catch::StringMaker<char*, void>::convert[abi:cxx11](char*) (/home/openmsx/products/230116/0341-B4A8/x86_64-linux-unittest/openmsx+0x1a37e0e) (BuildId: 861ac7d7535f07042df517cdeec16f3ee69b21f3)
92023-01-16 03:42:14 WARNING: #2 0x1bb591b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > Catch::Detail::stringify<char*>(char* const&) Contrib/catch2/catch.hpp:1643
102023-01-16 03:42:14 WARNING: #3 0x1bb591b in Catch::BinaryExpr<char* const&, decltype(nullptr) const&>::streamReconstructedExpression(std::ostream&) const Contrib/catch2/catch.hpp:2229
112023-01-16 03:42:14 WARNING: #4 0x1a10d4a in operator<< Contrib/catch2/catch.hpp:8184
122023-01-16 03:42:14 WARNING: #5 0x1a10d4a in Catch::operator<<(std::ostream&, Catch::LazyExpression const&) Contrib/catch2/catch.hpp:8207
132023-01-16 03:42:14 WARNING: #6 0x1a768f1 in Catch::ReusableStringStream& Catch::ReusableStringStream::operator<< <Catch::LazyExpression>(Catch::LazyExpression const&) Contrib/catch2/catch.hpp:1449
142023-01-16 03:42:14 WARNING: #7 0x1a768f1 in Catch::AssertionResultData::reconstructExpression[abi:cxx11]() const Contrib/catch2/catch.hpp:8296
152023-01-16 03:42:14 WARNING: #8 0x1a768f1 in Catch::AssertionResult::getExpandedExpression[abi:cxx11]() const Contrib/catch2/catch.hpp:8362
162023-01-16 03:42:14 WARNING: #9 0x1abfdc4 in Catch::prepareExpandedExpression(Catch::AssertionResult&) Contrib/catch2/catch.hpp:15762
172023-01-16 03:42:14 WARNING: #10 0x1abfdc4 in Catch::CumulativeReporterBase<Catch::JunitReporter>::assertionEnded(Catch::AssertionStats const&) Contrib/catch2/catch.hpp:5905
182023-01-16 03:42:14 WARNING: #11 0x1abfdc4 in Catch::JunitReporter::assertionEnded(Catch::AssertionStats const&) Contrib/catch2/catch.hpp:16884
192023-01-16 03:42:14 WARNING: #12 0x1ac1b83 in Catch::RunContext::assertionEnded(Catch::AssertionResult const&) Contrib/catch2/catch.hpp:12801
202023-01-16 03:42:14 WARNING: #13 0x1ac3ed7 in Catch::RunContext::reportExpr(Catch::AssertionInfo const&, Catch::ResultWas::OfType, Catch::ITransientExpression const*, bool) Contrib/catch2/catch.hpp:13069
212023-01-16 03:42:14 WARNING: #14 0x1ac49b3 in Catch::RunContext::handleExpr(Catch::AssertionInfo const&, Catch::ITransientExpression const&, Catch::AssertionReaction&) Contrib/catch2/catch.hpp:13049
222023-01-16 03:42:14 WARNING: #15 0x1ac49b3 in Catch::AssertionHandler::handleExpr(Catch::ITransientExpression const&) Contrib/catch2/catch.hpp:8225
232023-01-16 03:42:14 WARNING: #16 0x1bad1dd in alloc src/unittest/monotonic_allocator_test.cc:9
242023-01-16 03:42:14 WARNING: #17 0x1bae9c5 in ____C_A_T_C_H____T_E_S_T____0 src/unittest/monotonic_allocator_test.cc:19
252023-01-16 03:42:14 WARNING: #18 0x1a1a5aa in Catch::TestInvokerAsFunction::invoke() const Contrib/catch2/catch.hpp:14321
262023-01-16 03:42:14 WARNING: #19 0x1a1a5aa in Catch::TestCase::invoke() const Contrib/catch2/catch.hpp:14160
272023-01-16 03:42:14 WARNING: #20 0x1a1a5aa in Catch::RunContext::invokeActiveTestCase() Contrib/catch2/catch.hpp:13020
282023-01-16 03:42:14 WARNING: #21 0x1a759a0 in Catch::RunContext::runCurrentTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) Contrib/catch2/catch.hpp:12985
292023-01-16 03:42:14 WARNING: #22 0x1ab7f45 in Catch::RunContext::runTest(Catch::TestCase const&) Contrib/catch2/catch.hpp:12754
302023-01-16 03:42:14 WARNING: #23 0x1ad979e in execute Contrib/catch2/catch.hpp:13347
312023-01-16 03:42:14 WARNING: #24 0x1ad979e in Catch::Session::runInternal() Contrib/catch2/catch.hpp:13553
322023-01-16 03:42:14 WARNING: #25 0x1adb738 in Catch::Session::run() Contrib/catch2/catch.hpp:13509
332023-01-16 03:42:14 WARNING: #26 0x5753bc in int Catch::Session::run<char>(int, char const* const*) Contrib/catch2/catch.hpp:13231
342023-01-16 03:42:14 WARNING: #27 0x5753bc in int Catch::Session::run<char>(int, char const* const*) Contrib/catch2/catch.hpp:13226
352023-01-16 03:42:14 WARNING: #28 0x5753bc in main Contrib/catch2/catch.hpp:17526
362023-01-16 03:42:14 WARNING: #29 0x7f08537485af in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
372023-01-16 03:42:14 WARNING: #30 0x7f0853748678 in __libc_start_main_impl ../csu/libc-start.c:381
382023-01-16 03:42:14 WARNING: #31 0x57e364 in _start ../sysdeps/x86_64/start.S:115
392023-01-16 03:42:14 WARNING:
402023-01-16 03:42:14 WARNING: 0x61900004b488 is located 0 bytes after 1032-byte region [0x61900004b080,0x61900004b488)
412023-01-16 03:42:14 WARNING: allocated by thread T0 here:
422023-01-16 03:42:14 WARNING: #0 0x7f08544dbd7f in __interceptor_malloc (/lib64/libasan.so.8+0xdbd7f) (BuildId: dfd203c09207f682b72ac17cc4e83cae0cce98f5)
432023-01-16 03:42:14 WARNING: #1 0x1bad92a in monotonic_allocator::newBuffer(unsigned long) src/utils/monotonic_allocator.hh:65
442023-01-16 03:42:14 WARNING: #2 0x1bad92a in monotonic_allocator::allocate(unsigned long, unsigned long) src/utils/monotonic_allocator.hh:53
452023-01-16 03:42:14 WARNING: #3 0x1bad92a in alloc src/unittest/monotonic_allocator_test.cc:8
462023-01-16 03:42:14 WARNING:
472023-01-16 03:42:14 WARNING: SUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.8+0x69210) (BuildId: dfd203c09207f682b72ac17cc4e83cae0cce98f5)
482023-01-16 03:42:14 WARNING: Shadow bytes around the buggy address:
492023-01-16 03:42:14 WARNING: 0x61900004b200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
502023-01-16 03:42:14 WARNING: 0x61900004b280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
512023-01-16 03:42:14 WARNING: 0x61900004b300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
522023-01-16 03:42:14 WARNING: 0x61900004b380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
532023-01-16 03:42:14 WARNING: 0x61900004b400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
542023-01-16 03:42:14 WARNING: =>0x61900004b480: 00[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa
552023-01-16 03:42:14 WARNING: 0x61900004b500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
562023-01-16 03:42:14 WARNING: 0x61900004b580: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
572023-01-16 03:42:14 WARNING: 0x61900004b600: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
582023-01-16 03:42:14 WARNING: 0x61900004b680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
592023-01-16 03:42:14 WARNING: 0x61900004b700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
602023-01-16 03:42:14 WARNING: Shadow byte legend (one shadow byte represents 8 application bytes):
612023-01-16 03:42:14 WARNING: Addressable: 00
622023-01-16 03:42:14 WARNING: Partially addressable: 01 02 03 04 05 06 07
632023-01-16 03:42:14 WARNING: Heap left redzone: fa
642023-01-16 03:42:14 WARNING: Freed heap region: fd
652023-01-16 03:42:14 WARNING: Stack left redzone: f1
662023-01-16 03:42:14 WARNING: Stack mid redzone: f2
672023-01-16 03:42:14 WARNING: Stack right redzone: f3
682023-01-16 03:42:14 WARNING: Stack after return: f5
692023-01-16 03:42:14 WARNING: Stack use after scope: f8
702023-01-16 03:42:14 WARNING: Global redzone: f9
712023-01-16 03:42:14 WARNING: Global init order: f6
722023-01-16 03:42:14 WARNING: Poisoned by user: f7
732023-01-16 03:42:14 WARNING: Container overflow: fc
742023-01-16 03:42:14 WARNING: Array cookie: ac
752023-01-16 03:42:14 WARNING: Intra object redzone: bb
762023-01-16 03:42:14 WARNING: ASan internal: fe
772023-01-16 03:42:14 WARNING: Left alloca redzone: ca
782023-01-16 03:42:14 WARNING: Right alloca redzone: cb
792023-01-16 03:42:14 WARNING: ==27296==ABORTING
802023-01-16 03:42:14 INFO: Aborting build because of error: Test run ended with exit code 1
812023-01-16 03:42:14 INFO: Finished wrapper, exit value: 0