Skip to content

.net8 prev 5 unassociated AOT processes crash when the debugger starts on the system. #87739

Closed

Description

@xljiulang

Description

eventpipeinternal.cpp

已在 Lotus.exe 中执行断点指令(__debugbreak()语句或类似调用)。

Lotus.exe!RhEventPipeInternal_WaitForSessionSignal(unsigned __int64 sessionID, int timeoutMs) 行 41 C++
Lotus.exe!S_P_CoreLib_System_Diagnostics_Tracing_EventPipeInternal__EventActivityIdControl() 行 114 未知
Lotus.exe!S_P_CoreLib_System_Runtime_CompilerServices_TaskAwaiter___c___OutputWaitEtwEvents_b__12_0() 行 295 未知
Lotus.exe!S_P_CoreLib_System_Threading_Tasks_AwaitTaskContinuation__System_Threading_IThreadPoolWorkItem_Execute() 行 647 未知
Lotus.exe!S_P_CoreLib_System_Threading_ThreadPoolWorkQueue__Dispatch() 行 924 未知
Lotus.exe!S_P_CoreLib_System_Threading_ThreadPool__DispatchCallback() 行 376 未知

Reproduction Steps

  1. Run a aot process
  2. Debug some process
  3. aot process crash

Expected behavior

aot process will not crash

Actual behavior

aot process will crash

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jun 18, 2023
  2. added this to the 8.0.0 milestone on Jun 18, 2023
  3. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 18, 2023
  4. vitek-karas commented on Jun 18, 2023

    @vitek-karas
    Member

    @LakshanF this is very likely something about event pipe - starting VS debugger turns on event collection system wide (although that should be ETW, so maybe it's something about the runtime event source).

  5. LakshanF commented on Jun 22, 2023

    @LakshanF
    Contributor

    @xljiulang, thanks for reporting this issue! And apologies for the bad experience.

    This part of the code was an unimplemented feature that is currently being worked on (PR #87785).

    Would you mind giving detailed instructions on how you hit this issue please? I want to validate your scenario works with the new code. Thanks!

  6. LakshanF commented on Jul 26, 2023

    @LakshanF
    Contributor

    This should be now fixed

  7. ghost locked as resolved and limited conversation to collaborators on Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions