Package: firefox-esr
Version: 60.3.0esr-1~deb9u1
Severity: normal
File: /usr/lib/firefox-esr/libxul.so

Dear Maintainer,

When I am starting Firefox with locale set to pl_PL.utf-8 two Gtk
warnings are displayed

--8<---------------cut here---------------start------------->8---
(firefox-esr:9981): Gtk-WARNING **: Theme parsing error: <data>:1:34: Expected 
')' in col
or definition                                                                   
        

(firefox-esr:9981): Gtk-WARNING **: Theme parsing error: <data>:1:77: Expected 
')' in col
or definition                                                                   
        
--8<---------------cut here---------------end--------------->8---

They are caused by improperly formatted CSS string passed to
gtk_css_provider_load_from_data function from code within libxul.so
(I uesd ltrace+gdb). The CSS string is

    
:selected{color:rgba(255,255,255,1,000000);background-color:rgba(74,144,217,1,000000);

Note that the fourth argument to rgba() is a real number with comma as a
decimal point according to my locale. Running with LC_NUMERIC=C

    LC_NUMERIC=C firefox -ProfileManager

makes the problem dissapear. The format strings used to build the CSS
data are in Debian sources in file
firefox-esr-60.3.0esr/widget/gtk/IMContextWrapper.cpp in lines 228 and
239. AppendPrintf() method is implemented in 
firefox-esr-60.3.0esr/xpcom/string/nsTSubstring.cpp

Please forward the problem upstream, as it seems the implementation
hasn't changed[1][2] since 60.3.0.

[1] 
https://hg.mozilla.org/mozilla-central/file/01d0813d8203/widget/gtk/IMContextWrapper.cpp#l260
[2] 
https://hg.mozilla.org/mozilla-central/file/01d0813d8203/xpcom/string/nsTSubstring.cpp#l1203

-- Package-specific info:

-- Addons package information
*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armel, arm64

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), 
LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages firefox-esr depends on:
ii  debianutils               4.8.1.1
ii  fontconfig                2.11.0-6.7+b1
ii  libasound2                1.1.3-5
ii  libatk1.0-0               2.22.0-1
ii  libc6                     2.24-11+deb9u3
ii  libcairo-gobject2         1.14.8-1
ii  libcairo2                 1.14.8-1
ii  libdbus-1-3               1.10.26-0+deb9u1
ii  libdbus-glib-1-2          0.108-2
ii  libevent-2.0-5            2.0.21-stable-3
ii  libffi6                   3.2.1-6
ii  libfontconfig1            2.11.0-6.7+b1
ii  libfreetype6              2.6.3-3.2
ii  libgcc1                   1:6.3.0-18+deb9u1
ii  libgdk-pixbuf2.0-0        2.36.5-2+deb9u2
ii  libglib2.0-0              2.50.3-2
ii  libgtk-3-0                3.22.11-1
ii  libjsoncpp1               1.7.4-3
ii  libpango-1.0-0            1.40.5-1
ii  libstartup-notification0  0.12-4+b2
ii  libstdc++6                6.3.0-18+deb9u1
ii  libvpx4                   1.6.1-3+deb9u1
ii  libx11-6                  2:1.6.4-3+deb9u1
ii  libx11-xcb1               2:1.6.4-3+deb9u1
ii  libxcb-shm0               1.12-1
ii  libxcb1                   1.12-1
ii  libxcomposite1            1:0.4.4-2
ii  libxdamage1               1:1.1.4-2+b3
ii  libxext6                  2:1.3.3-1+b2
ii  libxfixes3                1:5.0.3-1
ii  libxrender1               1:0.9.10-1
ii  libxt6                    1:1.1.5-1
ii  procps                    2:3.3.12-3+deb9u1
ii  zlib1g                    1:1.2.8.dfsg-5

Versions of packages firefox-esr recommends:
ii  libavcodec-extra57  7:3.2.12-1~deb9u1
ii  libavcodec54        6:9.13-1~bpo70+1
ii  libavcodec55        6:10.1-1~bpo70+1

Versions of packages firefox-esr suggests:
ii  fonts-lmodern          2.004.5-3
ii  fonts-stix [otf-stix]  1.1.1-4
ii  libcanberra0           0.30-3
ii  libgssapi-krb5-2       1.15-1+deb9u1
ii  libgtk2.0-0            2.24.31-2
ii  pulseaudio             10.0-1+deb9u1

-- no debconf information

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

Attachment: signature.asc
Description: PGP signature

Reply via email to