microsoft / microsoft/mimalloc

Steam webviews repeatedly crash when preloading libmimalloc.so (linux)

Open
#244 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

Steam webviews repeatedly crash - showing nothing - when preloading libmimalloc.so, on linux. Although Steam works in general.

Tested with dev HEAD / 4f020e5da4552fb254ce35db1adad5c63d68d09e and v1.6.3, with and without MI_LOCAL_DYNAMIC_TLS and with and without MI_USE_CXX, fwiw.

I've also tried running with a MI_SECURE build but didn't see any notable warning spew or behavioural change.

Here's a typical dmesg - it looks like the crash is happening inside mimalloc itself:
```
CompositorTileW[10858]: segfault at 120350400060 ip 00007f99a3579d70 sp 00007f9989 es of 1 users.]
2582c0 error 4 in libmimalloc.so.1.6[7f99a3569000+1a000]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the crash in Steam webviews with libmimalloc.so preloaded, comparing dev HEAD 4f020e5da4552fb254ce35db1adad5c63d68d09e and v1.6.3. Check dmesg output and the reported MI_LOCAL_DYNAMIC_TLS, MI_USE_CXX, and MI_SECURE configurations; done requires identifying why the webviews crash and establishing a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.