fig icon indicating copy to clipboard operation
fig copied to clipboard

zsh (figterm)(7164) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.

Open RamiroG8k opened this issue 1 year ago • 24 comments

Checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have run fig restart and replicated the issue again

Operating system

macOS 14.0.0 (23A5286i)

Expected behaviour

I was expecting just to have yarn write down but this message happen to appear just suddenly

Actual behaviour

https://github.com/withfig/fig/assets/66712961/5655db5a-9c1f-41e1-a49b-e58d700902fd

Steps to reproduce

actually just writing yarn [SOMETHING]

or as in the video.. just cd .

Environment

fig-details:
  - 2.16.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M2
  - cores: 8
  - mem: 8.00 GB
os-info:
  - macOS 14.0.0 (23A5286i)
environment:
  - shell: /opt/homebrew/Cellar/zsh/5.9/bin/zsh
  - terminal: vscode
  - cwd: /Users/ramg8k/100Ladrillos/web-app
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - DISPLAY: /private/tmp/com.apple.launchd.XMywiEJhwz/org.xquartz:0
    - FIGTERM_SESSION_ID: 39b265f7-0d9f-4ddc-a47d-06a54c77676a
    - FIG_PID: 4721
    - FIG_SET_PARENT: 39b265f7-0d9f-4ddc-a47d-06a54c77676a
    - FIG_SET_PARENT_CHECK: 1
    - FIG_TERM: 2.16.0
    - PATH: /Users/ramg8k/Library/pnpm:/Users/ramg8k/.rbenv/shims:/Users/ramg8k/.rbenv/shims:/Users/ramg8k/.rbenv/bin:/Users/ramg8k/.nvm/versions/node/v18.16.0/bin:/Users/ramg8k/.nvm/versions/node/v18.16.0/bin:/Users/ramg8k/.pyenv/shims:/Users/ramg8k/.pyenv/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/ramg8k/Library/pnpm:/Users/ramg8k/.rbenv/shims:/Users/ramg8k/.rbenv/bin:/Users/ramg8k/.nvm/versions/node/v18.16.0/bin:/Users/ramg8k/.pyenv/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/ramg8k/.fig/bin:/Users/ramg8k/.local/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - ZDOTDIR: /Users/ramg8k
    - __CFBundleIdentifier: com.microsoft.VSCode

RamiroG8k avatar Aug 01 '23 14:08 RamiroG8k

Same problem with pnpm . With cd it spams the message like a couple hundred times even. My terminal is unusable like this.

OfficialCRUGG avatar Aug 20 '23 20:08 OfficialCRUGG

I was running a dotnet project and started seeing this issue as well.

TBetcha avatar Aug 21 '23 05:08 TBetcha

For me the current solution is to kill the current terminal tab or open another one and run fig restart

RamiroG8k avatar Aug 21 '23 17:08 RamiroG8k

getting this as well

samdenty avatar Aug 25 '23 11:08 samdenty

Getting the same thing and it looks like fig restart clears up the error.

Coffeegerm avatar Oct 12 '23 17:10 Coffeegerm

Even after fig restart I am still getting the same error.

zsh (figterm)(51179) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.

Sirjoseph94 avatar Oct 12 '23 19:10 Sirjoseph94

getting the same issue and the only solution I've found is killing the terminal session and running fig restart

punctuations avatar Oct 17 '23 22:10 punctuations

I had the same problem and tried killing the session and running fig restart, but the error kept happening again and again. The best solution for me was to uninstall and install the app again. I've never run into the same error since then, maybe for one week!

KoshiFutami avatar Nov 15 '23 07:11 KoshiFutami

same here :( error persists when doing fig restart, but if i open a new terminal it disappears

sh (figterm)(31065) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.

skravetz-binternacional avatar Nov 15 '23 19:11 skravetz-binternacional

just exit your terminal and open again..... and it will be fix 🚀

budimanr3101 avatar Nov 16 '23 18:11 budimanr3101

same for me too

ravindarreddy1 avatar Nov 18 '23 02:11 ravindarreddy1

Same error here. It's super frustrating.

OscarVanL avatar Nov 28 '23 14:11 OscarVanL

Same here, this is impossible to work with, disabling Fig until this is fixed

jacsamell avatar Dec 04 '23 17:12 jacsamell

Same for me as well

ntilva avatar Dec 06 '23 08:12 ntilva

same here

Tjerk-Haaye-Henricus avatar Dec 06 '23 14:12 Tjerk-Haaye-Henricus

same for me too

just exit your terminal and open again..... and it will be fix 🚀

budimanr3101 avatar Dec 07 '23 14:12 budimanr3101

same for me too

just exit your terminal and open again..... and it will be fix 🚀

Restarting your terminal is temporary, I don't prefer to restart everytime.

Upendrasengar avatar Jan 23 '24 22:01 Upendrasengar

Still present in Sonoma 14.3. Since not only fig suffers from it, but also neovide for example when using the terminal in it, the culprit seems to be in either Apples implementation of zsh or since the same behavior can be reproduced by doing a simple brew upgrade in the zsh (assuming you use brew) - only that in this case ruby is the bad guy - all points to macOS Sonoma as the origin in general. Not an issue in Ventura, nor Monterey.

claudiusraphael avatar Jan 25 '24 04:01 claudiusraphael

I waited a long time to try fig (or whatever it is called now)...and this issue popped up within 10 minutes.

...back to waiting for fig...

kmorwood avatar Jan 26 '24 18:01 kmorwood

I'm seeing this issue too on version 2.17.1 and using vscode zsh terminal. Any idea of a permanent fix? Closing the terminal and starting a new one does indeed fix the issue temporarily but it does come back.

Apostolos-Daniel avatar Feb 22 '24 11:02 Apostolos-Daniel

Do I really need to remove the fig?

deerpark avatar Feb 29 '24 05:02 deerpark