gforthmi 分段错误
我在 Linux 上使用 Gforth 0.7.0。每次我尝试运行gforthmi时,无论我使用什么参数,它都会因分段错误而卡住,如下所示:
[bahman@bleda ussa]$ gforthmi ussa.fi -m 4M ussa.fs
redefined block-offset
Segmentation fault.
redefined block-offset
Segmentation fault.
redefined th
*OS command line*:-1: No such file or directory
comp-image >>>./temp-image.fi1<<< ./temp-image.fi2 ussa.fi bye
Backtrace:
$7FE2020FE850 throw
$7FE202134408 slurp-file
chmod: cannot access `ussa.fi': No such file or directory
rm: cannot remove `./temp-image.fi1': No such file or directory
rm: cannot remove `./temp-image.fi2': No such file or directory
我在 32 位和 64 位机器上都尝试过它,并且结果完全相同。
我错过了什么/做错了什么?我将不胜感激任何帮助/想法。蒂亚,
--
巴赫曼
I'm using Gforth 0.7.0 on Linux. Every time I try to run gforthmi, no matter what parameters I use, it chokes on segmentation fault like below:
[bahman@bleda ussa]$ gforthmi ussa.fi -m 4M ussa.fs
redefined block-offset
Segmentation fault.
redefined block-offset
Segmentation fault.
redefined th
*OS command line*:-1: No such file or directory
comp-image >>>./temp-image.fi1<<< ./temp-image.fi2 ussa.fi bye
Backtrace:
$7FE2020FE850 throw
$7FE202134408 slurp-file
chmod: cannot access `ussa.fi': No such file or directory
rm: cannot remove `./temp-image.fi1': No such file or directory
rm: cannot remove `./temp-image.fi2': No such file or directory
I tried it on both a 32bit and a 64bit machine and the results were exactly the same.
What am I missing/doing wrong? I'd appreciate any help/idea. TIA,
--
Bahman
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是我自己犯的愚蠢错误。我在一个空堆栈上进行
2DUP
。The problem was my own silly mistake. I was
2DUP
ing on an empty stack.