Skip to content

Test failed: eventpipe_readevents "A callback was made on a garbage collected delegate" #39682

Closed

Description

@BruceForstall

Linux {x64,arm64} x GCStress=C x {JitStress=1,Jitstress=2}

https://dev.azure.com/dnceng/public/_build/results?buildId=737350&view=ms.vss-test-web.build-test-results-tab&runId=22834098&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab&resultId=100011

e.g.,

export COMPlus_TieredCompilation=0
export COMPlus_DbgEnableMiniDump=1
export COMPlus_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
export COMPlus_GCStress=0xC
export COMPlus_JitStress=2
+ sudo bash -c echo $HELIX_DUMP_FOLDER/core.%u.%p > /proc/sys/kernel/core_pattern
+ export PATH=/home/helixbot/work/AC910984/p/dotnet:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ export DOTNET_ROOT=/home/helixbot/work/AC910984/p/dotnet
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ dotnet /home/helixbot/work/AC910984/p/xunit.console.dll profiler/eventpipe/profiler.eventpipe.XUnitWrapper.dll -parallel collections -nocolor -noshadow -xml testResults.xml -trait TestGroup=profiler.eventpipe
Microsoft.DotNet.XUnitConsoleRunner v2.5.0 (64-bit .NET 5.0.0-preview.8.20361.2)
  Discovering: profiler.eventpipe.XUnitWrapper
  Discovered:  profiler.eventpipe.XUnitWrapper
  Starting:    profiler.eventpipe.XUnitWrapper
    profiler/eventpipe/eventpipe_readevents/eventpipe_readevents.sh [FAIL]
      Process terminated. A callback was made on a garbage collected delegate of type 'System.Private.CoreLib!Interop+Advapi32+EtwEnableCallback::Invoke'.
      Unhandled exception. System.Exception: Profiler tests are expected to contain the text 'PROFILER TEST PASSES' in the console output of the profilee app to indicate a passing test. Usually it is printed from the Shutdown() method of the profiler implementation. This text was not found in the output above.
         at Profiler.Tests.ProfilerTestRunner.LogTestFailure(String error) in /Users/runner/work/1/s/src/tests/profiler/common/ProfilerTestRunner.cs:line 136
         at Profiler.Tests.ProfilerTestRunner.Run(String profileePath, String testName, Guid profilerClsid, String profileeArguments, ProfileeOptions profileeOptions) in /Users/runner/work/1/s/src/tests/profiler/common/ProfilerTestRunner.cs:line 90
         at EventPipeTests.EventPipe.Main(String[] args) in /Users/runner/work/1/s/src/tests/profiler/eventpipe/eventpipe_readevents.cs:line 55
      /home/helixbot/work/AC910984/w/A5BB094C/e/profiler/eventpipe/eventpipe_readevents/eventpipe_readevents.sh: line 333: 24671 Aborted                 $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
      
      Return code:      1

Activity

  1. added
    os-linux
    JitStress
    area-CodeGen-coreclr
    on Jul 21, 2020
  2. added this to the 5.0.0 milestone on Jul 21, 2020
  3. added
    untriaged
    on Jul 21, 2020
  4. removed
    untriaged
    on Jul 21, 2020
  5. removed
    area-CodeGen-coreclr
    on Jul 21, 2020
  6. jkotas commented on Jul 21, 2020

    @jkotas
    Member

    A callback was made on a garbage collected delegate of type 'System.Private.CoreLib!Interop+Advapi32+EtwEnableCallback::Invoke'

    This looks like a bug in EtwEventProvider.

  7. tommcdon commented on Jul 21, 2020

    @tommcdon
    Member
  8. davmason commented on Jul 31, 2020

    @davmason
    Contributor

    Looking now, fairly sure it's a duplicate of #36028

  9. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GCStressJitStressarea-Diagnostics-coreclros-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions