Skip to content

Instantly share code, notes, and snippets.

@wapcaplet
Created April 18, 2020 02:34
Show Gist options
  • Save wapcaplet/b1b2cc24316fd59aaef8bd49cda12bd9 to your computer and use it in GitHub Desktop.
Save wapcaplet/b1b2cc24316fd59aaef8bd49cda12bd9 to your computer and use it in GitHub Desktop.
20:30:12.114 INFO : Number of render drivers on your system: 3
20:30:12.114 INFO : Render driver: 0/opengl
20:30:12.114 INFO : Render driver: 1/opengles2
20:30:12.114 INFO : Render driver: 2/software
20:30:12.125 WARNING : opendir [./mods/] failed with "No such file or directory".
20:30:13.387 WARNING : opendir [./save/Tom/mods] failed with "No such file or directory".
Starting the actual test at Fri Apr 17 20:30:17 2020
20:30:17.149 ERROR : (error message will follow backtrace)
tests/cata_test(_Z21debug_write_backtraceRSo+0x23) [0xeea750]
tests/cata_test(_Z8DebugLog10DebugLevel10DebugClass+0x214) [0xeea156]
tests/cata_test(_Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5a) [0xee98fd]
tests/cata_test(_ZN3npc12place_on_mapEv+0x1ff) [0x13bcaaf]
tests/cata_test(_ZN4game9load_npcsEv+0x1c4) [0xf6cde8]
tests/cata_test(_Z9spawn_npcRK5pointRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x6e) [0xcd7d3a]
tests/cata_test() [0xb18eb4]
tests/cata_test(_ZN5Catch10RunContext20invokeActiveTestCaseEv+0x19) [0xd7e539]
tests/cata_test(_ZN5Catch10RunContext14runCurrentTestERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_+0x161) [0xd7d52b]
tests/cata_test(_ZN5Catch10RunContext7runTestERKNS_8TestCaseE+0x185) [0xd7ce8f]
tests/cata_test(_ZN5Catch7Session11runInternalEv+0x602) [0xd80a44]
tests/cata_test(_ZN5Catch7Session3runEv+0x62) [0xd803de]
tests/cata_test(main+0xdbd) [0xd8dceb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fef9998c1e3]
tests/cata_test(_start+0x2e) [0xb0ef5e]
Attempting to repeat stack trace using debug symbols…
debug_write_backtrace(std::ostream&)
…/src/debug.cpp:777
DebugLog(DebugLevel, DebugClass)
…/src/debug.cpp:943
realDebugmsg(char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
…/src/debug.cpp:115
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_local_data() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:203
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:222
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:231
~basic_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:658
void realDebugmsg<int, int, int>(char const*, char const*, char const*, char const*, int&&, int&&, int&&)
…/src/debug.h:79
npc::place_on_map()
…/src/npc.cpp:762
game::load_npcs()
…/src/game.cpp:972
std::__uniq_ptr_impl<game, std::default_delete<game> >::_M_ptr() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:154
std::unique_ptr<game, std::default_delete<game> >::get() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:353
std::unique_ptr<game, std::default_delete<game> >::operator->() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:347
spawn_npc(point const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
/home/eric/git/cdda/hack/tests/player_helpers.cpp:124
____C_A_T_C_H____T_E_S_T____2()
behavior_test.cpp:?
Catch::RunContext::invokeActiveTestCase()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12321
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> >&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12293
Catch::RunContext::runTest(Catch::TestCase const&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12055
Catch::Session::runInternal()
??:?
Catch::Session::runInternal()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12823
Catch::Session::run()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12780
main
??:?
__libc_start_main
??:?
_start
??:?
Backtrace emission took 1 seconds.
src/npc.cpp:762 [void npc::place_on_map()] Failed to place NPC in a valid location near (50,50,-1)
20:30:18.081 ERROR : src/npc.cpp:762 [void npc::place_on_map()] Failed to place NPC in a valid location near (50,50,-1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cata_test is a Catch v2.9.1 host application.
Run with -? for options
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, and continues until the craft is completed
Then: it should take the expected number of turns
-------------------------------------------------------------------------------
crafting_test.cpp:527
...............................................................................
crafting_test.cpp:528: FAILED:
CHECK( actual_turns_taken == expected_turns_taken )
with expansion:
86 == 60
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, and continues until the craft is completed
Then: it should take the expected number of turns
And: the finished item should be in the inventory
-------------------------------------------------------------------------------
crafting_test.cpp:530
...............................................................................
crafting_test.cpp:500: FAILED:
REQUIRE( has_item )
with expansion:
false
with messages:
Inventory:
backpack (0)
hammer (0)
Wielded:
none
expecting crude_picklock
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, and continues until the craft is completed
Then: it should take the expected number of turns
-------------------------------------------------------------------------------
crafting_test.cpp:527
...............................................................................
crafting_test.cpp:528: FAILED:
CHECK( actual_turns_taken == expected_turns_taken )
with expansion:
86 == 60
-------------------------------------------------------------------------------
total crafting time with or without interruption
Given: a recipe and all the required tools and materials to craft it
When: crafting begins, but is interrupted after 2 turns
Then: the in-progress craft should be in the inventory
-------------------------------------------------------------------------------
crafting_test.cpp:541
...............................................................................
crafting_test.cpp:500: FAILED:
REQUIRE( has_item )
with expansion:
false
with messages:
Inventory:
backpack (0)
hammer (0)
Wielded:
none
expecting craft
Stack trace at fatal error:
tests/cata_test(_Z21debug_write_backtraceRSo+0x23) [0xeea750]
tests/cata_test(_ZN12CataListener14assertionEndedERKN5Catch14AssertionStatsE+0x2c) [0xdb6790]
tests/cata_test(_ZN5Catch17ListeningReporter14assertionEndedERKNS_14AssertionStatsE+0x27) [0xd8b55f]
tests/cata_test(_ZN5Catch10RunContext14assertionEndedERKNS_15AssertionResultE+0x8d) [0xd7d8ff]
tests/cata_test(_ZN5Catch10RunContext25handleFatalErrorConditionENS_9StringRefE+0x17f) [0xd7e00f]
tests/cata_test(_ZN5Catch21FatalConditionHandler12handleSignalEi+0xac) [0xd7802a]
/lib/x86_64-linux-gnu/libc.so.6(+0x46470) [0x7fef999ab470]
tests/cata_test(_ZNK7vehicle9part_flagEi14vpart_bitflags+0x2e) [0x168e810]
tests/cata_test(_ZNK7vehicle17part_with_featureEi14vpart_bitflagsb+0x1c) [0x1689978]
tests/cata_test(_ZNK14vpart_position16obstacle_at_partEv+0x22) [0x169515a]
tests/cata_test(_ZNK3map18move_cost_internalERK6furn_tRK5ter_tPK7vehiclei+0x71) [0x11e6507]
tests/cata_test(_ZNK3map9move_costERK8tripointPK7vehicle+0xa5) [0x11e6725]
tests/cata_test(_ZNK3map10impassableERK8tripoint+0x8) [0x11e6678]
tests/cata_test(_ZN17explosion_handler9explosionERK8tripointRK14explosion_data+0x1ea7) [0xf1ea10]
tests/cata_test(_ZNK14explosion_iuse3useER6playerR4itembRK8tripoint+0x12f) [0x1144c95]
tests/cata_test(_ZNK5itype6invokeER6playerR4itemRK8tripointRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x79) [0x10f46c3]
tests/cata_test() [0xb959e8]
tests/cata_test() [0xb949f5]
tests/cata_test(_ZN5Catch10RunContext20invokeActiveTestCaseEv+0x19) [0xd7e539]
tests/cata_test(_ZN5Catch10RunContext14runCurrentTestERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_+0x161) [0xd7d52b]
Attempting to repeat stack trace using debug symbols…
debug_write_backtrace(std::ostream&)
…/src/debug.cpp:777
CataListener::assertionEnded(Catch::AssertionStats const&)
/home/eric/git/cdda/hack/tests/test_main.cpp:247
__gnu_cxx::__normal_iterator<std::unique_ptr<Catch::IStreamingReporter, std::default_delete<Catch::IStreamingReporter> >*, std::vector<std::unique_ptr<Catch::IStreamingReporter, std::default_delete<Catch::IStreamingReporter> >, std::allocator<std::unique_ptr<Catch::IStreamingReporter, std::default_delete<Catch::IStreamingReporter> > > > >::operator++()
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_iterator.h:829
Catch::ListeningReporter::assertionEnded(Catch::AssertionStats const&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:16126
Catch::RunContext::assertionEnded(Catch::AssertionResult const&)
??:?
Catch::RunContext::handleFatalErrorCondition(Catch::StringRef)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12226
~StringRef
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:588
(anonymous namespace)::reportFatal(char const*)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:10304
Catch::FatalConditionHandler::handleSignal(int)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:10398
??
??:0
vehicle::part_flag(int, vpart_bitflags) const
…/src/vehicle.cpp:2921
vehicle::part_with_feature(int, vpart_bitflags, bool) const
…/src/vehicle.cpp:2538
vpart_position::part_with_feature(vpart_bitflags, bool) const
…/src/vehicle.cpp:2508
vpart_position::obstacle_at_part() const
…/src/vehicle.cpp:2473
map::move_cost_internal(furn_t const&, ter_t const&, vehicle const*, int) const
??:?
cata::optional<vpart_position>::operator bool() const
…/src/optional.h:118
map::move_cost(tripoint const&, vehicle const*) const
…/src/map.cpp:1652
map::passable(tripoint const&) const
…/src/map.cpp:1665
map::impassable(tripoint const&) const
…/src/map.cpp:1660
explosion_handler::shrapnel(tripoint const&, int, int, float, int)
…/src/explosion.cpp:468
explosion_handler::explosion(tripoint const&, explosion_data const&)
…/src/explosion.cpp:515
explosion_iuse::use(player&, item&, bool, tripoint const&) const
…/src/iuse_actor.cpp:544
itype::invoke(player&, item&, tripoint const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const
??:?
std::__uniq_ptr_impl<game, std::default_delete<game> >::_M_ptr() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:154
std::unique_ptr<game, std::default_delete<game> >::get() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:353
std::unique_ptr<game, std::default_delete<game> >::operator->() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h:347
check_lethality(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, float, float, outcome_type)
/home/eric/git/cdda/hack/tests/explosion_balance_test.cpp:58
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:187
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:222
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:231
~basic_string
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h:658
____C_A_T_C_H____T_E_S_T____9()
/home/eric/git/cdda/hack/tests/explosion_balance_test.cpp:140
Catch::RunContext::invokeActiveTestCase()
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12321
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> >&)
/home/eric/git/cdda/hack/tests/./catch/catch.hpp:12293
-------------------------------------------------------------------------------
grenade_lethality
-------------------------------------------------------------------------------
explosion_balance_test.cpp:138
...............................................................................
explosion_balance_test.cpp:138: FAILED:
due to a fatal error condition:
SIGSEGV - Segmentation violation signal
===============================================================================
test cases: 83 | 81 passed | 2 failed
assertions: 481,315 | 481,310 passed | 5 failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment