xfce4-power-manager sometimes segfaults for me, possibly after suspend/resume. I filed an extensive bugreport against openSUSE Factory in the novell bugzilla here: https://bugzilla.novell.com/show_bug.cgi?id=707127 It contains gdb backtraces, valgrind logs and all the debugging information i could get and considered useful. (If you deem it better to copy and paste everything from the openSUSE bug over here, I can do that, too). Note that openSUSE Factory is running with the MALLOC_CHECK_=2 debugging option which might make this bug crash on my machine whereas on other machines it might simply continue with bogus data insead of crashing. Best regards
oops, I should probably have searched first :-( could be a duplicate of https://bugzilla.xfce.org/show_bug.cgi?id=7264
Created attachment 3912 prevent xfpm_battery_notify_idle() being called on a battery that has been removed Attached patch with a workaround by Takashi Iwai: > In the recent kernels, the battery sysfs entry is once removed and > re-added at each time upon suspend/resume (don't ask me why). This > will trigger udev, and xfm-pm would react to delete and add the object > accordingly. Meanwhile, it calls the notification via X idle > mechanism, so the crashing path might be called after removing the > battery device. >· > If this is the case, a workaround would be to cancel the pending > idle call via g_idle_remove_by_data() in xfpm_battery_finalize().
*** Bug 7264 has been marked as a duplicate of this bug. ***
The patch is not applied to 1.0.11, could it be included in 1.0.12?
Adding Nick on CC: so he can see the patch.
Fixed in eeab7c3. I prefer storing the source id.