microsoft / microsoft/mimalloc

in Gentoo Linux sandbox, mimalloc makes autoconf's getcwd long path test stuck

Open
#660 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

On Gentoo Linux, I installed the latest mimalloc. I then added the following to /etc/ld.so.preload:
`/usr/${LIB}/libmimalloc.so`
Then I tried to install cpio and got stuck at autoconf's getcwd long path test.
I do the same using jemalloc and only get stuck for a few seconds at the same stage. But using mimalloc, it's like being stuck there all the time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the hang on Gentoo Linux using /etc/ld.so.preload with libmimalloc.so, then run the cpio installation through autoconf's getcwd long path test. Compare the behavior with jemalloc and use the reproduction to identify the cause; done means the test no longer remains stuck when mimalloc is preloaded.

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.