SEGV in rare cases as a regression from the #1479207 fix

Bug #1480592 reported by Adam Conrad
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Fix Released
Undecided
Adam Conrad

Bug Description

[ SRU Justification ]
This is a regression caused by the previous SRU where, under some corner cases, apt will segfault. See test case.

https://errors.ubuntu.com/problem/bb16d60f92f153eff1dcb768223d7969783ab053

[ (Convoluted) Test Case ]
In a clean trusty chroot:
# apt-get update && apt-get dist-upgrade
# apt-get install xserver-xorg-lts-utopic libegl1-mesa-drivers-lts-utopic xserver-xorg-video-all-lts-utopic xserver-xorg-input-all-lts-utopic software-properties-common
# apt-add-repository ppa:gregory-hainaut/pcsx2.official.ppa
# dpkg --add-architecture i386
# apt-get update
# apt-get install pcsx2
(segfault)
# for i in apt apt-utils libapt-pkg4.12 libapt-inst1.5; do echo "$i"_1.0.1ubuntu2.10_amd64.deb | xargs dpkg -i; done
# apt-get install pcsx2
0 upgraded, 170 newly installed, 0 to remove and 0 not upgraded.

[ Additional Test Case ]
In addition to verifying the segfault has been fixed, the regression tests for bug #1479207 and bug #1429041 should be run again to make sure we've made forward progress.

[ Regression Potential ]
Fairly low but, hey, that's what we say every time we touch this line of code, and we've done it 4 times now.

Adam Conrad (adconrad)
description: updated
Changed in apt (Ubuntu):
status: New → Invalid
Changed in apt (Ubuntu Trusty):
assignee: nobody → Adam Conrad (adconrad)
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Adam, or anyone else affected,

Accepted apt into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt/1.0.1ubuntu2.10 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 apt (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote :

Regression test for bug #1480592 passed.

Revision history for this message
Adam Conrad (adconrad) wrote :

Regression test for bug #1479207 passed.

Revision history for this message
Adam Conrad (adconrad) wrote :

Regression test for bug #1429041 passed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 1.0.1ubuntu2.10

---------------
apt (1.0.1ubuntu2.10) trusty; urgency=medium

  * Fix regression from the previous upload by ensuring we're actually
    testing for the right member before iterating on it (LP: #1480592)

 -- Adam Conrad <email address hidden> Sat, 01 Aug 2015 04:52:49 -0600

Changed in apt (Ubuntu Trusty):
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
tags: added: regression-update
Steve Langasek (vorlon)
tags: added: verification-done
removed: verification-needed
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.