Unknown error when using Valgrind tool in Qt Creator
-
Hello!
I am trying to get Valgrind to work with Qt and have come upon this error. I believe it has to do with the location of the Valgrind executable that is requested on the Analyzer tab of
"Qt Creator->Preferences->Analyzer Tab" but I'm not sure. Here is the error:Analyzing memory of /Users/myName/Desktop/build-my_app-Desktop_Qt_5_5_1_clang_64bit-Debug/my_app.app/Contents/MacOS/my_app
<frame>
<ip>0x104307302</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>dispatch_once_f</fn>
</frame>
<frame>
<ip>0x1044B5AC3</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>si_module_static_ds</fn>
</frame>
<frame>
<ip>0x1044B553B</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>si_module_with_name</fn>
</frame>
<frame>
<ip>0x1044B599F</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>si_module_config_modules_for_category</fn>
</frame>
<frame>
<ip>0x1044B5694</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>__si_module_static_search_block_invoke</fn>
</frame>
<frame>
<ip>0x10430740A</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>_dispatch_client_callout</fn>
</frame>
<frame>
<ip>0x104307302</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>dispatch_once_f</fn>
</frame>
<frame>
<ip>0x1044B563B</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>si_module_static_search</fn>
</frame>
<frame>
<ip>0x1044B553B</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>si_module_with_name</fn>
</frame>
<frame>
<ip>0x1044B54B9</ip>
<obj>/usr/lib/system/libsystem_info.dylib</obj>
<fn>getpwuid</fn>
</frame>
<frame>
<ip>0x1029BB37B</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>CFCopyHomeDirectoryURLForUser</fn>
</frame>
<frame>
<ip>0x1029BB143</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>__71+[CFPrefsSource withSourceForIdentifier:user:byHost:container:perform:]_block_invoke63</fn>
</frame>
<frame>
<ip>0x1029BA3E9</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>+[CFPrefsSource withSourceForIdentifier:user:byHost:container:perform:]</fn>
</frame>
<frame>
<ip>0x1029BA00F</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>-[CFPrefsSearchListSource addSourceForIdentifier:user:byHost:container:]</fn>
</frame>
<frame>
<ip>0x1029B3EA9</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>__73+[CFPrefsSearchListSource withSearchListForIdentifier:container:perform:]_block_invoke</fn>
</frame>
<frame>
<ip>0x1029B3AF2</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>+[CFPrefsSearchListSource withSearchListForIdentifier:container:perform:]</fn>
</frame>
<frame>
<ip>0x1029B3866</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>_CFPreferencesCopyAppValueWithContainer</fn>
</frame>
<frame>
<ip>0x1029D38C2</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>___CFBundleCopyUserLanguages_block_invoke</fn>
</frame>
<frame>
<ip>0x10430740A</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>_dispatch_client_callout</fn>
</frame>
<frame>
<ip>0x104307302</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>dispatch_once_f</fn>
</frame>
<frame>
<ip>0x1029D2E2A</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>_CFBundleCopyLanguageSearchListInBundle</fn>
</frame>
<frame>
<ip>0x1029D2A82</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>_copyQueryTable</fn>
</frame>
<frame>
<ip>0x1029D2371</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>_copyResourceURLsFromBundle</fn>
</frame>
<frame>
<ip>0x1029D18C5</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>_CFBundleCopyFindResources</fn>
</frame>
<frame>
<ip>0x1029D13FF</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>CFBundleCopyResourceURL</fn>
</frame>
<frame>
<ip>0x1029D12A2</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>CFBundleGetLocalInfoDictionary</fn>
</frame>
<frame>
<ip>0x1029E92B0</ip>
<obj>/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation</obj>
<fn>CFBundleGetValueForInfoDictionaryKey</fn>
</frame>
<frame>
<ip>0x100ECB88B</ip>
<obj>/Users/myName/Qt/5.5/clang_64/lib/QtCore.framework/Versions/5/QtCore</obj>
<fn>QCoreApplicationPrivate::macMenuBarName()</fn>
</frame>
<frame>
<ip>0x100ECB957</ip>
<obj>/Users/myName/Qt/5.5/clang_64/lib/QtCore.framework/Versions/5/QtCore</obj>
<fn>QCoreApplicationPrivate::appName() const</fn>
</frame>
<frame>
<ip>0x100ECD47D</ip>
<obj>/Users/myName/Qt/5.5/clang_64/lib/QtCore.framework/Versions/5/QtCore</obj>
<fn>QCoreApplication::init()</fn>
</frame>
<frame>
<ip>0x100ECD406</ip>
<obj>/Users/myName/Qt/5.5/clang_64/lib/QtCore.framework/Versions/5/QtCore</obj>
<fn>QCoreApplication::QCoreApplication(QCoreApplicationPrivate&)</fn>
</frame>
<frame>
<ip>0x10073A9ED</ip>
<obj>/Users/myName/Qt/5.5/clang_64/lib/QtGui.framework/Versions/5/QtGui</obj>
<fn>QGuiApplication::QGuiApplication(QGuiApplicationPrivate&)</fn>
</frame>
<frame>
<ip>0x100073B6D</ip>
<obj>/Users/myName/Qt/5.5/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets</obj>
<fn>QApplication::QApplication(int&, char**, int)</fn>
</frame>
<frame>
<ip>0x1000031CB</ip>
<obj>/Users/myName/Desktop/build-my_app-Desktop_Qt_5_5_1_clang_64bit-Debug/my_app.app/Contents/MacOS/my_app</obj>
<fn>main</fn>
<dir>/Users/myName/Desktop/build-my_app-Desktop_Qt_5_5_1_clang_64bit-Debug/../my_app</dir>
<file>main.cpp</file>
<line>6</line>
</frame>
</stack>
<stack>
<frame>
<ip>0x10430D0BA</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>_dispatch_mgr_invoke</fn>
</frame>
<frame>
<ip>0x10430CDCC</ip>
<obj>/usr/lib/system/libdispatch.dylib</obj>
<fn>_dispatch_mgr_thread</fn>
</frame>
</stack>
<stack>
<frame>
<ip>0x10450A5E2</ip>
<obj>/usr/lib/system/libsystem_kernel.dylib</obj>
<fn>__workq_kernreturn</fn>
</frame>
<frame>
<ip>0x70014</ip>
</frame>
<frame>
<ip>0x2</ip>
</frame>
<frame>
<ip>0x700000398047</ip>
</frame>
<frame>
<ip>0x227</ip>
</frame>
</stack>
Analyzing finished.
** Unknown error **