Skip to content

Linux - Lutris: Game Crashes on Exit #430

Open
@nickholt15

Description

My setup is to run cncnet in lutris using WINE on a desktop running ubuntu 24.04. I'm using wine-ge 8.26

I know this setup may not be officially supported by the team but just wanted to raise an issue I've been facing in recent builds.

Game launches great and I can play locally or online, but when the Ra2 game itself closes it appears to crash and I need to re-launch the cncnet launcher again in order to play another round.

Workaround: Running the force update or reinstalling the cncnet launcher appears to fix the issue, so that's what I've been doing before each session.

Below is the latest error message I see after a crash:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at XnaImaging.DecodeStreamToTexture(Void* , IStream* , Int32* , Int32* , XnaImageOperation , Int32 , Void** )
   at Microsoft.Xna.Framework.Media.ImagingUnsafeNativeMethods.DecodeStreamToTexture(Void* device, UInt32 hImageStream, Int32* pnTargetWidth, Int32* pnTargetHeight, XnaImageOperation operation, Int32 maxAspectRatio, Void** pTextureHandle)
   at Microsoft.Xna.Framework.Media.UnsafeNativeMethods.<>c__DisplayClassd1.<DecodeStreamToTexture>b__d0()
   at Microsoft.Xna.Framework.Media.WmpProxyThread.ProxyThreadFunc()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Monitored process exited.
No return code

Metadata

Assignees

No one assigned

    Labels

    LinuxContains Linux issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions