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

Ramakanth Kesireddy rama.kesi at gmail.com
Sat Aug 5 09:25:59 CEST 2023


Thanks for the feedback.

Not sure yet but am able to get application stack traces on pure c++
application but not Qt though.


On Fri, Aug 4, 2023 at 1:03 AM Thiago Macieira <thiago.macieira at intel.com>
wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230805/bdcdecf0/attachment.htm>


More information about the Interest mailing list