Summary: | Apparent infinite loop calling the GLib g_get_user_special_dir() function | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Daniel Trebbien <dtrebbien> |
Component: | general | Assignee: | Rhys Kidd <rhyskidd> |
Status: | REPORTED --- | ||
Severity: | major | CC: | chris, dtrebbien, ludo.visser, rhyskidd, seyed.m.mousavi |
Priority: | NOR | ||
Version: | 3.10.0 | ||
Target Milestone: | --- | ||
Platform: | Homebrew (macOS) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Trebbien
2015-11-30 17:44:52 UTC
I have just tried out Valgrind at revision 15740 (valgrind-3.12.0.SVN) and see the issue. I came here because I was seeing a similar issue on my machine. However, I cannot reproduce the result with your example program. I get the following output: ``` ... ==47690== --47690-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option --47690-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times) --47690-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times) --47690-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times) --47690-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 16 times) ==47690== ==47690== HEAP SUMMARY: ==47690== in use at exit: 762,521 bytes in 1,079 blocks ==47690== total heap usage: 2,024 allocs, 945 frees, 1,391,817 bytes allocated ==47690== ==47690== LEAK SUMMARY: ==47690== definitely lost: 6,808 bytes in 44 blocks ==47690== indirectly lost: 8,910 bytes in 74 blocks ==47690== possibly lost: 5,944 bytes in 126 blocks ==47690== still reachable: 95,268 bytes in 476 blocks ==47690== suppressed: 645,591 bytes in 359 blocks ==47690== Rerun with --leak-check=full to see details of leaked memory ==47690== ==47690== For counts of detected and suppressed errors, rerun with: -v ==47690== Use --track-origins=yes to see where uninitialised values come from ==47690== ERROR SUMMARY: 20 errors from 4 contexts (suppressed: 2 from 1) ``` I use MacPorts. Valgrind version is valgrind-devel @3.12.0-r15708_0 (I have applied a small patch to set the magic_delta correct for El Capitan, see here: https://bugs.kde.org/show_bug.cgi?id=354883). Me too. You can test this on a simple default QtQuick Application on Qt framework. Platform specifications: Mac OS 10.11.3 - Valgrind 3.11.0 - Qt 5.6.0 I get this hang as well, using 3.13.0SVN and El Capitan 10.11.6. I tested with d2x-rebirth using: valgrind --leak-check=yes /Users/XXXXX/Programming/dxx-rebirth/build/d2x-rebirth-opengl/D2X-Rebirth.app/Contents/MacOS/d2x-rebirth-editor |