Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31002 - libimobiledevice causes upowerd to crash when iphone/ipod is plugged in
Attached to Project:
Arch Linux
Opened by Kevin (prurigro) - Saturday, 04 August 2012, 04:18 GMT
Last edited by Tom Gundersen (tomegun) - Saturday, 04 August 2012, 22:07 GMT
Opened by Kevin (prurigro) - Saturday, 04 August 2012, 04:18 GMT
Last edited by Tom Gundersen (tomegun) - Saturday, 04 August 2012, 22:07 GMT
|
DetailsIf upowerd (/usr/lib/upower/upowerd) is started at boot, it will segfault when an iphone or ipod touch is plugged in due to a bug in libimobiledevice. This causes software that uses upowerd (such as the battery applet and power statistics application in gnome) to stop working until upowerd is started again.
A description of the bug and a patch I've successfully tested are located at: http://libiphone.lighthouseapp.com/projects/27916/tickets/273-patch-fix-segfault-when-running-with-home-unset In case the above link goes dead, I've attached the patch to this bug report and the description of the bug is the following: "When libimobiledevice is running in environment without $XDG_CONFIG_HOME and $HOME set, segfault happens at src/userpref.c:128 in function userpref_get_config_dir() when calling strcpy(), because variable cdir is set to NULL and strcpy() tries to read from NULL. For example, this situation happens when upowerd starts at boot if iPod touch is plugged into computer. Upowerd runs with clean environment and crashes in libimobiledevice when coldplugs iPod." Cheers! |
This task depends upon
Comment by Kevin (prurigro) -
Saturday, 04 August 2012, 04:25 GMT
Ahh crap, I didn't realize there were different trackers for different categories and this got placed into the one for the AUR when I believe it should go in the one for Arch Linux. Is anyone able to move this to the correct location, or should I request closure and submit a new report? -Thanks-
Comment by Tom Gundersen (tomegun) -
Saturday, 04 August 2012, 09:04 GMT
ioni: I'll fix this.
libimobiledevice-segfault-fix...