-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rustc(4556,0x7fffcca583c0) malloc: *** malloc_zone_unregister() failed for 0x7fffcca4f548 on OSX 10.12 beta 2 #34674
Comments
Thanks for the report! This is scheduled for release Thursday. @glandium is 10.12 beta 2 compatible with stable and/or nightly? |
Since this is an unreleased version of OS X, and the final release isn't scheduled until fall, I think it's not a pressing issue, but we should solve it for 1.11. |
Nominating because this is a high priority issue someone should investigate. |
This fixes jemalloc/jemalloc#140 in the version used by the rust compiler. Fixes rust-lang#34674
Update jemalloc to include a fix for startup issues on OSX 10.12 This fixes jemalloc/jemalloc#140 in the version used by the rust compiler. Fixes #34674
As a data point, I don't experience this issue on nightly (9f1ffdd 2016-07-11), but I do on stable. I'm on macOS 10.12 Beta (16A238m). |
This fixes jemalloc/jemalloc#140 in the version used by the rust compiler. Fixes rust-lang#34674
I am still experiencing this issue when trying to build rust on OS X. Rustc just enters a (seemingly) infinite loop with a comparable error message. Note: this also happens if I disable jemalloc via the --disable-jemalloc option to configure. This is under Sierra Dev build 6 (16A294a), Rust 413ada3 |
@tzakharko can't reproduce. |
@e-oz True, Beta 12 is building and working correctly. However, the current master does not. I do not know whether its a regression or not, as I have no idea about how Rust repo is organised. |
Hey, just wanted to know what's the status on this? jemalloc has fixed this on their end, by PR jemalloc/jemalloc#427. Is there an update yet for this? |
This is still broken on macOS Sierra version 10.12 (16A323). I tried to upgrade my local rust installation using homebrew ( Output reported by homebrew:
|
@zeusdeux Installing with --HEAD works |
However currently we have to kill docdir stuff from install.mk. |
This fixes jemalloc/jemalloc#140 in the version used by the rust compiler. Fixes rust-lang#34674
came issue on official release of high sierra. rustc errors (with above error) and cargo just hangs. |
Still a thing apparently. I'm on macOS 11.6.1 and I had (long ago) installed rust with
I've lost it now but I got the this same error (OT of this issue) when running Anyway, think what happened was that I had started a terminal BEFORE the upgrade. Creating a fresh new terminal now "solves" it and all is well:
So basically, if anybody else sees this: create a new terminal and see if that makes the error go away. |
Heads up: Running the rust compiler on OSX 10.12 beta 2 leads to the following error message:
Then the process gets stuck.
This roots from the malloc zone registration code in jemalloc 3, which is shared with Firefox's replace-malloc and causes the same issue on Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1284677)
Filed jemalloc issue: jemalloc/jemalloc#420
The text was updated successfully, but these errors were encountered: