iphone-set-info crashed with SIGSEGV in lockdownd_start_service()

Bug #1221031 reported by haug
52
This bug affects 15 people
Affects Status Importance Assigned to Milestone
libgpod (Ubuntu)
Fix Released
Medium
Unassigned
Saucy
Fix Released
High
Unassigned

Bug Description

Impact: the helper used to init ipod touch and ipod devices segfaults instead of doing its job

Test case:
connect a non-initialized ipod touch or iphone to the computer, it shouldn't lead to an error dialog

Regression potential:
Check that idevices still work as they used to

----

iphone 4s make this problem, when I connect or disconnect on USB.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: libgpod-common 0.8.2-7ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic i686
ApportVersion: 2.12.1-0ubuntu3
Architecture: i386
CrashCounter: 1
Date: Wed Sep 4 21:55:15 2013
ExecutablePath: /lib/udev/iphone-set-info
InstallationDate: Installed on 2013-06-09 (87 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424)
MarkForUpload: True
ProcCmdline: /lib/udev/iphone-set-info
ProcEnviron:

SegvAnalysis:
 Segfault happened at: 0xb74e9df2 <lockdownd_start_service+66>: mov %cx,(%eax)
 PC (0xb74e9df2) ok
 source "%cx" ok
 destination "(%eax)" (0x000074f9) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: libgpod
Stacktrace:
 #0 0xb74e9df2 in lockdownd_start_service () from /usr/lib/libimobiledevice.so.4
 No symbol table info available.
 #1 0x080492a1 in _start ()
 No symbol table info available.
StacktraceTop:
 lockdownd_start_service () from /usr/lib/libimobiledevice.so.4
 _start ()
Title: iphone-set-info crashed with SIGSEGV in lockdownd_start_service()
UpgradeStatus: Upgraded to saucy on 2013-08-02 (33 days ago)
UserGroups:

Revision history for this message
haug (josefa4) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #1212546. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: added: regression-retracer
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 lockdownd_start_service (client=0x9bf0da0, identifier=identifier@entry=0x80495f5 "com.apple.afc", service=service@entry=0xbfe0a978) at lockdown.c:1517
 iphone_write_sysinfo_extended (uuid=uuid@entry=0xbfe0be83 "0d744932e4795fa11f5ca64265fa181fd86d74a6", xml=xml@entry=0x9bf4fd8 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>64Bit</key>\n\t<integer>3"...) at ../../../tools/ipod-lockdown.c:158
 write_sysinfo_extended (uuid=0xbfe0be83 "0d744932e4795fa11f5ca64265fa181fd86d74a6") at ../../../tools/iphone-callout.c:21
 main (argc=1, argv=0xbfe0aaa4) at ../../../tools/iphone-callout.c:63

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in libgpod (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libgpod (Ubuntu):
status: New → Confirmed
information type: Private → Public
Changed in libgpod (Ubuntu):
status: Confirmed → Fix Committed
Changed in libgpod (Ubuntu Saucy):
importance: Undecided → High
status: New → In Progress
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello haug, or anyone else affected,

Accepted libgpod into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/libgpod/0.8.2-7ubuntu4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libgpod (Ubuntu Saucy):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgpod - 0.8.2-7ubuntu4

---------------
libgpod (0.8.2-7ubuntu4) saucy; urgency=low

  * 70_adjust-to-latest-libimobiledevice-API-changes.patch: correctly
    initialize a variable to avoid a segfault (lp: #1221031)
 -- Sebastien Bacher <email address hidden> Mon, 21 Oct 2013 18:09:43 -0400

Changed in libgpod (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Would be good if somebody owning an unlocked device could verify, otherwise the corresponding error bucket is there:
https://errors.ubuntu.com/problem/28836a9ab5fd3bac86aa699f4c2be0a7d52b61cf

there is currently one report from the new version but that might be the old code still in memory after an upgrade

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bucket has almost no report for the new version, it if doesn't totally fix things it seems to improve, setting as verified

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgpod - 0.8.2-7ubuntu4

---------------
libgpod (0.8.2-7ubuntu4) saucy; urgency=low

  * 70_adjust-to-latest-libimobiledevice-API-changes.patch: correctly
    initialize a variable to avoid a segfault (lp: #1221031)
 -- Sebastien Bacher <email address hidden> Mon, 21 Oct 2013 18:09:43 -0400

Changed in libgpod (Ubuntu Saucy):
status: Fix Committed → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.