[apport] gnome-control-center crashed with SIGSEGV in g_markup_escape_text()

Bug #86557 reported by sven.nordblad
182
This bug affects 31 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Critical
gnome-control-center (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

7.04 Feisty Fawn Herd-4

Control Center crashes on launch when /etc/environment is set to:

LANG="sv_SE.ISO-8859-15"

... but not when

LANG="sv_SE.UTF-8"

ProblemType: Crash
CrashCounter: 1
Date: Tue Feb 20 20:49:08 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/gnome-control-center
Package: gnome-control-center 1:2.17.91-0ubuntu4
ProcCmdline: gnome-control-center
ProcCwd: /home/sven
ProcEnviron:
 LANG=sv_SE.ISO-8859-15
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
Signal: 11
SourcePackage: control-center
StacktraceTop:
 g_markup_escape_text () from /usr/lib/libglib-2.0.so.0
 g_markup_vprintf_escaped () from /usr/lib/libglib-2.0.so.0
 g_markup_printf_escaped () from /usr/lib/libglib-2.0.so.0
 application_tile_new_full () from /usr/lib/libslab.so.0
 ?? () from /usr/lib/libslab.so.0
Uname: Linux telegraf-ub1-7 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse plugdev scanner tape

Revision history for this message
sven.nordblad (sven-nordblad) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

From /usr/share/applications/language-selector.desktop:
      Name[sv]=Språkstöd

8859-15 does not seem to like that. Not sure if this is a GTK bug and the chars should get converted somehow.

Changed in control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

How do you generate that 8859-15 locale? The standard locales are UTF-8

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
sven.nordblad (sven-nordblad) wrote : Re: [Bug 86557] Re: [apport] gnome-control-center crashed with SIGSEGV in g_markup_escape_text()

Hello Sebastien,

This is how I do it:

my_script.sh:
sudo cp local /var/lib/locales/supported.d/local
sudo cp environment /etc/environment
sudo dpkg-reconfigure --force locales

local:
sv_SE.ISO-8859-15 ISO-8859-15
sv_SE.UTF-8 UTF-8
en_US.UTF-8 UTF-8

environment:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
LANG="sv_SE.ISO-8859-15"

It would be really nice if there was an new option in the
control-panel to do this kind of adjustments.

And another thing ...

I am migrating from an old red Hat installation but wan't to take with
me my userid of 500 and group-id of 500 which is standard in Red Hat.
However when I add user-id 500 i the control-panel I can add the user
but I can't modify it later since the useradministration menu don't
show lower values than 500. This goes for Ubuntu 6.10 also.

Best regards
Sven

2007/2/24, Sebastien Bacher <email address hidden>:
> I've forwarded it upstream:
> http://bugzilla.gnome.org/show_bug.cgi?id=411586
>
> ** Bug watch added: GNOME Bug Tracker #411586
> http://bugzilla.gnome.org/show_bug.cgi?id=411586
>
> ** Also affects: control-center (upstream) via
> http://bugzilla.gnome.org/show_bug.cgi?id=411586
> Importance: Unknown
> Status: Unknown
>
> --
> [apport] gnome-control-center crashed with SIGSEGV in g_markup_escape_text()
> https://launchpad.net/bugs/86557
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

The uid problem is know and a gnome-system-tools request. The gnome-control-center has been forwarded upstream, do you really need to use a non-utf-8 locale though?

Revision history for this message
sven.nordblad (sven-nordblad) wrote :

Hello Sebastien,

Thank you for your prompt answer. And - yes - at least I do need to
use the ISO-8859 locale for a forms server application. This
application runs not only on Ubuntu but in MS Windows from Windows
Server 2000 up to Windows Vista as well as on Vax VMS. The application
uses the HP printers in PCL-5 mode as well as other applications for
PDF-conversion and so on and so on. It will certanly take a long time
before all environments in the world outside is adapted to UTF-8. So I
do think it is to early to put away all other locales than the UTF-8.

It also wery practical - even if there are solutions to that - to be
able to use ISO-8859 in my own evironment which consists of different
PC:s running MS windows, a Red Hat 7.1 server, a couple of Ubuntu
Linux and an old (very reliable) IBM AIX server.

If this is to big a problem perhaps Ubuntu could let the
control-center fall back on pure english menuetexts when problems with
translation to swedish arrise - rather than core-dump !?

Best regards
Sven

2007/2/24, Sebastien Bacher <email address hidden>:
> The uid problem is know and a gnome-system-tools request. The gnome-
> control-center has been forwarded upstream, do you really need to use a
> non-utf-8 locale though?
>
> --
> [apport] gnome-control-center crashed with SIGSEGV in g_markup_escape_text()
> https://launchpad.net/bugs/86557
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's a bug and will be fixed, it's low priority though because your are using an alternative local

Revision history for this message
sven.nordblad (sven-nordblad) wrote :

Hello Sebastien,

If it takes time to fix it is OK for me.

Best Reagards
Sven

2007/2/24, Sebastien Bacher <email address hidden>:
> that's a bug and will be fixed, it's low priority though because your
> are using an alternative local
>
> --
> [apport] gnome-control-center crashed with SIGSEGV in g_markup_escape_text()
> https://launchpad.net/bugs/86557
>

Changed in control-center:
status: Unknown → Unconfirmed
Revision history for this message
Flblbl (anthonybegaud) wrote :

I can't start gnome-control-center
I have the crash at the start
I use hardy heron

Changed in control-center:
status: Confirmed → Triaged
Changed in gnome-control-center:
importance: Unknown → Critical
Revision history for this message
Stephen Shaw (sshaw) wrote :

Fixed upstream in git master

Changed in gnome-control-center:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug didn't get duplicates in year and comments state it's fixed in the current version, closing

Changed in gnome-control-center (Ubuntu):
status: Triaged → Invalid
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.