Open ilya-fedin opened 2 years ago
@ilya-fedin please give #385 a shot, it might or might not help. Actually I don't really think it should do much, unless the default display changes on us somehow -- or maybe I'm missing something regarding how the events are fiddled with. Anyhow, it tries and sanitize on which display errors are trapped, so it could help. It also fixes a unpaired trap/untrap pair, so maybe that helps as well.
Anyhow if that's not enough, we're gonna need a better backtrace (with debugging symbols & all).
I applied the patch, will see how it goes :)
@ilya-fedin any news on this?
Expected behaviour
No crash
Actual behaviour
I have such lines in journalctl
And such a backtrace:
It seems there's some bug in Qt and any clipboard operation can trigger mate-settings-daemon's crash. I believe m-s-d should be able to better handle this.
Here's the code that prints the warning on Qt side: https://github.com/qt/qtbase/blob/v5.15.3-lts-lgpl/src/plugins/platforms/xcb/qxcbclipboard.cpp#L268
Steps to reproduce the behaviour
Just using any Qt application that means frequent clipboard operations apparently (e.g. a messenger like Telegram or NeoChat)
MATE general version
1.26.0
Package version
1.26.0
Linux Distribution
NixOS
Link to bugreport of your Distribution (requirement)
None