Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Mac throug XIV Mac #116

Open
mghiorzi-devops opened this issue Dec 13, 2024 · 1 comment
Open

Crash on Mac throug XIV Mac #116

mghiorzi-devops opened this issue Dec 13, 2024 · 1 comment

Comments

@mghiorzi-devops
Copy link

Every now and then Dalamud crash and the following log is shown on dalamud.boot.log

Fatal error. SuspendThread failed with error 5. Handle: 0x00000000000000EC
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.CombatantMemory.GetEffectEntryFromByteArray(Byte[], Int32)
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.CombatantMemory.GetEffectEntries(Byte*, RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.ObjectType, UInt32)
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.CombatantMemory71.GetCombatantFromByteArray(Byte[], UInt32, Boolean, Boolean)
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.CombatantMemory71.GetMobFromByteArray(Byte[], UInt32)
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.CombatantMemory.GetCombatantList()
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.LineCombatant.CheckCombatants(System.DateTime, UInt32[])
at RainbowMage.OverlayPlugin.MemoryProcessors.Combatant.LineCombatant.PollCombatants()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()

@marzent
Copy link
Owner

marzent commented Dec 17, 2024

What actually happens is there is that a native thread died, causing SuspendThread to fail here when needed for the GC and the dotnet CLR then immediately terminated the process.

A wine log with +seh would be interesting here to maybe see who is the culprit here better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants