Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在尝试将我们的应用程序从 HP 机器移植到 AIX 机器。
它在 HP 机器上运行良好,但现在它在 malloc_y 函数中失败了。但我们找不到任何线索。
谁在调用这个 malloc_y 函数?
我相信 AIX 上的 malloc 只是底层实现是 malloc_y 的公共接口。为了回答您的问题,malloc 正在调用 malloc_y。您可能想知道的是为什么它是核心转储(只是预感)。我会把钱花在双重免费上,因为我不认为 AIX 上的 malloc 是线程安全的。我猜你的应用程序是多线程的。
祝你好运。特蕾西。