microsoft / microsoft/mimalloc

IOS crash --- "pointer being freed was not allocated"

Open
#435 2 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

![image](https://user-images.githubusercontent.com/1112308/124447160-b0cc5e00-ddb3-11eb-87b4-325853d13ecf.png)

malloc: *** error for object 0x106890000: pointer being freed was not allocated
(3874,0x103cfb880) malloc: *** set a breakpoint in malloc_error_break to debug

but it would be ok if I do not link the mimalloc

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

Start by reproducing the reported iOS crash from the issue's malloc error log, comparing a build linked with mimalloc against one without it. The report names no source files or tests, so locating the allocation and deallocation path is part of the investigation; done means the crash no longer occurs in the mimalloc-linked build.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.