Debugging weston-launch
Pekka Paalanen
ppaalanen at gmail.com
Tue Jan 24 11:38:27 UTC 2023
On Thu, 19 Jan 2023 13:40:47 +0000
Edgar Mobile <heideggm at hotmail.com> wrote:
> I have to debug an Aarch64 based Linux system where weston-launch gets stuck in the main loop poll:
>
> https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/weston-launch.c#L905
> [https://gitlab.freedesktop.org/assets/twitter_card-570ddb06edf56a2312253c5872489847a0f385112ddbcd71ccfa1570febab5d2.jpg]<https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/weston-launch.c#L905>
> libweston/weston-launch.c · master · wayland / weston · GitLab<https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/weston-launch.c#L905>
> A lightweight and functional Wayland compositor. Switch branch/tag. weston libweston; weston-launch.c
> gitlab.freedesktop.org
> Can someone tell me how to start debugging this?
Hi,
it's normal that weston-launch sleeps in poll(). What makes you think
it's stuck? Has it not launched a Weston process?
If a Weston process exists, maybe it's Weston malfunctioning and not
weston-launch. Mind, that printing to the VT stops working when
Weston/DRM starts, but Weston is still printing. You might get more out
of it by redirecting stdout and stderr to a file.
FWIW, weston-launch no longer exists upstream. That use case is now
catered by libseat and seatd.
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230124/dbcf8f73/attachment.sig>
More information about the wayland-devel
mailing list