A local rebuild with wx-widgets 3.0 makes the crash go away. Upstream states [1] that prusa-slicer is not ready for wxwidgets 3.2 -- maybe #1019825 should be reverted?
As the crash happens in imgui: I did not check, if the embedded imgui library is the culprit. Embedded version is at 1.83, while we have in Debian 1.86. [1] From https://github.com/prusa3d/PrusaSlicer/issues/8299#issuecomment-1236874810 "But that is quite off-topic. Short version: if you link PrusaSlicer 2.5.x with wxWidgets 3.2, you will most likely break it." -- tobi