Bug#949699: 0ad dies with 'Assertion failed: "cache.Validate()"'

Bernhard Übelacker bernhardu at mailbox.org
Sat Apr 18 16:10:20 BST 2020


Dear Maintainer,
I tried to have a look at the first call stack, and
could reconstruct it using the dbgsym package to the
backtrace below.

@Bob Ham:
could you supply some information about the CPU you are using.
If it is an AMD Ryzen 3xxx the first two links below might describe
your issue and the third link points to a workaround patch for this CPU.

Kind regards,
Bernhard


0x555555b661de in debug_DumpStack(wchar_t*, unsigned long, void*, wchar_t const*) at ../../../source/lib/sysdep/os/linux/ldbg.cpp:82
0x555555b11c51 in debug_BuildErrorMessage(wchar_t const*, wchar_t const*, int, char const*, void*, wchar_t const*, ErrorMessageMem*) at ../../../source/lib/debug.cpp:304
0x555555b13148 in debug_DisplayError(wchar_t const*, unsigned long, void*, wchar_t const*, wchar_t const*, int, char const*, long volatile*) at ../../../source/lib/debug.cpp:471
0x555555b13648 in debug_OnAssertionFailure(wchar_t const*, long volatile*, wchar_t const*, int, char const*) at /usr/include/c++/8/bits/basic_string.h:2290
0x555555b5e59e in x86_x64::AddCache(x86_x64::Cache const&) at ../../../source/lib/sysdep/arch/x86_x64/cache.cpp:43
0x555555b5ebf4 in x86_x64::AMD::DetectCacheAndTLB() at ../../../source/lib/sysdep/arch/x86_x64/cache.cpp:130
0x555555b5f0b5 in x86_x64::DetectCacheAndTLB() at ../../../source/lib/sysdep/arch/x86_x64/cache.cpp:623
0x555555b94343 in ModuleInit(long volatile*, long (*)()) at ../../../source/lib/module_init.cpp:46
0x555555b5f8fe in x86_x64::Caches(unsigned long) at ../../../source/lib/sysdep/arch/x86_x64/cache.cpp:652
0x555555b6078a in topology::MaxLogicalPerCache at ../../../source/lib/sysdep/arch/x86_x64/topology.cpp:392
0x555555b94343 in ModuleInit(long volatile*, long (*)()) at ../../../source/lib/module_init.cpp:46
0x555555b6036a in topology::NumCaches() at ../../../source/lib/sysdep/arch/x86_x64/topology.cpp:456
0x55555580161f in RunHardwareDetection() at ../../../source/ps/GameSetup/HWDetect.cpp:310
0x5555557f8329 in InitGraphics(CmdLineArgs const&, int, std::vector<CStr8, std::allocator<CStr8> > const&) at ../../../source/ps/GameSetup/GameSetup.cpp:1001
0x555555608691 in RunGameOrAtlas(int, char const**) at ../../../source/main.cpp:631
0x5555555f40b7 in main(int, char**) at ../../../source/main.cpp:680


https://wildfiregames.com/forum/index.php?/topic/27550-problems-with-0ad/
https://wildfiregames.com/forum/index.php?/topic/26890-problem-with-ryzen-3000er-series/page/2/
https://github.com/0ad/0ad/commit/c6c8774a0712a80408bd07f9d9250b242753f713#diff-746bc8707bf20685fe8c98acfacb304f



More information about the Pkg-games-devel mailing list