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

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

问题描述

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

I get the following message when opening the terminal on mac

上次登录时间:3月11日星期二14:33:24在控制台上 login(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

[处理完成]

...而且我似乎无法摆脱它.我在使用Adobe 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. 安装 Onyx 3.1.3 应用(免费的磁盘工具模拟程序)
  2. 选择维护"->权限"->执行".
  1. Install Onyx 3.1.3 app (Free analog of Disk Utility)
  2. Choose 'Maintenance' -> 'Permissions' -> 'Execute'.

旧版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 Terminal-打开终端时出现“未分配指针释放"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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