FEX icon indicating copy to clipboard operation
FEX copied to clipboard

[Project Zomboid (Build 42)]: Crash on startup

Open n3ph opened this issue 1 year ago • 8 comments

What Game Project Zomboid (Build 42) https://store.steampowered.com/app/108600/Project_Zomboid/

Describe the bug Crash on startup.

To Reproduce Steps to reproduce the behavior:

  1. Start game
  2. See crash

Expected behavior Game starts

Logs https://pastebin.com/1Z9ZFex2

System information:

  • OS: Gentoo Asahi Linux
  • CPU/SoC: Apple M1 Max (G13C C0)
  • Video driver version: media-libs/mesa-25.0.0_pre20241204-r2
  • RootFS used: app-emulation/fex-rootfs-gentoo-20241116 / app-emulation/fex-rootfs-mesa-asahi-20241205
  • FEX version: FEX-2412-17-gbdae4f6
  • Thunks Enabled: Yes

Additional context

  • Is this an x86 or x86-64 game: x86-64
  • Does this reproduce on AArch64 with Radeon/Intel/Nvidia: Untested
  • Is this a Vulkan game: No
    • If Yes, What is your Vulkan driver:

Add any other context about the problem here.

  • might be related to https://github.com/FEX-Emu/FEX/issues/2142
  • might be related to https://github.com/FEX-Emu/FEX/issues/4710

n3ph avatar Dec 22 '24 13:12 n3ph

Works well on latest muvm-0.3.1+FEX-2502..

n3ph avatar Mar 23 '25 16:03 n3ph

Hi @n3ph , I'm trying to launch Project Zomboid on Asahi Linux via Steam. It crashes at startup. Sometimes the loading begins and sometime only black screen. The most far it goes is to "game loading" then crash. Does it still work for you ? Thanks

BenChich avatar Jun 24 '25 10:06 BenChich

I haven't tried it in a while TBH. No time ATM. Do you use FAR 42 with recent packages?

n3ph avatar Jun 24 '25 11:06 n3ph

Yes, I use Fedora Asahi Remix 42 with recent packages (fex-emu.aarch64 2505-1.fc42 , muvm.aarch64 0.4.1-1.fc42).

BenChich avatar Jun 24 '25 12:06 BenChich

Successfully started tutorial today (app-emulation/FEX-2508.1 + app-emulation/muvm-0.4.1)

n3ph avatar Aug 12 '25 13:08 n3ph

Finally saw a stack trace:

[17-09-25 16:13:51.214] ERROR: General      f:0, t:1758118431213> ExceptionLogger.logException> Exception thrown
	java.lang.RuntimeException: attempted index: 2.0 of non-table: null at KahluaThread.tableget(KahluaThread.java:1530).
	Stack trace:
		se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
		se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:403)
		se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
		se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
		se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
		se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
		se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
		zombie.Lua.Event.trigger(Event.java:72)
		zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
		zombie.gameStates.MainScreenState.enter(MainScreenState.java:394)
		zombie.gameStates.GameStateMachine.update(GameStateMachine.java:123)
		zombie.GameWindow.logic(GameWindow.java:382)
		zombie.GameWindow.frameStep(GameWindow.java:916)
		zombie.GameWindow.mainThreadStep(GameWindow.java:642)
		zombie.MainThread.mainLoop(MainThread.java:76)
.       	java.base/java.lang.Thread.run(Unknown Source)
[17-09-25 16:13:51.222] LOG  : General      f:0, t:1758118431222> -----------------------------------------
STACK TRACE
-----------------------------------------

This is while loading the main menu.

n3ph avatar Sep 17 '25 14:09 n3ph

But yes, aside from occasionally starting the tutorial successfully before, the main game basically doesn't start at all now...

This is:

  • app-emulation/fex-rootfs-gentoo-20250904-r1
  • app-emulation/FEX-2509-r1
  • app-emulation/muvm-0.4.1
  • media-libs/virglrenderer-1.2.0
  • media-libs/mesa-25.2.2

n3ph avatar Sep 17 '25 14:09 n3ph

Here is the full log: hs_err_pid308.log

n3ph avatar Sep 17 '25 16:09 n3ph