Qt 4.6.2 和 RHEL 5 的 Valgrind 抑制文件
我正在尝试使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这个很棒的 Valgrind 抑制文件指南 帮助我快速生成抑制文件。
This awesome Valgrind Suppression File Howto helped me in generating a suppression file quickly.
我没有任何带有这些库的抑制文件,但我建议您在启用
--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.