Created attachment 8203 possible-fix.patch The attached patch stops the crashes for me (on lid close), Paul can you give it a try?
Explanation: Pixbufs for backdrops are loaded asynchronously, for some reason when the signal "size-prepared"is fired the backdrop may be still invalid, but later another signal will be fired and it will be valid, but it now it's too late because on first try the data has been released. This patch skips data clean-up on cases the backdrop is invalid. I also included a couple of prints just to be check if it behaves as expected (invalid -> valid -> unref). I'm just not sure if this is a proper fix, maybe the moment that signal is fired changed between gtk2/gtk3, no idea. Another interesting thing I found is that the backdrop is reloaded when I close the lid, that happens due a callback to GdkScreen's "monitors-changed" signal, which is fired twice :/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1781298 Title: desktop app crashed when i switched inputs on my monitor away and back (possibly not the cause) To manage notifications about this bug go to: https://bugs.launchpad.net/xfdesktop/+bug/1781298/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
