box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Shadow Warrior crash loading a level

Open ptitSeb opened this issue 4 years ago • 0 comments

Using a Radeon Card, Shadow Warrior on linux can start. after the intro video, starting a new games show the loading screen and a progression bar, but at roughly 2/3 of the loading, the game crash (or hang). It seems to be a stack averflow happening because the function _ZN7PathLib8CBinTree10createTreeERNS0_14TrianglesInputE calls itself in a infinite loop. The function is composed mainly of minss, maxss and ucomiss SSE opcode, and they seems to be correctly emulated, including border case involing NaN and Infinites (test17 has been improved for this).

No clues for now why this function would loop.

ptitSeb avatar Oct 10 '21 18:10 ptitSeb