Debug assert in Qt in Qt/KDE runtime

Aleix Pol aleixpol at kde.org
Tue Nov 27 15:50:00 UTC 2018


On Mon, Nov 26, 2018 at 5:24 PM Michael Thayer <michael.thayer at oracle.com>
wrote:

> 26.11.18 16:39, Aleix Pol wrote:
> > On Thu, Nov 22, 2018 at 11:49 AM Michael Thayer
> > <michael.thayer at oracle.com> wrote:
> >> 16.11.18 15:43, Aleix Pol wrote:
> >>> On Fri, Nov 16, 2018 at 9:55 AM Michael Thayer
> >>> <michael.thayer at oracle.com> wrote:
> >>>> Hoping that someone involved with the Qt/KDE runtime follows this
> list.
> >>>>  I hit the following debug assertion with VirtualBox and the Qt 5.11
> in
> >>>> the runtime:
> >>>>
> >>>> Qt FATAL: ASSERT failure in QCoreApplication::sendEvent: "Cannot send
> >>>> events to objects owned by a different thread..."
> >>>>
> >>>> Good to know of course, and we should fix it, but should Qt be build
> >>>> with debug assertions enabled?
> >>>
> >>> Maybe we shouldn't. The idea is to still ease the debugging of
> >>> applications built for flatpak.
> >>> What do we do for other runtimes?
> >> Hello Aleix,
> >>
> >> No one seems to want to answer here.  I assume that having a separate
> >> debug runtime is not realistic, so perhaps it would make sense to
> >> disable the debug assertions?
> >
> > Agreed, I'll see to it this week.
> >
> > Aleix
>
> Great, thanks!

Hi Michael,
I've been looking deeper into it and we are already building without
asserts (i.e. with DQT_NO_DEBUG).
https://flathub.org/builds/#/builders/38/builds/548/steps/5/logs/stdio

Can you make sure that so is your virtualbox build?
Do you have the recipes available?

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20181127/01d726cc/attachment.html>


More information about the Flatpak mailing list