Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APP crash issue #952

Closed
XuSai1998 opened this issue Oct 24, 2024 · 2 comments
Closed

APP crash issue #952

XuSai1998 opened this issue Oct 24, 2024 · 2 comments

Comments

@XuSai1998
Copy link

XuSai1998 commented Oct 24, 2024

I am working on the Windows on ARM app compatibility ecosystem and encountered an issue where the app ZWCAD (https://www.zwcad.com/download-thanks/MTcyOTc2MDQyMmh0dHBzOi8vZGwuendzb2Z0LmNuL3p3Y2FkL2NhZC8yMDI1L1JlbGVhc2UxLjJfTmV3L1pXQ0FEXzIwMjVfMS4yX0Noc19XaW5fNjRiaXQuZXhl/zw) crashes in mimalloc-override.dll, showing a segment pointing to an invalid address. Initially, I suspected that the crash might be due to a double free or other issue within the app. However, I couldn’t reproduce the issue when running the same app on Windows x64.

I noticed the following issue, which I believe might be related to the crash:

mimalloc: option 'disallow_arena_alloc': 0
mimalloc: option 'retry_on_oom': 400
mimalloc: option 'visit_abandoned': 0
mimalloc: option 'debug_guarded_min': 0
mimalloc: option 'debug_guarded_max': 0
mimalloc: guarded build: disabled
mimalloc: malloc is redirected.
mimalloc-redirect: warning: unable to resolve "ucrtbase.dll!_expand_base" -- enabling MIMALLOC_PATCH_IMPORTS to prevent allocation errors.
mimalloc-redirect: warning: unable to resolve "ucrtbase.dll!_recalloc_base" -- enabling MIMALLOC_PATCH_IMPORTS to prevent allocation errors.
mimalloc-redirect: warning: unable to resolve "ucrtbase.dll!_msize_base" -- enabling MIMALLOC_PATCH_IMPORTS to prevent allocation errors.

ZW.dmp

@XuSai1998
Copy link
Author

can you provide ARM64EC mimalloc-redirect?

@daanx
Copy link
Collaborator

daanx commented Dec 23, 2024

It's there now, see issue #958

@daanx daanx closed this as completed Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants