Mac 终端 - 打开终端时出现“未分配被释放的指针"错误 [英] Mac Terminal - 'pointer being freed was not allocated' error when opening terminal

查看:27
本文介绍了Mac 终端 - 打开终端时出现“未分配被释放的指针"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 mac 上打开终端时收到以下消息

I get the following message when opening the terminal on mac

上次登录:控制台上的星期二 3 月 11 日 14:33:24login(291,0x7fff78af9310) malloc:* 对象 0x7f974be006f0 的错误:未分配被释放的指针* 在 malloc_error_break 中设置断点进行调试

Last login: Tue Mar 11 14:33:24 on console login(291,0x7fff78af9310) malloc: * error for object 0x7f974be006f0: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug

[流程完成]

...而且我似乎无法逃脱它.我在使用 Adob​​e CC 时遇到了一些奇怪的权限问题 - 这两个可能是一个问题的症状吗?

... and I don't seem to be able to escape it. I've been having some weird permissions problems with Adobe CC - could the two be symptoms of a single problem?

推荐答案

您似乎没有对 /usr/bin 目录的正确权限.

It looks like you don't have the right permissions on the /usr/bin directory.

适用于 OS X 10.11 (El Capitan) 及更高版本的解决方案:

  1. 安装

旧版本 OS X 的解决方案:

  • 打开磁盘工具"应用 -> 按修复磁盘权限".

它将为 /usr/bin 目录设置默认权限.
如果此步骤没有帮助,请尝试此操作:

It will set default permissions for the /usr/bin directory.
If this step doesn't help try this:

  • ~/Library/Preferences文件夹中删除com.apple.terminal.plist
  • Delete com.apple.terminal.plist from the ~/Library/Preferences folder;

这篇关于Mac 终端 - 打开终端时出现“未分配被释放的指针"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆