Public bug reported: I need help with capturing a gdb backtrace because when you switch themes all the windows become unresponsive meaning I can not click into the terminal to type "bt full"
steps to reproduce this bug is self explained be running Xubuntu or XFCE Session open a terminal and do "sudo gtk-theme-switch2" pick any theme you like apport will complain that xfwm4 has crashed how to try with gdb.... open up a terminal and do ps aux | grep xfwm4 to get the full command with all the args including the display number and a unique id so take the command and copy it into the clipboard now to prevent xfwm4 from restarting go into xubuntu settings under session and startup head over to the session tab and you should see a PID number of the running xfwm4 which you copied the command from change the restart style to "NONE" do not panic this is only a temp change when you restart your PC it will reset back to default setting next have a terminal window open standing by with $ gdb xfwm4 and press enter in a 2nd terminal kill the PID of the running xfwm4 now at the (gdb) prompt in the 1st terminal just type r and press enter the window manager should be running now try and reproduce the bug and when it segfaults you should be back at a (gdb) prompt this is where I get stuck ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: gtk-theme-switch 2.1.0-5 ProcVersionSignature: Ubuntu 3.19.0-28.30~14.04.1-generic 3.19.8-ckt5 Uname: Linux 3.19.0-28-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.19.2-0ubuntu8 Architecture: amd64 Date: Thu Dec 3 22:02:06 2015 SourcePackage: gtk-theme-switch UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gtk-theme-switch (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522689 Title: xfwm4 segfaults when switching themes as root user To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk-theme-switch/+bug/1522689/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs