[Interest] Application stack traces are not seen using Massif with Qt debug symbols

Thiago Macieira thiago.macieira at intel.com
Thu Aug 3 21:32:54 CEST 2023


On Thursday, 3 August 2023 09:21:26 PDT Ramakanth Kesireddy wrote:
> Thanks for the inputs. It helped to resolve the issue. Hope these asserts
> are enabled only in Qt debug build as app is able to run fine on Qt 5.15.8
> enterprise installer version.

Internal assertions are only enabled in debug builds.

In release builds, they are simply assumed. You must still obey them, whether 
they got printed or not. So, no, your app is *not* able to run fine. It still 
has a race condition that only happened to cause no visible effect for you 
(yet).

> However, the application stack traces are not seen when used with massif
> tool even after enabling config+=debug and QMAKE_CXXFLAGS_DEBUG += -g.
> 
> Am I missing something so that application debug symbols are being read and
> shown as stack trace on exit of application?

Sorry, that's a Massif question now.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230803/8ad38d3a/attachment.bin>


More information about the Interest mailing list