bugaevc / wl-clipboard

Command-line copy/paste utilities for Wayland
GNU General Public License v3.0
1.62k stars 59 forks source link

Gnome-shell crash #111

Closed azryelryvel closed 3 years ago

azryelryvel commented 3 years ago

Hi!

I've been using wl-copy for some times for managing my secrets and it worked perfectly, but since a few days, I have no idea why, calling wl-copy or wl-paste now completely crashes my gnome session on fedora 32. I'm not sure what you would need to diagnose this but gnome has conveniently prepared a report, so here it is : crash.zip I know this is really vague, so if you need any more information, feel free to ask me. Thank you !

bugaevc commented 3 years ago

Hi!

If it's GNOME Shell crashing, you should report it to them, not me. Whatever it is that wl-clipboard is doing, it should not cause the Shell to crash.

azryelryvel commented 3 years ago

I sent the report, but I had some hope you could do something about it. But if you say you can't I guess I'll try to think outside the box because I'm not sure my little report will trigger anything and I can't reinstall my system. Thank you anyway for your tool, it was very good while it worked with my system! =)

bugaevc commented 3 years ago

I don't just mean sending an automated report to RedHat Bugzilla with ABRT.

You should file an actual bug report over at https://gitlab.gnome.org/GNOME/mutter/-/issues, and attach the same crash info there. When you do, please post the URL here so that I can track it too :slightly_smiling_face:

azryelryvel commented 3 years ago

Here is the link https://gitlab.gnome.org/GNOME/mutter/-/issues/1690 Hoping this is enough I'm just a regular linux user with no gnome or wayland inner working knowledge, i don't even know what mutter is

bugaevc commented 3 years ago

Thanks!

Mutter is the Wayland compositor used by GNOME Shell — so it's the thing that actually deals with Wayland, whereas GNOME Shell itself provides the pretty UI on top.

azryelryvel commented 3 years ago

They asked me to enable debug symbols, do you have an idea on how to do that on wl-clipboard ? Thank you!

bugaevc commented 3 years ago

They want debug symbols for GNOME Shell / Mutter, not for wl-clipboard, as it's Mutter that's crashing.

To install debug symbols for Mutter, just run sudo dnf debuginfo-install mutter. Then once you have the symbols, run coredumpctl gdb /usr/bin/gnome-shell; that should open GDB (the GNU debugger) exploring the latest crash of GNOME Shell. Type in bt full, that should output a huge backtrace with symbols and all the variable values (GDB will probably ask you if you want to continue — press c to continue). Then just copy & paste all that backtrace info from your terminal, hopefully it'll help Mutter developers diagnose why it's crashing.