Cmenu 中的 Perl 脚本段错误

发布于 2024-10-07 16:38:33 字数 432 浏览 0 评论 0原文

当我在 Solaris 8 上使用 Cmenu 模块时,我收到了核心转储。该脚本在 Solaris 10 上运行良好。有人请建议一个可能的解决方法吗?使用 dbx 显示以下内容:

terminated by signal SEGV (no mapping at the fault address)

Current function is Perl_safesysmalloc
92   Ptr = (Malloc_t)PerlMem_malloc(size?size:1)

 Perl_safesysmalloc(size = 4U), line 92 in "util.c"

我在这台机器上使用 gcc 构建了 Perl 5.10 版本。如果您需要任何其他信息,请告诉我。

I am getting a core dump when I use the Cmenu module on Solaris 8. The script works fine on Solaris 10. Could somebody please suggest a possible workaround for this? Using dbx shows the following:

terminated by signal SEGV (no mapping at the fault address)

Current function is Perl_safesysmalloc
92   Ptr = (Malloc_t)PerlMem_malloc(size?size:1)

 Perl_safesysmalloc(size = 4U), line 92 in "util.c"

I built version 5.10 of Perl using gcc on this machine. Please let me know if you have need any other information.

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

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

发布评论

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

评论(2

九厘米的零° 2024-10-14 16:38:33

这可能是模块上的错误。向作者发送错误报告!

...不过,最后一个版本是 2001 年发布的,可能不再维护了:-(

That's probably a bug on the module. Send a bug report to the author!

... though, the last release is from 2001, probably not being maintained anymore :-(

热血少△年 2024-10-14 16:38:33

Cmenu 是一个纯 Perl 模块,使用基于 C 库的 Curses.pm。因此最有可能发生核心转储的地方是 Curses.pm。尝试将其升级到最新版本。还可以尝试升级curses库。

如果这没有帮助,请尝试最小化您的程序以获得仍然会导致核心转储的最小程序。向 Cmenu 错误跟踪器报告。

Cmenu is a pure perl module that uses Curses.pm which is based on a C library. So mosts probable place for core dump is Curses.pm. Try upgrading it to latest version. Also try upgrading curses library.

If this does not help, try minimizing your program to get a minimal program that would still result a core dump. Report it to Cmenu bug tracker.

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