Skip to content

Asynchronous task blocked on a synchronous call #3476

Closed
@csrivaab-jci

Description

@csrivaab-jci

Description

Package version - 3.4

I getting the following two issues intermittently while the application startup...

  1. 2 threads are performing asynchronous work in method 'GraphQL.dll!GraphQL.Http.HttpResponseStreamWriter.FlushInternal(bool)', but are waiting on a synchronous call to method 'System.Private.CoreLib.dll!System.Threading.ManualResetEventSlim.Wait(int, System.Threading.CancellationToken)'. This may cause thread pool starvation and hangs.

  2. 10 threads are performing asynchronous work in method 'Newtonsoft.Json.dll!Newtonsoft.Json.JsonTextReader.ReadData(bool, int)', but are waiting on a synchronous call to method 'System.Private.CoreLib.dll!System.Threading.ManualResetEventSlim.Wait(int, System.Threading.CancellationToken)'. This may cause thread pool starvation and hangs.

Steps to reproduce

This issue is intermittent and occurs on Application start-up.

Expected result

What should happen?

Actual result

The application was not accepting any other requests as the thread was blocked

Environment

Windows 64

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionDeveloper asks to help him deal with some problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions