Crash in French locale: std::runtime_error: locale::facet::_S_create_c_locale name not valid

Bug #151526 reported by Jérôme Rousselot
6
Affects Status Importance Assigned to Milestone
Referencer
Incomplete
Undecided
Unassigned

Bug Description

After upgrading to Ubuntu 7.10 Beta, referencer does not start anymore:

referencer
/home/jerome/.themes/Whiteplate/gtk-2.0/icons/iconrc:75: Incapable de localiser le fichier image dans le chemin des pixmaps : « panel-utility.png »
/home/jerome/.themes/Whiteplate/gtk-2.0/icons/iconrc:76: Incapable de localiser le fichier image dans le chemin des pixmaps : « panel-searchtool.png »

(referencer:1790): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL' failed
TagWindow::docSelectionChanged >>
terminate called after throwing an instance of 'std::runtime_error'
  what(): locale::facet::_S_create_c_locale name not valid

Version information:
Architecture: i386
Version: 1.0.4-1ubuntu2
Depends: libart-2.0-2 (>= 2.3.18), libatk1.0-0 (>= 1.13.2), libbonobo2-0 (>= 2.15.0), libbonoboui2-0 (>= 2.15.1), libboost-regex1.34.1, libc6 (>= 2.6-1), libcairo2 (>= 1.4.0), libcairomm-1.0-1 (>= 1.2.0), libfontconfig1 (>= 2.4.0), libgcc1 (>= 1:4.2.1), libgconf2-4 (>= 2.13.5), libgconfmm-2.6-1c2 (>= 2.10.0-3), libglade2-0 (>= 1:2.6.1), libglademm-2.4-1c2a, libglib2.0-0 (>= 2.14.0), libglibmm-2.4-1c2a, libgnome-vfsmm-2.6-1c2a (>= 2.14.0), libgnome2-0 (>= 2.17.3), libgnomecanvas2-0 (>= 2.19.1), libgnomecanvasmm-2.6-1c2a, libgnomemm-2.6-1c2a (>= 2.16.0), libgnomeui-0 (>= 2.19.1), libgnomeuimm-2.6-1c2a (>= 2.16.0), libgnomevfs2-0 (>= 1:2.17.90), libgtk2.0-0 (>= 2.11.6), libgtkmm-2.4-1c2a, libice6 (>= 1:1.0.0), liborbit2 (>= 1:2.14.8), libpango1.0-0 (>= 1.18.1), libpoppler-glib2 (>= 0.6), libpopt0 (>= 1.10), libsigc++-2.0-0c2a (>= 2.0.2), libsm6, libstdc++6 (>= 4.2.1), libx11-6, libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:4.0.1), libxi6, libxinerama1, libxml2 (>= 2.6.29), libxrandr2 (>= 2:1.2.0), libxrender1
Filename: pool/universe/r/referencer/referencer_1.0.4-1ubuntu2_i386.deb

Revision history for this message
John S (jcspray) wrote : Re: [Bug 151526] crashes during startup

Can you try another gtkmm application such as inkscape, to see if this is
referencer-specific?

John

Revision history for this message
Jérôme Rousselot (jerome-rousselot) wrote :

Inkscape starts without any error or warning message, and I can open and
edit complex drawings.

Inkscape package information:
Version: 0.45.1-1ubuntu5
Depends: libatk1.0-0 (>= 1.13.2), libc6 (>= 2.6-1), libcairo2 (>= 1.4.0),
libcairomm-1.0-1 (>= 1.2.0), libfontconfig1 (>= 2.4.0), libfreetype6 (>=
2.3.5), libgc1c2, libgcc1 (>= 1:4.2.1), libgconf2-4 (>= 2.13.5),
libglib2.0-0 (>= 2.14.0), libglibmm-2.4-1c2a, libgnomevfs2-0 (>= 1:2.17.90),
libgtk2.0-0 (>= 2.12.0), libgtkmm-2.4-1c2a, liblcms1 (>= 1.15-1), liborbit2
(>= 1:2.14.8), libpango1.0-0 (>= 1.18.2), libpng12-0 (>= 1.2.13-4), libpopt0
(>= 1.10), libsigc++-2.0-0c2a (>= 2.0.2), libssl0.9.8 (>= 0.9.8e-1),
libstdc++6 (>= 4.2.1), libx11-6, libxcomposite1 (>= 1:0.3-1), libxcursor1
(>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:4.0.1),
libxft2 (>> 2.1.1), libxi6, libxinerama1, libxml2 (>= 2.6.29), libxrandr2
(>= 2:1.2.0), libxrender1, libxslt1.1 (>= 1.1.20), zlib1g (>= 1:
1.2.3.3.dfsg-1)

2007/10/11, John Spray <email address hidden>:
>
>
> Can you try another gtkmm application such as inkscape, to see if this is
> referencer-specific?
>
> John
>
> --
> crashes during startup
> https://bugs.launchpad.net/bugs/151526
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jérôme Rousselot (jerome-rousselot) wrote : Re: crashes during startup

After setting
LANG=C

referencer starts without problem. I am not especially familiar with the syntax of LANG, but I tried with:
LANG=fr_CH
LANG=fr_FR
LANG=fr_FR.UTF-8

and all of these combinations gave the same error:

(referencer:4390): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL' failed
TagWindow::docSelectionChanged >>
terminate called after throwing an instance of 'std::runtime_error'
  what(): locale::facet::_S_create_c_locale name not valid
Abandon (core dumped)

Revision history for this message
Milton Y (milton4) wrote :

Below is the output from my system.
-----
$ locale -a
POSIX
common
en_US.UTF-8
C
iso_8859_1
iso_8859_15
en_CA
en_CA.ISO8859-1
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
fr_CA
fr_CA.ISO8859-1
th
th_TH
th_TH.TIS620
th_TH.UTF-8

I am getting below error

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

Revision history for this message
Mads Chr. Olesen (shiyee) wrote :

Is this still a problem with Referencer 1.1.6?

Changed in referencer:
status: New → Incomplete
Revision history for this message
Mabhobs (mabhobs-deactivatedaccount) wrote :

I experience the same problem: Crash of Referencer with the above described error. Referencer 1.1.6-1build1. Xubuntu 10.10.

This is the message that I get:

"
(referencer:3818): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.

(referencer:3818): Gdk-WARNING **: locale not supported by C library
terminate called after throwing an instance of 'std::runtime_error'
  what(): locale::facet::_S_create_c_locale name not valid
Aborted
"
Any help is appreciated.

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.