QT4 Tray application and CPU load in 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-panel (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04 LTS
Session: gnome-flashback
Tested with: gnome-panel: 3.26.0-1ubuntu5 / 3.28.0-1ubuntu1 (cosmic)
We recognized a steady CPU load of about 2% when starting our QT4 tray application. To eliminate any issues in our application, we created a minimal python qt4 tray app (attached).
As soon as this app is started, the gnome-panel process gets a CPU load of about 2%.
When stracing the gnome-panel, we recognize a repeating log pattern:
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=
writev(3, [{iov_base=
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}], 3, 13) = 0 (Timeout)
poll([{fd=3, events=
writev(3, [{iov_base="5 \4\0g\26 \0\3\0 \0\26\0\
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=
writev(3, [{iov_base=
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}], 3, 13) = 0 (Timeout)
poll([{fd=3, events=
writev(3, [{iov_base="5 \4\0j\26 \0\3\0 \0\26\0\
recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=3, events=
The trayapp is doing nothing. Can anybody explain how to stop this behaviour in gnome-panel? Thanks!
Changed in gnome-panel (Ubuntu): | |
status: | Invalid → Incomplete |
Qt 4 is no longer supported. Does it happen with Qt 5?