Skip to content

PowerShell crash on Windows Server 2012 R2 with release tests: OutOfProcessClientSessionTransportManagerBase.GetMessageGuid #11445

@adityapatwardhan

Description

@adityapatwardhan

A crash was found while running release automation tests on Windows Server 2012 R2.

Stack trace:

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffd913a8eac (KERNELBASE!RaiseException+0x0000000000000068)
   ExceptionCode: e0434352 (CLR exception)
  ExceptionFlags: 00000001
NumberParameters: 5
   Parameter[0]: ffffffff80004003
   Parameter[1]: 0000000000000000
   Parameter[2]: 0000000000000000
   Parameter[3]: 0000000000000000
   Parameter[4]: 00007ffd667e0000
CLR exception type: System.NullReferenceException
    "Object reference not set to an instance of an object."

EXCEPTION_CODE_STR:  80004003

FAULTING_THREAD:  ffffffff

RETRACER_ANALYSIS_TAG_STATUS:  DEBUG_FLR_EXCEPTION_CODE is not 0xc0000005

STACK_TEXT:  
000000a8`f905e670 00007ffd`071d9283 System_Management_Automation!System.Management.Automation.Remoting.Client.OutOfProcessClientSessionTransportManagerBase.GetMessageGuid+0x23
000000a8`f905e6e0 00007ffd`08bbdfdb System_Management_Automation!System.Management.Automation.Remoting.Client.OutOfProcessClientSessionTransportManagerBase.HandleOutputDataReceived+0x3b
000000a8`f905e730 00007ffd`091d9702 System_Diagnostics_Process!System.Diagnostics.AsyncStreamReader.FlushMessageQueue+0x82
000000a8`f905ed40 00007ffd`098add11 System_Private_CoreLib!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw+0x21
000000a8`f905ed70 00007ffd`64885221 System_Diagnostics_Process!System.Diagnostics.AsyncStreamReader+__c._FlushMessageQueue_b__18_0+0x21
000000a8`f905eda0 00007ffd`0931bfc5 System_Private_CoreLib!System.Threading.QueueUserWorkItemCallback.Execute+0x45
000000a8`f905edd0 00007ffd`08b6e709 System_Private_CoreLib!System.Threading.ThreadPoolWorkQueue.Dispatch+0x1e9


STACK_COMMAND:  .cxr a8f9b5dda0 ; kb ; ** Pseudo Context ** ManagedPseudo ** Value: 1be7ec5d790 ** ; kb

FAULTING_SOURCE_LINE:  C:\PowerShell\src\System.Management.Automation\engine\remoting\fanin\OutOfProcTransportManager.cs

FAULTING_SOURCE_FILE:  C:\PowerShell\src\System.Management.Automation\engine\remoting\fanin\OutOfProcTransportManager.cs

FAULTING_SOURCE_LINE_NUMBER:  766

FAULTING_SOURCE_CODE:  
No source found for 'C:\PowerShell\src\System.Management.Automation\engine\remoting\fanin\OutOfProcTransportManager.cs'


SYMBOL_NAME:  System_Management_Automation!System.Management.Automation.Remoting.Client.OutOfProcessClientSessionTransportManagerBase.GetMessageGuid+ffffffffa1d275d3

MODULE_NAME: System_Management_Automation

Steps to reproduce

Execute release tests on Server 2012 R2

Expected behavior

No crash

Actual behavior

Crash

Environment data

Daily build from this commit: https://github.com/PowerShell/PowerShell/tree/0667e9620054dbe552c6302403dc4181c7309505

Installation using MSI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions