Re: QT program (dock) crashed after screen turn-off

Viet Dang <[email protected]> Mon, 2 Dec 2024 22:18:27 +0000
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <CAO-rTSE8ntOLtnwvebpOck34EOsi69SCr8teQPjgoCSHmP1_yg@mail.gmail.com>
--00000000000029b45a062850eec7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

So I've submitted a bug on both Qt and layer-shell-qt on this with a
minimal code example:
https://bugreports.qt.io/browse/QTBUG-131387
https://bugs.kde.org/show_bug.cgi?id=3D496963

Let me know if you (David / Aleix) want me to remove one of them.

Thanks,
Viet


On Fri, Nov 15, 2024 at 1:19=E2=80=AFAM Viet Dang <[email protected]> wrote:

> Thanks David.
>
> The weird thing is the dock did not crash, per se.
> Gdb said "process exited normally" and I did not get any core dump nor
> stack trace.
> It feels as if when the screen turned off, QScreen object got destroyed
> and the dock exited with it.
>
> Anyway I'll create an account on Qt bug report and post it there.
>
> Viet
>
>
> On Wed, Nov 13, 2024 at 11:18=E2=80=AFPM David Edmundson <
> [email protected]> wrote:
>
>> That code is doing what it says, which is not crashing. If you have a
>> crash, you have something else.
>> You need to get a backtrace. Please run it in gdb and reproduce.
>>
>> If you get that, lets see where the issue is. It will probably be Qt,
>> which will still be dealing with me, but lets move this to Qt's bug
>> tracker.
>>
>> David
>>
>

--00000000000029b45a062850eec7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<br><div><br></div><div>So I&#39;ve submitted a bug on =
both Qt and layer-shell-qt on this with a minimal code example:</div><div><=
a href=3D"https://bugreports.qt.io/browse/QTBUG-131387">https://bugreports.=
qt.io/browse/QTBUG-131387</a></div><div><a href=3D"https://bugs.kde.org/sho=
w_bug.cgi?id=3D496963">https://bugs.kde.org/show_bug.cgi?id=3D496963</a></d=
iv><div><br></div><div>Let me know if you (David / Aleix) want me to remove=
 one of them.</div><div><br></div><div>Thanks,</div><div>Viet</div><div><br=
></div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=
=3D"ltr" class=3D"gmail_attr">On Fri, Nov 15, 2024 at 1:19=E2=80=AFAM Viet =
Dang &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r">Thanks David.<br><div><br></div><div>The weird thing is the dock did not=
 crash, per se.=C2=A0</div><div>Gdb said &quot;process exited normally&quot=
; and I did not get any core dump nor stack trace.</div><div>It feels as if=
 when the screen turned off, QScreen object got destroyed and the dock exit=
ed with it.</div><div><br></div><div>Anyway I&#39;ll create an account on Q=
t bug report and post it there.</div><div><br></div><div>Viet</div><div><br=
></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Wed, Nov 13, 2024 at 11:18=E2=80=AFPM David Edmundson &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">david@davidedmunds=
on.co.uk</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">That code is doing what it says, which is not crashing. If you have=
 a<br>
crash, you have something else.<br>
You need to get a backtrace. Please run it in gdb and reproduce.<br>
<br>
If you get that, lets see where the issue is. It will probably be Qt,<br>
which will still be dealing with me, but lets move this to Qt&#39;s bug<br>
tracker.<br>
<br>
David<br>
</blockquote></div>
</blockquote></div>

--00000000000029b45a062850eec7--