thorium-cfx / mono_v2_get_started

Mono v2 runtime for FiveM/RedM
38 stars 5 forks source link

Restarting an empty resource caused a crash #1

Closed ivanzaida closed 1 year ago

ivanzaida commented 1 year ago

CfxCrashDump_2023_05_20_19_16_40.zip

Restarting an empty resource casuses a crash

client resource source code: ` using System; using System.Diagnostics; using System.Linq; using CitizenFX.Core; using CitizenFX.FiveM; using CitizenFX.Shared.Native; using Debug = CitizenFX.Core.Debug;

namespace TestResource.Client;

public class Client : BaseScript { public Client() { } } `

thorium-cfx commented 1 year ago

Can't repro this with the given data, can you provide an MRE repro?

I did however have a look in the logs and I see a lot of resource (re)starts where resources weren't empty, so I'd presume something was up in an earlier version that actually crashed when it was stopped.

thorium-cfx commented 1 year ago

Closing this as several resource stop/restart related issues were fixed in the mean time and it's not actionable in the current state.

We can always reopen this issue when you add the requested information.