Ok, actually that's not needed...
Just use this: sudo gdb -p $(pidof gnome-shell) -batch \ -ex "set logging on" -ex continue \ -ex "bt full" -ex "call gjs_dumpstack()" \ -ex quit
This could be run from your session too and should not freeze anything.
When you get a crash, just attach here the gdb.txt file that this should generate (saved in the directory where you launch this script from) and the content of
journalctl /usr/bin/gnome-shell
Ok, actually that's not needed...
Just use this:
sudo gdb -p $(pidof gnome-shell) -batch \
-ex "set logging on" -ex continue \
-ex "bt full" -ex "call gjs_dumpstack()" \
-ex quit
This could be run from your session too and should not freeze anything.
When you get a crash, just attach here the gdb.txt file that this should generate (saved in the directory where you launch this script from) and the content of
journalctl /usr/bin/ gnome-shell