[mimalloc-redirect] Redirect fails on Win11
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- c
- Bereich
- operating-systems
Rechercherichtung
Beginne damit, den Fehler im gemeldeten Windows-11-Build mit mimalloc-redirect und dem gezeigten Befehl minject.exe --force --inplace zu reproduzieren. Untersuche das Redirect-Verhalten und die verfügbaren Diagnosen rund um die gemeldete Warnung „standard malloc is not redirected“; abgeschlossen ist die Aufgabe, wenn die Windows-spezifische Ursache identifiziert und eine Fehlerbehebung verifiziert oder die erforderlichen Bedingungen dokumentiert wurden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hey!
I seem to have found an issue on a Windows 11 machine where mimalloc-redirect fails.
For many other systems it works just fine, perhaps a recent Windows update is the cause?
- Is there a way I can provide more information about the reason mimalloc-redirect fails?
"minject.exe" --force --inplaceis called to reorder mimalloc dlls for the executable
mimalloc git hash: 754a98de5e2912fddbeaf24830f982b4540992f1bab4a0a8796ee118e0752bda
Operating System: Windows 11 Pro 64-bit (10.0, Build 26200) (26100.ge_release.240331-1435)
# mimalloc conan msvc.profile
settings
arch: x86_64
build_type: Release
compiler: msvc
compiler.cppstd: 23
compiler.runtime: dynamic
compiler.runtime_type: Release
compiler.version: 194
os: Windows
options
guarded: False
override: True
secure: False
shared: True
win_redirect: True
Mimalloc version: 224
Is redirected: NO
Memory state: 1
Disable env var: 1
Verbose env var: 3
Options enabled: show_errors=ON, verbose=ON, show_stats=ON
mimalloc: v2.2.4, release (built on Nov 17 2025, 09:39:13)
mimalloc: option 'show_errors': 0
mimalloc: option 'show_stats': 0
mimalloc: option 'verbose': 3
mimalloc: option 'eager_commit': 1
mimalloc: option 'arena_eager_commit': 2
mimalloc: option 'purge_decommits': 1
mimalloc: option 'allow_large_os_pages': 0
mimalloc: option 'reserve_huge_os_pages': 0
mimalloc: option 'reserve_huge_os_pages_at': -1
mimalloc: option 'reserve_os_memory': 0 KiB
mimalloc: option 'deprecated_segment_cache': 0
mimalloc: option 'deprecated_page_reset': 0
mimalloc: option 'abandoned_page_purge': 0
mimalloc: option 'deprecated_segment_reset': 0
mimalloc: option 'eager_commit_delay': 1
mimalloc: option 'purge_delay': 10
mimalloc: option 'use_numa_nodes': 0
mimalloc: option 'disallow_os_alloc': 0
mimalloc: option 'os_tag': 100
mimalloc: option 'max_errors': 32
mimalloc: option 'max_warnings': 32
mimalloc: option 'max_segment_reclaim': 10
mimalloc: option 'destroy_on_exit': 0
mimalloc: option 'arena_reserve': 1048576 KiB
mimalloc: option 'arena_purge_mult': 10
mimalloc: option 'purge_extend_delay': 1
mimalloc: option 'abandoned_reclaim_on_free': 0
mimalloc: option 'disallow_arena_alloc': 0
mimalloc: option 'retry_on_oom': 400
mimalloc: option 'visit_abandoned': 0
mimalloc: option 'guarded_min': 0
mimalloc: option 'guarded_max': 1073741824
mimalloc: option 'guarded_precise': 0
mimalloc: option 'guarded_sample_rate': 0
mimalloc: option 'guarded_sample_seed': 0
mimalloc: option 'target_segments_per_thread': 0
mimalloc: option 'generic_collect': 10000
mimalloc: debug level : 0
mimalloc: secure level: 0
mimalloc: mem tracking: none
mimalloc: process init: 0x2221D9C000
mimalloc-redirect: warning: standard malloc is _not_ redirected! -- using regular malloc/free. (v1.3.3)
mimalloc: using 1 numa regions
mimalloc: reserved 1048576 KiB memory
- Vorherrschende Sprache
- C
- Sterne
- 13.6k
- Forks
- 1.2k
- Ø Merge
- 18 Std. 12 Min.
- Gemergte PRs (30 T.)
- 20
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus microsoft/mimalloc
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Building mimalloc with `-Wundef` compiler flag logs many warnings on undefined macrosEvtl. vergeben @vstinner hat das vor 1 Tag übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
microsoft/mimalloc#1506 · 5 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
stale
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
microsoft/mimalloc#1113 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
microsoft/mimalloc#886 · 4 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
microsoft/mimalloc#368 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in microsoft/mimalloc
Ähnliche Issues
-
needs triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
389ds/389-ds-base#8157 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
coolsnowwolf/lede#14305 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
Needs-Triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 2 Tagen