[Bug 1314660] [NEW] crashes when setlocale fails

Michael Vogt michael.vogt at canonical.com
Wed Apr 30 14:57:59 UTC 2014


Public bug reported:

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)

** Affects: software-properties (Ubuntu)
     Importance: Medium
         Status: In Progress

** Affects: software-properties (Ubuntu Trusty)
     Importance: Medium
         Status: In Progress

** Affects: software-properties (Ubuntu Utopic)
     Importance: Medium
         Status: In Progress

** Changed in: software-properties (Ubuntu)
       Status: New => In Progress

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => Medium

** Also affects: software-properties (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: software-properties (Ubuntu Utopic)
   Importance: Medium
       Status: In Progress

** Changed in: software-properties (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: software-properties (Ubuntu Trusty)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1314660

Title:
  crashes when setlocale fails

Status in “software-properties” package in Ubuntu:
  In Progress
Status in “software-properties” source package in Trusty:
  In Progress
Status in “software-properties” source package in Utopic:
  In Progress

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1314660/+subscriptions



More information about the foundations-bugs mailing list