Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `./gamescope -- vkcube'. Program terminated with signal SIGFPE, Arithmetic exception. #0 0x000056234e2475a6 in gamescope::RefreshCycleTomHz (nCycle=0) at ../src/refresh_rate.h:45 45 return ( 1'000'000'000'000ul + ( nCycle / 2 ) - 1 ) / nCycle; [Current thread is 1 (Thread 0x7fc8c60146c0 (LWP 9493))] (gdb) backtrace full #0 0x000056234e2475a6 in gamescope::RefreshCycleTomHz (nCycle=0) at ../src/refresh_rate.h:45 No locals. #1 gamescope::mHzToRefreshCycle (nmHz=0) at ../src/refresh_rate.h:51 No locals. #2 gamescope::CVBlankTimer::CalcNextWakeupTime (this=this@entry=0x56234e4c1180 , bPreemptive=bPreemptive@entry=false) at ../src/vblankmanager.cpp:101 eScreenType = gamescope::GAMESCOPE_SCREEN_TYPE_INTERNAL nRefreshRate = 0 ulRefreshInterval = ulRedZone = bVRR = ulOffset = ulScheduledWakeupPoint = ulTargetVBlank = schedule = #3 0x000056234e24793e in gamescope::CVBlankTimer::ArmNextVBlank (this=0x56234e4c1180 , bPreemptive=bPreemptive@entry=false) at ../src/vblankmanager.cpp:238 lock = {_M_device = 0x56234e4c11c8 , _M_owns = true} #4 0x000056234e2479b2 in gamescope::CVBlankTimer::MarkVBlank (this=, ulNanos=ulNanos@entry=903198296549, bReArmTimer=bReArmTimer@entry=true) at ../src/vblankmanager.cpp:199 No locals. #5 0x000056234e24ab55 in present_wait_thread_func () at ../src/rendervulkan.cpp:2708 vblanktime = 903198296549 lock = {_M_device = 0x56234e4c22a0 , _M_owns = true} present_wait_id = 1 #6 0x000056234e22c77f in std::__invoke_impl (__f=) at /usr/include/c++/13/bits/invoke.h:60 No locals. #7 std::__invoke (__fn=) at /usr/include/c++/13/bits/invoke.h:96 No locals. #8 std::thread::_Invoker >::_M_invoke<0ul> (this=) at /usr/include/c++/13/bits/std_thread.h:292 No locals. #9 std::thread::_Invoker >::operator() (this=) at /usr/include/c++/13/bits/std_thread.h:299 No locals. #10 std::thread::_State_impl > >::_M_run (this=) at /usr/include/c++/13/bits/std_thread.h:244 No locals. #11 0x00007fc8d630cc93 in ?? () from /lib64/libstdc++.so.6 No symbol table info available. #12 0x00007fc8d60a292b in ?? () from /lib64/libc.so.6 No symbol table info available. #13 0x00007fc8d6125018 in ?? () from /lib64/libc.so.6 No symbol table info available.