[Wayland1.5]CPU occupancy rate of Weston is 99%

Pekka Paalanen ppaalanen at gmail.com
Thu Oct 1 03:31:09 PDT 2015


On Thu, 1 Oct 2015 08:54:47 +0000
Yang Andy <williamyang13 at hotmail.com> wrote:

> Hi everyone
> When i run QT-Application on wayland/weston,sometimes there is NG
> issue that CPU occupancy rate of Weston is 99%. The probability of
> this NG issue is very low,but if the NG issue occur,CPU occupancy
> rate of Weston retains 99%. Could anyone give me some advice on how
> to track the NG issue of weston? And what factors could cause this
> issue? Best regards. Andy

Hi,

you need to find out where Weston is spinning when it happens. Use gdb
to interrupt Weston several times and note the stack trace, or use a
profiling tool with stack traces.

List corruption often results in an endless loop in wl_list_for_each
etc.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151001/fa1ef75b/attachment.sig>


More information about the wayland-devel mailing list