Closed orderorder closed 1 year ago
This looks like an issue with your system's dbus configuration, though we shouldn't segfault when this happens. What I think is going on is that we're failing to inhibit the "screensaver" and just assuming it worked.
I'll look into this and see if I can come up with a patch to fix it.
./metaforce mp1/out
DBus Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead) dbus[207835]: arguments to dbus_connection_get_unix_fd() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5148. This is normally a bug in some application using the D-Bus library.
[[0.0130 INFO Metaforce0.0130 FATAL ERROR logvisor (Metaforce Main)] Segmentation Fault (Metaforce Client)] CPU Name: AMD Ryzen 7 5800H with Radeon Graphics >, std::basic_string_view<char, std::char_traits >, std::basic_string_view<char, std::char_traits >, std::vector<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std:: cxx11::basic_string<char, std::char_traits, std::allocator > > > const&, std::basic_string_view<char, std::char_traits >, unsigned int, unsigned int, bool, bool)
metaforce/extern/boo/lib/x11/ApplicationUnix.cpp:141
main
metaforce/Runtime/CMain.cpp:630
??
??:0
_start
??:?
zsh: segmentation fault
[0.0130 INFO Metaforce (Metaforce Client)] CPU Vendor: AuthenticAMD [0.0130 INFO Metaforce (Metaforce Client)] CPU Features: AES-NI, SSE, SSE2, SSE3, SSSE3, SSE4a, SSE4.1, SSE4.2, AVX, AVX2 [0.1555 INFO boo::Vulkan (Metaforce Client)] Initialized NVIDIA GeForce RTX 3070 Laptop GPU [0.1555 INFO boo::Vulkan (Metaforce Client)] Vulkan version 1.2.186 [0.1555 INFO boo::Vulkan (Metaforce Client)] Driver version 495.176.0 [0.2437 ERROR boo::PulseAudio (Metaforce Client)] Unable to pa_context_connect() [0.2706 ERROR Athena (Metaforce Client)] Position 00000075 outside stream bounds [0.2706 INFO MP1::CMain (Metaforce Client)] Loaded version info [0.3005 INFO CResFactory (Metaforce Client)] async-built TMET 156F9535 [0.3008 INFO CResFactory (Metaforce Client)] async-built STRG 0552A456 [0.3126 INFO CResFactory (Metaforce Client)] async-built TXTR 23E1AB9A ... [5.4862 (284) INFO CResFactory (Metaforce Client)] async-built CMDL 7D1F8126 [5.4863 (284) INFO CResFactory (Metaforce Client)] async-built FRME 854EF9B3 [5.4863 (284) INFO CResFactory (Metaforce Client)] async-built FRME ECD50299 logvisor::logvisorAbort() metaforce/extern/nod/logvisor/lib/logvisor.cpp:190 std::recursive_mutex::lock() /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../include/c++/11.1.0/mutex:112 logvisor::AbortHandler(int) [clone .llvm.15026385263330649144] logvisor.cpp:? ?? ??:0 boo::ApplicationXlib::run() metaforce/extern/boo/lib/x11/ApplicationXlib.hpp:467 boo::ApplicationRun(boo::IApplication::EPlatformType, boo::IApplicationCallback&, std::basic_string_view<char, std::char_traits