Created attachment 4495 GDB stachtrace Various power events cause xfce4-power-manager to sometimes crash - sometimes closing the lid of the notebook, sometimes the plugging in/out the power chord.
One interesting thing to note is that I've set the profiles to "When laptop lid is closed" to "Lock screen". The crashes seem to start only after I close the laptop lid and open it again. I didn't experience this behavior when the profile was set to hibernate/standby when closing the laptop lid.
Created attachment 4539 gdb stacktrace with en_GB.UTF-8 I can confirm this bug, with a nearly identical stack trace. In my case, xfce4-power-manager crashed every single time I suspended or resumed, or plugged or unplugged AC, with this in dmesg: [ 118.611049] xfce4-power-man[2334]: segfault at 56 ip 00007f509871570e sp 00007fff38c62450 error 4 in libc-2.15.so[7f50986ce000+1a1000] I googled around a bit and found some hints that it might be translation related, such as this Arch Linux bug report: https://bugs.archlinux.org/task/29592 So I tried switching my system locale from en_GB.UTF-8 to en_US.UTF-8 and the crashes have stopped completely since then. As a workaround I now start xfce4-power-manager from a shell script on session start, which first exports LANG="en_US.UTF-8" before starting the power manager.
Created attachment 4638 Fix en_GB po file to stop crashes on certain notification events Inspired by a similar patch to the French translations [1][2] this patch fixes the notification event crashes seen when locale is en_GB [1] http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=634c5c016d3b6e152e20173263790a3bfbbe0640 [2] https://bugs.archlinux.org/task/29294
Created attachment 4639 Same patch, fixed Found a problem in the patch submitted by smoothhound@gmail.com. Corrected.
FWIW, po/te.po and po/tr.po have similar issues in 1.2.0.
(In reply to comment #3) > Created attachment 4638 > Fix en_GB po file to stop crashes on certain notification events Applied in git master 964cba9..4a487de
(In reply to comment #4) > Created attachment 4639 > Same patch, fixed Applied in git xfce-4.10 964cba9..4a487de
(In reply to comment #5) > FWIW, po/te.po and po/tr.po have similar issues in 1.2.0. Fixed for both languages in xfce-4.10 branch te.po dd1aa28..ef5c024 tr.po df31407..519e06c (on string marked as fuzzy)