Skip to content

Crash with unmanged DLL did not create a StackTrace in Eventlog #75245

@jogibear9988

Description

@jogibear9988

Description

We have an error, were we access Pointers from an unmanged DLL wich we freeed before.
If we do this in a Net4.8 Application in Debug Mode, we get a Stacktrace in the Eventlog.

If we du this in a Net6 Application in Debug Mode we get only this:

    Application: MCC.Common.Services.NTServiceHost.exe
    CoreCLR Version: 6.0.822.36306
    .NET Version: 6.0.8
    Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFE9F791FDD (00007FFE9F5C0000) with exit code c0000005.

If we create a MiniDump we could see the Stacktrace in the Dump

Reproduction Steps

Crash a Net6 Application in unmanged COde

Expected behavior

We should see a Stacktrace in Eventlog

Actual behavior

No Stacktrace

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

see #67897

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions