Skip to content

Mimalloc v2.0.6 conflicts with Nvidia Nsight #626

@vauki

Description

@vauki

Hello!

I found an issue while using mimalloc v2.0.6 and Nvidia Nsight.
Here are the steps:

  1. You need an application with mimalloc integrated (D:/app.exe for example)
  2. Run it using Nvidia Nsight:
    image
  3. In the debug configuration we get an assert:
    image
  4. Here is the mimalloc output:
    image

It looks like the problem is that Nvidia Nsight conflicts with mimalloc. Both are injected into the DLL load order to intercept the messages they need, and in this case Nsight is loaded first and prevents mimalloc from properly intercepting malloc/free calls.

Any thoughts on how this can be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions