只需在 OSX 终端中启动 haxe Commando 即可出现总线错误

发布于 2024-10-02 07:44:44 字数 962 浏览 0 评论 0原文

很长一段时间后,我想再次在我的 MacBook 上进行 haxe 开发。所以我访问 haxe.org,下载 mac 安装程序并安装最新版本的 haxe。

然后我打开终端并输入 haxe,只是遇到了这个简短的错误消息:

Bus Error

嗯,我做错了什么吗?我使用的是OSX 10.4,是否该操作系统不支持最新版本的haxe?

更新:

查看系统日志,我发现在调用安装程序后,出现以下消息:

Nov 12 18:12:16 my-computer authexec: executing /Volumes/haXe Installer/haXe Installer.app/Contents/MacOS/hxinst-osx
Setting FD_CLOEXEC on all file descriptors
Initializing child but not closing any file descriptors...
Initializing child but not closing any file descriptors...
Nov 12 18:13:25 my-computer crashdump[1655]: haxe crashed
Nov 12 18:13:25 my-computer crashdump[1655]: crash report written to: /Users/myuser/Library/Logs/CrashReporter/haxe.crash.log

此外,在调查崩溃日志时,我得到了崩溃导致的异常的名称:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

任何主意?我正在进一步调查这个问题。

I wanted to do again to develop in haxe on my MacBook after quite a long time. So I go on haxe.org, download the mac installer and install the latest version of haxe with it.

Then I open the terminal and type haxe, just to encounter this short error message:

Bus Error

Well, did I do something wrong? I'm using OSX 10.4, can it be that the latest version of haxe is not supported on this operating system?

UPDATE:

Looking into the system log, I found out that after the installer was called, the following messages:

Nov 12 18:12:16 my-computer authexec: executing /Volumes/haXe Installer/haXe Installer.app/Contents/MacOS/hxinst-osx
Setting FD_CLOEXEC on all file descriptors
Initializing child but not closing any file descriptors...
Initializing child but not closing any file descriptors...
Nov 12 18:13:25 my-computer crashdump[1655]: haxe crashed
Nov 12 18:13:25 my-computer crashdump[1655]: crash report written to: /Users/myuser/Library/Logs/CrashReporter/haxe.crash.log

Also, investigating the crash log, I got a name for the exception which resulted from the crash:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Any idea? I'm investigating the problem further.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

北恋 2024-10-09 07:44:44

总线错误意味着程序本身被破坏(具体来说,它意味着程序使用了未对齐或完全垃圾的指针)。要找出原因,您可以尝试附加 gdb (gdb haxe) 并四处查看

Bus error means that the program itself is broken (specifically, it means that the program used an unaligned or completely garbage pointer). To find out why, you could try attaching gdb (gdb haxe) and poking around

孤芳又自赏 2024-10-09 07:44:44

该安装程序很可能是基于更高版本的 OS X(10.5 或 10.6)构建的并针对该版本。您可以在系统日志 (/Applications/Utilities/Console.app) 中找到更多信息。您可以在Haxe社区中询问,或者,如果您有勇气,您可以尝试从源代码构建您自己的版本

It is very likely that the installer was built on and targeted for a later version of OS X (either 10.5 or 10.6). You may find more information in your system log (/Applications/Utilities/Console.app). You could ask in the Haxe community or, if you're feeling brave, you could try building your own version from source.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文