Open gnolooo opened 1 year ago
I have the same problem. I'm using Fedora 38, Gnome 44.3, Wayland
@gnolooo would you mind enabling debug logging and getting me the log output?
dconf write /org/gnome/shell/extensions/smart-auto-move/debug-logging true
@khimaros the fact is I can't reproduce it. Sometimes it happens, sometimes not.
Can I enable debug logging now and keep it enabled until the next time the bug appears?
Also, where do I find that log output?
Edit: ok apparently I found a way to reproduce it:
I just need to know where to find the log file.
i've now upgraded to gnome-shell 44.3 and have not had a crash yet.
if this is specific to multi-monitor setup, it's possible that it is related to https://github.com/khimaros/smart-auto-move/issues/43
Well, it may be related to #43, the thing is:
Also, I'm now on gnome-shell 44.4 and I faced this bug in every single shell version (44.x).
Given that I can now reproduce the bug, best thing would be to check the logs, if you can tell me where to search for them I'll send them.
@gnolooo you can get the log messages from gnome-shell with journalctl -f /usr/bin/gnome-shell
if there is nothing of interest there, you can enable debug logging from the smart-auto-move extension settings and then try again.
I already enabled it, my question was just where do I find those logs. Log file? Journalctl? Other? Anyway, will report journalctl output too.
Edit: ok, I've got an output, but it's full of lines containing details about every single window I've opened since the beginning. Not to sound silly, but that's a bit into the privacy zone. Would you accept log without those lines? Otherwise I'll post them too anyway without any major problem.
Down here you'll find the output of smart-auto-move
related logs from journalctl, without those privacy windows.
Complete command: journalctl --since "2023-08-25 18:40:00" | grep smart-auto-move | grep -vi savedwindows
.
Whole gnome-shell
related logs output is too long to be read but if you need it I'll send you that too.
I did the whole bug triggering process 3 times to be sure, before taking logs.
without save windows is fine. i'm curious if the crash produces a backtrace in gnome-shell. those lines may not contain the string smart-auto-move. see the journalctl command i provided in my previous comment.
Ok then, here's the complete log. As I said, it's very long. Hoping it will be helpful.
O.T.: is there a rapid way to delete all the saved windows at once without deleting them one by one?
@gnolooo this should work for clearing your saved windows:
gnome-extensions disable smart-auto-move@khimaros.com
dconf write /org/gnome/shell/extensions/smart-auto-move/saved-windows '{}'
gnome-extensions enable smart-auto-move@khimaros.com
I'm sorry, but since then I've not used this extension anymore. Do you need a bit more testing? I can provide if you want. I don't want to leave this issue unresolved after 1 year, but as I said I've not used it in months.
dconf write /org/gnome/shell/extensions/smart-auto-move/saved-windows '{}'
gives me
dconf write /org/gnome/shell/extensions/smart-auto-move/saved-windows {}
error: 0-2:unable to infer type
Usage:
dconf write KEY VALUE
Write a new value to a key
Arguments:
KEY A key path (starting, but not ending with '/')
VALUE The value to write (in GVariant format)
Working:
dconf write /org/gnome/shell/extensions/smart-auto-move/saved-windows "@a{sv} {}"
Hi, I'm on Arch Linux, Gnome 44.1, Wayland. When smart auto move is used by an application, the whole Gnome shell crashes and the user session ends. I have no idea what causes this. I tried reporting the output of
journalctl
, hoping it's useful.Output of journalctl
``` gnolooo@lenovo ~ >>> journalctl -b | grep smart-auto-move mag 19 10:33:29 lenovo gnome-shell[1278]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 10:33:29 lenovo gnome-shell[1278]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 10:33:34 lenovo gnome-shell[1278]: #0 558544960f50 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:262 (717f1958fb0 @ 28) mag 19 10:33:34 lenovo gnome-shell[1278]: #1 558544960e68 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:312 (717f1969060 @ 850) mag 19 10:33:34 lenovo gnome-shell[1278]: #2 558544960dd8 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:359 (717f1969290 @ 74) mag 19 10:33:34 lenovo gnome-shell[1278]: #4 7ffeda0c9740 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:354 (717f1969240 @ 41) mag 19 10:33:34 lenovo gnome-shell[1278]: #5 7ffeda0c97f0 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:374 (717f1969330 @ 10) mag 19 10:33:57 lenovo gnome-shell[2602]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 10:33:57 lenovo gnome-shell[2602]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 10:33:59 lenovo gnome-shell[2602]: #0 55ab9f9ef830 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:262 (20730a9f9b00 @ 28) mag 19 10:33:59 lenovo gnome-shell[2602]: #1 55ab9f9ef748 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:312 (20730a9f9b50 @ 850) mag 19 10:33:59 lenovo gnome-shell[2602]: #2 55ab9f9ef6b8 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:359 (20730a9f9d80 @ 74) mag 19 10:33:59 lenovo gnome-shell[2602]: #4 7fffe7af0510 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:354 (20730a9f9d30 @ 41) mag 19 10:33:59 lenovo gnome-shell[2602]: #5 7fffe7af05c0 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:374 (20730a9f9e20 @ 10) mag 19 10:34:16 lenovo gnome-shell[4226]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 10:34:16 lenovo gnome-shell[4226]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 11:34:53 lenovo gnome-shell[4226]: #0 5648828fdae8 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:262 (b8ca92e5b00 @ 28) mag 19 11:34:53 lenovo gnome-shell[4226]: #1 7ffcdfc31e60 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:312 (b8ca92e5b50 @ 850) mag 19 11:34:53 lenovo gnome-shell[4226]: #2 7ffcdfc31f20 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:359 (b8ca92e5d80 @ 74) mag 19 11:34:53 lenovo gnome-shell[4226]: #4 7ffcdfc320f0 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:354 (b8ca92e5d30 @ 41) mag 19 11:34:53 lenovo gnome-shell[4226]: #5 7ffcdfc321a0 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:374 (b8ca92e5e20 @ 10) mag 19 11:35:03 lenovo gnome-shell[46443]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 11:35:03 lenovo gnome-shell[46443]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 11:35:27 lenovo gnome-shell[46443]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 11:35:27 lenovo gnome-shell[46443]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 11:35:29 lenovo gnome-shell[46443]: #0 55e39756c710 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:262 (3a98d9b57fb0 @ 28) mag 19 11:35:29 lenovo gnome-shell[46443]: #1 55e39756c628 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:312 (3a98d9b69060 @ 850) mag 19 11:35:29 lenovo gnome-shell[46443]: #2 55e39756c598 i /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:359 (3a98d9b69290 @ 74) mag 19 11:35:29 lenovo gnome-shell[46443]: #4 7fff5b273340 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:354 (3a98d9b69240 @ 41) mag 19 11:35:29 lenovo gnome-shell[46443]: #5 7fff5b2733f0 b /home/gnolooo/.local/share/gnome-shell/extensions/smart-auto-move@khimaros.com/extension.js:374 (3a98d9b69330 @ 10) mag 19 11:35:46 lenovo gnome-shell[48510]: [smart-auto-move] handleChangedDebugLogging(): false mag 19 11:35:46 lenovo gnome-shell[48510]: [smart-auto-move] handleChangedDebugLogging(): false ```