-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystembugBehaving differently as it should behaveBehaving differently as it should behave
Description
Hello, running $ openage game --modpacks hd_base I have 2 different uncaught exception between gcc and clang build
GCC: std::exception of type std::length_error: basic_string::_M_create
Clang: std::exception of type std::bad_alloc: std::bad_alloc
GCC build:
$ openage game --modpacks hd_base
INFO [py] launching openage v0.4.1-1528-gaae16d373
INFO [py] compiled by GNU 13.2.1
INFO [py] Modpack directory engine not found
INFO [py] openage nyan API modpack not found
INFO [py] Dumping info file...
INFO [py] Dumping data files...
INFO [py] Found modpack engine
INFO [py] Found modpack hd_base
INFO loading configuration files...
INFO [py] loading config file [Union(<openage.util.fslike.union.Union object at 0x7f5ed94213d0>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f5ed9423290>.root @ (b'assets',))]:cfg/keybinds.oac...
INFO launching engine with root directoryPath(Union(<openage.util.fslike.union.Union object at 0x7f5ed94213d0>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f5ed9423290>.root @ (b'assets',)):)
INFO loading configuration files...
INFO [py] loading config file [Union(<openage.util.fslike.union.Union object at 0x7f5ed94213d0>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7f5ed9423290>.root @ (b'assets',))]:cfg/keybinds.oac...
INFO Found modpack: engine
INFO Found modpack: hd_base
INFO Created game simulation
INFO Activated modpack: engine
INFO Activated modpack: hd_base
INFO Created 3 threads (24 available)
INFO [T1] Time loop started
INFO [T2] Presenter: Launching subsystems...
INFO [T2] Presenter: Initializing graphics subsystems...
FATAL: terminate has been called
uncaught exception
std::exception of type std::length_error: basic_string::_M_create
current stack:
Traceback (most recent call last):
File ?, in ? [0x7f5edc8aa9eb]
File ?, in ? [0x7f5edb6e1943]
File ?, in ? [0x7f5ed90829f9]
File ?, in openage::gamestate::GameSimulation::run()+0x2f [0x7f5ed90ed65f]
File ?, in openage::gamestate::GameSimulation::start()+0xaf [0x7f5ed90ed48f]
File ?, in openage::gamestate::Game::Game(std::shared_ptr<openage::event::EventLoop> const&, std::shared_ptr<openage::assets::ModManager> const&, std::shared_ptr<openage::gamestate::EntityFactory> const&)+0xcc [0x7f5ed90e607c]
File ?, in openage::gamestate::Game::load_data(std::shared_ptr<openage::assets::ModManager> const&)+0x50 [0x7f5ed90e55b0]
File ?, in ? [0x7f5ed8f182d8]
File ?, in __cxa_rethrow+0x4f [0x7f5edb6b043f]
File ?, in ? [0x7f5edb6b0189]
File ?, in ? [0x7f5edb6b011c]
File ?, in openage::error::terminate_handler()+0x10e [0x7f5ed90875ae]
handing over to the system...
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_create
Annullato (core dump creato)
Clang build:
$ openage game --modpacks hd_base
INFO [py] launching openage v0.4.1-1528-gaae16d373
INFO [py] compiled by Clang 16.0.6
INFO [py] openage nyan API modpack is up to date
INFO [py] Found modpack engine
INFO [py] Found modpack hd_base
INFO loading configuration files...
INFO [py] loading config file [Union(<openage.util.fslike.union.Union object at 0x7fee7e946110>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7fee7e945e50>.root @ (b'assets',))]:cfg/keybinds.oac...
INFO launching engine with root directoryPath(Union(<openage.util.fslike.union.Union object at 0x7fee7e946110>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7fee7e945e50>.root @ (b'assets',)):)
INFO loading configuration files...
INFO [py] loading config file [Union(<openage.util.fslike.union.Union object at 0x7fee7e946110>.root @ (b'cfg',), <openage.util.fslike.union.Union object at 0x7fee7e945e50>.root @ (b'assets',))]:cfg/keybinds.oac...
INFO Found modpack: engine
INFO Found modpack: hd_base
INFO Created game simulation
INFO Activated modpack: engine
INFO Activated modpack: hd_base
INFO Created 3 threads (24 available)
INFO [T1] Time loop started
FATAL: terminate has been called
uncaught exception
std::exception of type std::bad_alloc: std::bad_alloc
current stack:
Traceback (most recent call last):
File ?, in ? [0x7fee81eaa9eb]
File ?, in ? [0x7fee80ce1943]
INFO [T2] Presenter: Launching subsystems...
INFO [T2] Presenter: Initializing graphics subsystems...
File ?, in ? [0x7fee7e3275a4]
File ?, in openage::gamestate::GameSimulation::run()+0x24 [0x7fee7e3aab44]
File ?, in openage::gamestate::GameSimulation::start()+0x86 [0x7fee7e3aaee6]
File ?, in openage::gamestate::Game::Game(std::shared_ptr<openage::event::EventLoop> const&, std::shared_ptr<openage::assets::ModManager> const&, std::shared_ptr<openage::gamestate::EntityFactory> const&)+0xdd [0x7fee7e3a77ed]
File ?, in openage::gamestate::Game::load_data(std::shared_ptr<openage::assets::ModManager> const&)+0x8f [0x7fee7e3a7aff]
File ?, in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >* std::__do_uninit_copy<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, 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> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, 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> > > > >, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, 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> > > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)+0xea [0x7fee805a38ea]
File ?, in __cxa_rethrow+0x4f [0x7fee80cb043f]
File ?, in ? [0x7fee80cb0189]
File ?, in ? [0x7fee80cb011c]
File ?, in openage::error::terminate_handler()+0x1a5 [0x7fee7e32a4f5]
handing over to the system...
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Annullato (core dump creato)
Metadata
Metadata
Assignees
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystembugBehaving differently as it should behaveBehaving differently as it should behave
Type
Projects
Status
✅ Done