Skip to content

Instantly share code, notes, and snippets.

@bwrsandman
Created April 9, 2018 03:38
Show Gist options
  • Save bwrsandman/7d91bb6a1af79366e15161f992858a09 to your computer and use it in GitHub Desktop.
Save bwrsandman/7d91bb6a1af79366e15161f992858a09 to your computer and use it in GitHub Desktop.
#0 0x00005555555e1362 in xe::copy_and_swap_16_aligned(void*, void const*, unsigned long) (dest_ptr=0x7fffffffaf40, src_ptr=0x7fffffffaee2, count=41) at ../src/xenia/base/memory.cc:43
input = {19512248310515026, 6113271908}
output = {140737488331056, 7}
dest = 0x7fffffffaf40
src = 0x7fffffffaee2
shufmask = {434320308619640833, 1013041691324254217}
i = 1
unaligned_words = 0
#1 0x000055555556675f in ()::xe::base::test::____C_A_T_C_H____T_E_S_T__(void) () at ../src/xenia/base/testing/memory_test.cc:77
a = 52651
b = 43981
c = {8961, 26437, 43913, 61389}
d = {291, 17767, 35243, 52719}
e = 17279655951921914625
f = "si", '\000' <repeats 82 times>
g = "This is a 85 byte long string... It's supposed to be longer than standard alignment."
#2 0x000055555558ac93 in Catch::FreeFunctionTestCase::invoke() const (this=0x555555864a50) at ../third_party/catch/include/internal/catch_test_case_registry_impl.hpp:150
#3 0x000055555557bc5d in Catch::TestCase::invoke() const (this=0x55555586aab0) at ../third_party/catch/include/internal/catch_test_case_info.hpp:176
#4 0x000055555559f247 in Catch::RunContext::invokeActiveTestCase() (this=0x7fffffffdf60) at ../third_party/catch/include/internal/catch_run_context.hpp:327
fatalConditionHandler =
{static isSet = true, static oldSigActions = {{__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 25, 93824995461488, 93824995462240, 140737289232554, 24, 140737283780369, 13, 8303014070908155904, 0, 140737488343040, 93824992294944, 140737283780432, 0, 93824995459760, 140737488343024}}, sa_flags = 67108864, sa_restorer = 0x7ffff56d6dd0 <__restore_rt>}, {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 25, 93824995461488, 93824995462240, 140737289232554, 24, 140737283780369, 13, 8303014070908155904, 0, 140737488343040, 93824992294944, 140737283780432, 0, 93824995459760, 140737488343024}}, sa_flags = 67108864, sa_restorer = 0x7ffff56d6dd0 <__restore_rt>}, {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 25, 93824995461488, 93824995462240, 140737289232554, 24, 140737283780369, 13, 8303014070908155904, 0, 140737488343040, 93824992294944, 140737283780432, 0, 93824995459760, 140737488343024}}, sa_flags = 67108864, sa_restorer = 0x7ffff56d6dd0 <__restore_rt>}, {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 25, 93824995461488, 93824995462240, 140737289232554, 24, 140737283780369, 13, 8303014070908155904, 0, 140737488343040, 93824992294944, 140737283780432, 0, 93824995459760, 140737488343024}}, sa_flags = 67108864, sa_restorer = 0x7ffff56d6dd0 <__restore_rt>}, {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 25, 93824995461488, 93824995462240, 140737289232554, 24, 140737283780369, 13, 8303014070908155904, 0, 140737488343040, 93824992294944, 140737283780432, 0, 93824995459760, 140737488343024}}, sa_flags = 67108864, sa_restorer = 0x7ffff56d6dd0 <__restore_rt>}, {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 25, 93824995461488, 93824995462240, 140737289232554, 24, 140737283780369, 13, 8303014070908155904, 0, 140737488343040, 93824992294944, 140737283780432, 0, 93824995459760, 140737488343024}}, sa_flags = 67108864, sa_restorer = 0x7ffff56d6dd0 <__restore_rt>}}, static oldSigStack = {ss_sp = 0x0, ss_flags = 2, ss_size = 0}, static altStackMem = '\000' <repeats 8191 times>}
#5 0x000055555559ed62 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> >&) (this=0x7fffffffdf60, redirectedCout="", redirectedCerr="") at ../third_party/catch/include/internal/catch_run_context.hpp:294
timer = {m_ticks = 1523244967268849}
testCaseInfo =
@0x55555586aab0: {name = "copy_and_swap_16_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 37}, properties = Catch::TestCaseInfo::None}
testCaseSection = {name = "copy_and_swap_16_aligned", description = "Copy and Swap", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 37}}
prevAssertions = {passed = 4, failed = 0, failedButOk = 0}
duration = 0
assertions = {passed = 4, failed = 0, failedButOk = 0}
missingAssertions = false
testCaseSectionStats =
{_vptr$SectionStats = 0x55555583c7c0 <vtable for Catch::SectionStats+16>, sectionInfo = {name = "\360\214\206UUU\000\000_aligned", description = "Copy and Swap", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 18}}, assertions = {passed = 4, failed = 0, failedButOk = 0}, durationInSeconds = 6.0999999999999999e-05, missingAssertions = false}
#6 0x00005555555852d7 in Catch::RunContext::runTest(Catch::TestCase const&) (this=0x7fffffffdf60, testCase=...) at ../third_party/catch/include/internal/catch_run_context.hpp:107
rootTracker =
@0x5555558497c0: {<Catch::SharedImpl<Catch::IShared>> = {<Catch::IShared> = {<Catch::NonCopyable> = {_vptr$NonCopyable = 0x55555583cce8 <vtable for Catch::TestCaseTracking::SectionTracker+16>}, <No data fields>}, m_rc = 1}, <No data fields>}
prevTotals = {assertions = {passed = 4, failed = 0, failedButOk = 0}, testCases = {passed = 1, failed = 0, failedButOk = 0}}
redirectedCout = ""
redirectedCerr = ""
testInfo =
{name = "copy_and_swap_16_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 37}, properties = Catch::TestCaseInfo::None}
deltaTotals = {assertions = {passed = 4, failed = 0, failedButOk = 0}, testCases = {passed = 1, failed = 0, failedButOk = 0}}
#7 0x0000555555578a55 in Catch::runTests(Catch::Ptr<Catch::Config> const&) (config=...) at ../third_party/catch/include/internal/../catch_session.hpp:78
it =
{<Catch::TestCaseInfo> = {name = "copy_and_swap_16_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 37}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555864a50}}
itEnd =
{<Catch::TestCaseInfo> = {name = <error reading variable: Cannot create a lazy string with address 0x0, and a non-zero length.>, className = "", description = "", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x0, line = 0}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x0}}
iconfig = {m_p = 0x555555849bf0}
reporter = {m_p = 0x5555558680e0}
context =
{<Catch::IResultCapture> = {_vptr$IResultCapture = 0x55555583dfd8 <vtable for Catch::RunContext+16>}, <Catch::IRunner> = {_vptr$IRunner = 0x55555583e050 <vtable for Catch::RunContext+136>}, m_runInfo = {name = "xenia-base-tests"}, m_context = @0x5555558682e0, m_activeTestCase = 0x55555586aab0, m_testCaseTracker = 0x55555584cf30, m_currentSectionTracker = 0x555555583fa7 <std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::empty() const+71>, m_lastResult = {m_info = {macroName = "REQUIRE", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 74}, capturedExpression = "std::strcmp(f, \"hTsii s a58b ty eolgns rtni.g..I 't susppsodet oebl \" \"noeg rhtnas atdnra dlagimnne.t\") == 0", resultDisposition = Catch::ResultDisposition::Normal}, m_resultData = {decomposedExpression = 0x7fffffffa4d8, reconstructedExpression = "", message = "", resultType = Catch::ResultWas::Ok, negated = false, parenthesized = false}}, m_config = {m_p = 0x555555849bf0}, m_totals = {assertions = {passed = 20, failed = 0, failedButOk = 0}, testCases = {passed = 1, failed = 0, failedButOk = 0}}, m_reporter = {m_p = 0x5555558680e0}, m_messages = std::vector of length 0, capacity 0, m_lastAssertionInfo = {macroName = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 37}, capturedExpression = "{Unknown expression after the reported line}", resultDisposition = Catch::ResultDisposition::Normal}, m_unfinishedSections = std::vector of length 0, capacity 0, m_activeSections = std::vector of length 0, capacity 0, m_trackerContext = {m_rootTracker = {m_p = 0x5555558497c0}, m_currentTracker = 0x55555584cf30, m_runState = Catch::TestCaseTracking::TrackerContext::Executing}, m_shouldReportUnexpected = true}
testSpec = {m_filters = std::vector of length 1, capacity 1 = {{m_patterns = std::vector of length 1, capacity 1 = {{m_p = 0x555555867880}}}}}
allTestCases =
std::vector of length 9, capacity 9 = {{<Catch::TestCaseInfo> = {name = "copy_128_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 18}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555864a30}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_16_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 37}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555864a50}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_16_unaligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 83}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555864ab0}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_32_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 129}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555864a90}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_32_unaligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 175}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555865210}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_64_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 239}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555864a70}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_64_unaligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 287}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555865b20}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_16_in_32_aligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 377}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555865b40}}, {<Catch::TestCaseInfo> = {name = "copy_and_swap_16_in_32_unaligned", className = "", description = "Copy and Swap", tags = std::set with 0 elements, lcaseTags = std::set with 0 elements, tagsAsString = "", lineInfo = {file = 0x5555555fe344 "../src/xenia/base/testing/memory_test.cc", line = 382}, properties = Catch::TestCaseInfo::None}, test = {m_p = 0x555555865b60}}}
totals = {assertions = {passed = 4, failed = 0, failedButOk = 0}, testCases = {passed = 1, failed = 0, failedButOk = 0}}
#8 0x00005555555b66df in Catch::Session::run() (this=0x7fffffffe310) at ../third_party/catch/include/internal/../catch_session.hpp:186
---Type <return> to continue, or q <return> to quit---
ex = <error reading variable>
#9 0x0000555555589830 in Catch::Session::run(int, char const* const*) (this=0x7fffffffe310, argc=1, argv=0x7fffffffe5b8) at ../third_party/catch/include/internal/../catch_session.hpp:165
returnCode = 0
#10 0x00005555555830e9 in xe::Main(int, char**) (argc=1, argv=0x7fffffffe5b8) at ../tools/build/src/test_suite_main.cc:34
result = -7296
#11 0x0000555555583212 in main(int, char**) (argc=1, argv=0x7fffffffe5b8) at ../tools/build/src/test_suite_main.cc:61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment