ubuntu-bugcontrol team mailing list archive
-
ubuntu-bugcontrol team
-
Mailing list archive
-
Message #02798
[Bug 648414] Re: upowerd assert failure: *** glibc detected *** /usr/lib/upower/upowerd: double free or corruption (out): 0x00d13ec0 ***
This can be reproduced by editing
/usr/share/polkit-1/actions/org.freedesktop.upower.policy and damaging
the suspend privilege name, e. g.
<action id="org.freedesktop.upower.suspendx">
then the polkit call will throw an error, which leads to a segfault:
$ sudo killall upowerd
$ sudo /usr/lib/upower/upowerd -v
In another terminal, do "upower --dump", and see upowerd crash with
(upowerd:13852): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.CheckAuthorization() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.upower.suspend is not registered
Segmentation fault
Looks like this was fixed in
http://cgit.freedesktop.org/upower/commit/?id=a4e099c5bff9f9fdb9067a0a6bb206d4c34745ae
--
upowerd assert failure: *** glibc detected *** /usr/lib/upower/upowerd: double free or corruption (out): 0x00d13ec0 ***
https://bugs.launchpad.net/bugs/648414
You received this bug notification because you are a member of Ubuntu
Bug Control, which is a direct subscriber.