Comment 2 for bug 1530014

Revision history for this message
Philip Machanick (philip-machanick) wrote :

I have exactly the same issue with an iPhone 4S. I also checked with an Android phone, no problem.

Tested repeatably on 2 different systems with completely different logic boards and chipsets, USB and USB 3 both do the same. Both machines were fine with Ubuntu 15.04. Upgrade to 15.10, this error surfaces.

If there is no UPS connected, the phone is still incorrectly reported as a power source in the Power System Settings but the shutdown behaviour doesn't occur.

Another thing: on restart after the crash, I get a system error report showing that /usr/lib/upower/upowerd has core dumped.

This is a pretty bad error that in effect means you can't charge an iOS device on an Ununtu 15.10 machine that is on a UPS. If you unplug the USB connector from the UPS it does appear to stop the false report that the UPS is depleting but that is not a good workaround.

Most relevant entries from /var/log/syslog :

Feb 8 11:50:46 philip-ubuntu-office systemd[1]: Starting Daemon for power management...
Feb 8 11:50:46 philip-ubuntu-office systemd[1]: Started Daemon for power management.
Feb 8 11:50:47 philip-ubuntu-office usbmuxd[2611]: [11:50:47.831][1] config_get_device_record: failed to read '/var/lib/lockdown/86bcd536244b1ef5b32876ad93597a1802bbde93.plist': No such file or directory
Feb 8 11:50:48 philip-ubuntu-office upowerd[2759]: *** Error in `/usr/lib/upower/upowerd': double free or corruption (!prev): 0x0000556d7058d260 ***
Feb 8 11:50:48 philip-ubuntu-office systemd[1]: upower.service: Main process exited, code=dumped, status=6/ABRT
Feb 8 11:50:48 philip-ubuntu-office systemd[1]: upower.service: Unit entered failed state.
Feb 8 11:50:48 philip-ubuntu-office systemd[1]: upower.service: Failed with result 'core-dump'.
Feb 8 11:50:48 philip-ubuntu-office systemd[1]: upower.service: Service hold-off time over, scheduling restart.