gforthmi 分段错误

发布于 2024-12-13 15:13:46 字数 761 浏览 7 评论 0原文

我在 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 技术交流群。

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

发布评论

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

评论(1

木落 2024-12-20 15:13:46

问题是我自己犯的愚蠢错误。我在一个空堆栈上进行2DUP

The problem was my own silly mistake. I was 2DUPing on an empty stack.

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