mtp-server aborts under incorrect locale

Bug #1294884 reported by Michał Sawicz
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mtp (Ubuntu)
Triaged
High
Unassigned

Bug Description

mtp-server doesn't like when the locale isn't available on the system and exits with:

terminate called after throwing an instance of 'std::runtime_error'
  what(): locale::facet::_S_create_c_locale name not valid

Sure, invalid locale is probably a bad thing, but falling back to C would probably be a better thing than to abort.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: mtp-server 0.0.2+14.04.20140307-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.13.3-0ubuntu1
Architecture: armhf
Date: Wed Mar 19 23:53:42 2014
InstallationDate: Installed on 2014-03-19 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140319)
SourcePackage: mtp
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
Changed in mtp (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Michał Sawicz (saviq) wrote :

Two similar bugs: bug #1320206 and bug #1320200.

Changed in mtp (Ubuntu):
assignee: Mathieu Trudel-Lapierre (mathieu-tl) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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