Qt 4.6.2 和 RHEL 5 的 Valgrind 抑制文件

发布于 2024-08-29 20:29:45 字数 195 浏览 3 评论 0原文

我正在尝试使用 Qt 4.6.2 在 RHEL 5.5 上运行 Valgrind 3.5.0。它会产生大量虚假错误,我想知道是否有人可以共享他们构建的抑制文件?当使用 --leak-check=full 时,输出会报告 glib、gtk、pango 等中的泄漏,即使我只是运行 AddressBook 示例的第 7 部分。超过 25000 行时,真正的内存泄漏在噪音中消失了。

I'm trying to run Valgrind 3.5.0 on RHEL 5.5 with Qt 4.6.2. It's producing loads of spurious errors and I'm wondering if anyone can share a suppressions file they've built? When using --leak-check=full, the output reports leaks in glib, gtk, pango etc. even when I'm just running part7 of the AddressBook example. With over 25000 lines the real memory leaks are lost in the noise.

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

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

发布评论

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

评论(2

顾冷 2024-09-05 20:29:45

这个很棒的 Valgrind 抑制文件指南 帮助我快速生成抑制文件。

This awesome Valgrind Suppression File Howto helped me in generating a suppression file quickly.

荒路情人 2024-09-05 20:29:45

我没有任何带有这些库的抑制文件,但我建议您在启用 --gen-suppressions=all 的情况下运行一个简单的测试(例如单元测试),然后将其添加到您的运行中。

I have not any suppression file with these libraries, but I suggest you to run a light test (unit test for example) with --gen-suppressions=all enabled, and then add-it to your run.

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