[Bug 798644] New: fontconfig 2.9.0 makes google-earth 7.x crash
https://bugzilla.novell.com/show_bug.cgi?id=798644 https://bugzilla.novell.com/show_bug.cgi?id=798644#c0 Summary: fontconfig 2.9.0 makes google-earth 7.x crash Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: Mathias.Homann@opensuse.org QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 As long as one or both of the following links are present, google-earth 7.0.x segfaults on start. /etc/fonts/conf.d/65-fonts-persian.conf /etc/fonts/conf.d/11-suse-hinting.conf Reproducible: Always Steps to Reproduce: 1. download the latest google-earth rpm from http://earth.google.com 2. install it on a openSUSE 12.2 with either or both of those links in place 3. try to start google earth, observe it crashes. 4. remove both links 5. observe google earth start with no problem 6. observe the desktop fonts look very ugly Actual Results: google earth crashes on startup Expected Results: "it should work" other linux distributions are hit by the same bug, namely all that use fontconfig 2.9.x.... see several bugs on the google earth issue tracker. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c1
Stefan Dirsch
Alexander Bezrukov 2011-11-27 14:50:50 UTC
It seems I found the culprit, at least in my case.
I emerged googleearth with USE=-qt-bundled.
65-fonts-persian.conf is special because it is the only conf file (for a popular font set) which is larger than 8K bytes. There seems a trivial buffer overflow to happen. I removed comments from the file (thus making it shorter than 8K) and now googleearth is working with no problem; no crashes and displaying, typing, searching both in Russian and Persian are working OK. [...]
So you've disabled any .conf files > 8k? We have more than two of these ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c2
--- Comment #2 from Petr Gajdos
/etc/fonts/conf.d/11-suse-hinting.conf [..] 6. observe the desktop fonts look very ugly
No surprise when you entirely turn off hinting :-). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c3
--- Comment #3 from Petr Gajdos
So you've disabled any .conf files > 8k? We have more than two of these ...
Which one? I do not see any in 12.2's /etc/fonts/conf.avail. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c4
--- Comment #4 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c5
--- Comment #5 from Stefan Dirsch
i see exactly two... the two files mentioned in the initial report.
I can confirm this. There is also 65-nonlatin.conf, but with 8065 bytes it has less than 8192 bytes. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c6
--- Comment #6 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c7
--- Comment #7 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c8
--- Comment #8 from Petr Gajdos
Seems on my 12.2 system Google-earth crashes for different reasons. Doesn't help to remove these config symlinks.
Major Version 7 Minor Version 0 Build Number 0002 Build Date Dec 13 2012 Build Time 17:54:43 OS Type 3 OS Major Version 3 OS Minor Version 7 OS Build Version 0 OS Patch Version 0 Crash Signal 11 Crash Time 1358335962 Up Time 0,810893
Stacktrace from glibc: ./libgoogleearth_free.so(+0x1e9fab)[0xf7594fab] ./libgoogleearth_free.so(+0x1ea1f3)[0xf75951f3] linux-gate.so.1(__kernel_sigreturn+0x0)[0xf775f400]
Yes, I get exactly that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c9
--- Comment #9 from Petr Gajdos
Yes, I get exactly that.
... and the same as http://code.google.com/p/earth-issues/issues/detail?id=1313 states. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c10
--- Comment #10 from Petr Gajdos
Seems on my 12.2 system Google-earth crashes for different reasons. Doesn't help to remove these config symlinks.
Hmm, I can say the opposite. google-earth is starting at least after removing config symlinks in question. Weird. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c11
--- Comment #11 from Stefan Dirsch
... and removing (In reply to comment #7)
Seems on my 12.2 system Google-earth crashes for different reasons. Doesn't help to remove these config symlinks.
Hmm, I can say the opposite. google-earth is starting at least after removing config symlinks in question. Weird.
Think positive. Now can investigate and try fixing the issue. At least for the reporter and yourself. ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c12
--- Comment #12 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c13
--- Comment #13 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c14
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c15
--- Comment #15 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c16
Petr Gajdos
Honestly, I don't know, but did you read the full comment?
Not really :-). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c18
--- Comment #18 from Stefan Dirsch
This is an autogenerated message for OBS integration: This bug (798644) was mentioned in https://build.opensuse.org/request/show/148919 Factory / expat
+Fri Jan 18 08:53:33 UTC 2013 - pgajdos@suse.com + +- really hide private Xml* symbols [bnc#798644] + * modified visibility.patch Especially fixed typo? +Index: expat-2.1.0/Makefile.in +=================================================================== +--- expat-2.1.0.orig/Makefile.in ++++ expat-2.1.0/Makefile.in +@@ -114,11 +114,12 @@ CPPFLAGS = @CPPFLAGS@ -DHAVE_EXPAT_CONFI CFLAGS = @CFLAGS@ CXXFLAGS = @CXXFLAGS@ VSNFLAG = -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@ @@ -131,7 +136,7 @@ LTFLAGS = --silent -COMPILE = $(CC) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS) -+COMPILE = $(CC) $(CLFAG_VISIBILITY) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS) ++COMPILE = $(CC) $(CFLAG_VISIBILITY) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS) CXXCOMPILE = $(CXX) $(INCLUDES) $(CXXFLAGS) $(DEFS) $(CPPFLAGS) LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c19
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c20
--- Comment #20 from Petr Gajdos
(In reply to comment #17)
This is an autogenerated message for OBS integration: This bug (798644) was mentioned in https://build.opensuse.org/request/show/148919 Factory / expat
+Fri Jan 18 08:53:33 UTC 2013 - pgajdos@suse.com + +- really hide private Xml* symbols [bnc#798644] + * modified visibility.patch
Especially fixed typo?
Haven't understood. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c21
--- Comment #21 from Stefan Dirsch
Especially fixed typo?
Haven't understood.
CLFAG* --> CFLAG* -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c22
--- Comment #22 from Petr Gajdos
(In reply to comment #20)
Especially fixed typo?
Haven't understood.
CLFAG* --> CFLAG*
Yes, that and -+#if HAVE_VISIBILTY ++#include "../expat_config.h" ++#if HAVE_VISIBILITY But I didn't understand 'Especially' :-]. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c23
--- Comment #23 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c24
--- Comment #24 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c25
--- Comment #25 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c26
--- Comment #26 from Petr Gajdos
If this patch fixes this issue for you and the reporter, I suggest to release a libexpat update for 12.2. For me the fix doesn't help, neither does it help to
Unfortunately I am not sure so far if this fix is safe from ABI point of view.
remove the .conf files > 8192 bytes. So apparently I run into different issues here unrelated to the one you've fixed now.
What's the gdb backtrace? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c27
Stefan Dirsch
(In reply to comment #25)
If this patch fixes this issue for you and the reporter, I suggest to release a libexpat update for 12.2. For me the fix doesn't help, neither does it help to
Unfortunately I am not sure so far if this fix is safe from ABI point of view.
remove the .conf files > 8192 bytes. So apparently I run into different issues here unrelated to the one you've fixed now.
What's the gdb backtrace?
I've been stupid. I didn't install your updated -32bit package, but only the 64bit package. Now it works! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c28
Andreas Stieger
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c29
--- Comment #29 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c30
--- Comment #30 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c31
--- Comment #31 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c32
--- Comment #32 from Andreas Stieger
Stefan, Vojta, could you please review expat in devel prj?
I can confirm that devel:libraries:c_c++ expat Revision 33 fixes Subversion again. [ 256s] checking for Expat... yes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c33
--- Comment #33 from Mathias Homann
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c34
--- Comment #34 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c35
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=798644
https://bugzilla.novell.com/show_bug.cgi?id=798644#c36
--- Comment #36 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com