[Interest] Application stack traces are not seen using Massif with Qt debug symbols
Ramakanth Kesireddy
rama.kesi at gmail.com
Tue Jul 25 19:38:28 CEST 2023
Hi,
Am running Qt 5.15.8 debug version on desktop linux.
Below are steps used to enable application stack traces using massif and Qt
5.15.8.
1)Building Qt 5.15.8 in Debug Mode with below configure line:
./configure -commercial -confirm-license -debug -prefix
/home/install/qt5.15.8 -bundled-xcb-xinput -skip qt3d -skip qtactiveqt
-skip qtandroidextras -skip qtcanvas3d -skip qtconnectivity \
-skip qtlocation -skip qtlottie -skip qtpurchasing -skip qtscxml -skip
qtspeech -skip qtmultimedia -skip qtscript -skip qtserialbus -skip
qtsensors -skip qtwebglplugin -skip qtdatavis3d \
-skip qtgamepad -skip qtquick3d -skip qtquicktimeline -skip qtwayland -skip
qtwebsockets -skip qtwebview -skip qtwebengine -skip qtwebchannel -skip
qtwinextras \
-skip qtx11extras -skip qtmacextras -skip qtxmlpatterns -skip qtsvg -nomake
tools -nomake tests -nomake examples -no-compile-examples -reduce-exports
-no-use-gold-linker -no-iconv -no-harfbuzz \
-skip qtandroidextras -skip qtnetworkauth -no-dbus -no-openssl -no-pch
-no-zlib -qt-libjpeg -qt-libpng -system-sqlite -v
2)Building Application in Debug Mode by adding below in .pro:
CONFIG += debug
QMAKE_CXXFLAGS_DEBUG += -g
3)Generated Massif Output File with valgrind --tool=massif --stacks=yes
<application_program>
4)ms_print massif.out.<PID> > massif_report.txt
In the massif_report.txt, no application stack traces are seen.
Please let me know if am missing anything in this regard.
Best Regards,
Ramakanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230725/77fcb636/attachment.htm>
More information about the Interest
mailing list