crashes when setlocale fails

Bug #1314660 reported by Michael Vogt
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Medium
Unassigned
Utopic
Fix Released
Medium
Unassigned

Bug Description

If setlocale("C.UTF-8") fails the software-propoerties-dbus backend fails as well,
see https://errors.ubuntu.com/problem/70c1930688440b1818145db3346da61eb39a7ac8?

Test case:- I don't know how to make C.UTF-8 a invalid locale so a regression test is enough (the crash is pretty rare too)

Also watching the errors bucket to ensure the crash does not occur with the proposed package should help.

Related branches

Michael Vogt (mvo)
Changed in software-properties (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Changed in software-properties (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted software-properties into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/software-properties/0.92.37.1 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 software-properties (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
description: updated
Changed in software-properties (Ubuntu Trusty):
milestone: none → trusty-updates
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version works fine, no report on e.u.c with that version either, marking it verification-done

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

This bug was fixed in the package software-properties - 0.92.37.1

---------------
software-properties (0.92.37.1) trusty-proposed; urgency=low

  * software-properties-dbus:
    - do not crash if locale.setlocale() fails (LP: #1314660)
 -- Michael Vogt <email address hidden> Wed, 30 Apr 2014 16:42:55 +0200

Changed in software-properties (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for software-properties 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.

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

This bug was fixed in the package software-properties - 0.92.37.1

---------------
software-properties (0.92.37.1) trusty-proposed; urgency=low

  * software-properties-dbus:
    - do not crash if locale.setlocale() fails (LP: #1314660)
 -- Michael Vogt <email address hidden> Wed, 30 Apr 2014 16:42:55 +0200

Changed in software-properties (Ubuntu Utopic):
status: In Progress → Fix Released
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.