gnome-terminal crash on non-utf8 locale

Bug #1589611 reported by Zhang Qide
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Dear Maintainer,

I set my ubuntu 16.04 box's locale to zh_CN.GBK or zh_CN.GB18030, gnome-terminal crash every time when I try to open it. This is some info:

Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 8

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-terminal 3.18.3-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Jun 7 01:09:44 2016
InstallationDate: Installed on 2016-05-02 (35 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

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

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

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Revision history for this message
Jon Green (jonatocado) wrote :

In my case, I had a happy, up-to-date Xenial Ubuntu installation. I decided to load the xubuntu packages too, as an alternative desktop. Switching back to regular Ubuntu later, gnome-terminal no longer works, for the above reasons.

Having determined that the problem is that DBus isn't providing correct locale information, I have used:

* "sudo locale-gen --purge"
* "sudo dpkg-reconfigure locales" (selecting only en_GB locales that are UTF-8)
* "sudo gnome-language-selector" (ditto)

...and rebooted after each, but gnome-terminal still fails with status 8 when launched from xterm.

Changed in gnome-terminal (Ubuntu):
importance: Undecided → High
Revision history for this message
renandiass (renandiass) wrote :

I changed my encoding to ISO-8859-1 and after that my gnome-terminal doesn't open. The error is the same mentioned above:

Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 8

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.