Bug 8381 - Resizing window during startup can cause hangup
Summary: Resizing window during startup can cause hangup
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Desktop environment (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 12:09 CEST by Adam Halim
Modified: 2024-08-01 13:42 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments
Screenshot of blank screen (4.49 KB, image/png)
2024-07-24 14:59 CEST, Adam Halim
Details

Description Adam Halim cendio 2024-07-08 12:09:17 CEST
* Build 4.17.0rc1
* Ubuntu 24.04 Server (ubuntu-desktop)
* rpi 5 raspbian 12 / Fedora 39 client.

When resizing the client (both native and web) just as a session is started
(after clicking on Start), the screen will freeze and the session will be
unusable. Reconnecting to the session (even using a different client) just
gives a blank screen. I could not find any errors in xinit.log or our
server/agent logs. I tried commenting out tl-startup-bg to see if it had any
effect, but it did nothing. This bug is difficult to reproduce consistently, and I
was unable to reproduce this on a RHEL 9 machine running GNOME, or on Ubuntu 24.04
running MATE.

I was able to consistently reproduce the bug on Ubuntu 24.04 GNOME by resizing the screen multiple times quickly after starting the sesssion.

I found this in the journal which might be relevant (probably a side-effect):
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: Xlib:  extension "DPMS" missing on display ":10".
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: invalid (NULL) pointer instance
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: invalid (NULL) pointer instance
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: st_adjustment_get_values: assertion 'ST_IS_ADJUSTMENT (adjustment)' failed
> Jul 08 07:17:56 ubuntu2404 gnome-shell[54349]: st_adjustment_get_values: assertion 'ST_IS_ADJUSTMENT (adjustment)' failed
Comment 1 Adam Halim cendio 2024-07-09 12:04:06 CEST
This happens on 4.16.0 as well.
Comment 2 Adam Halim cendio 2024-07-24 14:59:45 CEST
Created attachment 1219 [details]
Screenshot of blank screen

* Ubuntu 24.04 ran GNOME Shell 46.0

Could confirm that this is not a VNC bug, I ran
> gnome-screenshot --display=:10
and could see that the screenshot was blank as well.

Re-sizing the window from the client does trigger a size refresh, but the screen is still just blank.
Comment 3 Adam Halim cendio 2024-07-24 15:54:25 CEST
I was unable to trigger this on Fedora 40 either, which runs GNOME Shell 46.3.1.
Comment 4 Pierre Ossman cendio 2024-07-30 13:13:04 CEST
Let's wait and see how much this happens in practice. Sounds like a GNOME issue, so hopefully they'll resolve it in their end.
Comment 5 Adam Halim cendio 2024-08-01 13:42:30 CEST
When this hang up occurs, I could start xterm on the display, which fixed the session. I was able to use it as normal after that.

Note You need to log in before you can comment on or make changes to this bug.