Announcement

Collapse
No announcement yet.

ReWASD crash on Win11 "enumerator is not valid because the dictionary changed"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ReWASD crash on Win11 "enumerator is not valid because the dictionary changed"

    Hello,

    The ReWASD application version 7.0.0.8388 crashes on about a daily basis on my machine running Windows 11 22H2 OS build 22621.3007 on AMD Ryzen 7 3800X.
    This happens outside of actual games. I have auto-detected profiles for Windows Explorer and Brave Browser.
    The Application Crash event is reported in Event Viewer as such:

    Code:
    Faulting application name: reWASDEngine.exe, version: 7.0.0.8388, time stamp: 0x641ddf3f
    Faulting module name: KERNELBASE.dll, version: 10.0.22621.2861, time stamp: 0x9e57f18c
    Exception code: 0xe0434352
    Fault offset: 0x00149392
    Faulting process id: 0x0x7234
    Faulting application start time: 0x0x1DA4EE7487FCDF4
    Faulting application path: C:\Program Files\reWASD\reWASDEngine.exe
    Faulting module path: C:\Windows\System32\KERNELBASE.dll
    Report Id: ae5b3850-8aa4-4177-acaf-f72b34a2f91a
    Faulting package full name:
    Faulting package-relative application ID:  ​
    The crash event was preceded with this .NET Runtime event:

    Code:
    Category: Microsoft.AspNetCore.Server.Kestrel
    EventId: 13
    SpanId: 7080d0063184cfd2
    TraceId: b6fe6e192abc1b62e261cbf46ad63d85
    ParentId: 0000000000000000
    ConnectionId: 0HN0SVPN5OKP1
    RequestId: 0HN0SVPN5OKP1:00000001
    RequestPath: /v1.8/GamepadService/GamepadProfileRelations
    
    Connection id "0HN0SVPN5OKP1", Request id "0HN0SVPN5OKP1:00000001": An unhandled exception was thrown by the application.
    
    Exception:
    System.InvalidOperationException: The enumerator is not valid because the dictionary changed.
       at DiscSoft.NET.Common.Utils.ObservableDictionary`2.Enumerator.ValidateVersion()
       at DiscSoft.NET.Common.Utils.ObservableDictionary`2.Enumerator.MoveNext()
       at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeDictionary(JsonWriter writer, IDictionary values, JsonDictionaryContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
       at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
       at Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding)
       at Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding)
       at Microsoft.AspNetCore.Mvc.Formatters.NewtonsoftJsonOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultFilters>g__Awaited|28_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
       at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
       at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
       at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
       at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
    I have attached the Crash report provided by Windows Event Viewer. It is a compressed Report.wer file.

    Please let me know if additional information is necessary to identify the issue.
    Attached Files

  • #2
    Hi!

    Unfortunately, I was unable to open the Crash report you provided(It was supposed to be .evtx, I believe).
    Also, can you try manually download and install these two packages?:

    ASP.NET Core 7.0 Runtime and .NET 7.0 Desktop Runtime. ​

    Comment

    Working...
    X