[Bug 223682] New: Applications on KDE will crash while font selection
https://bugzilla.novell.com/show_bug.cgi?id=223682 Summary: Applications on KDE will crash while font selection Product: openSUSE 10.2 Version: RC 1 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: belphegor@belbel.or.jp QAContact: sndirsch@novell.com All applications on KDE crashes when I pushed a button to select font. For example, "KDE control center" (kcontrol) -> "apperances and themes" -> "font" -> "select". The application crashes before showing fonts list. (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (omit) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1237289264 (LWP 18011)] (no debugging symbols found) (omit) (no debugging symbols found) [KCrash handler] #9 0xb64d3583 in XftFontLoadGlyphs () from /usr/lib/libXft.so.2 #10 0xe64d90ff in ?? () #11 0x0865ffff in ?? () #12 0x384a2b28 in ?? () #13 0x00000000 in ?? () -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |kde-maintainers@suse.de Component|X.Org |KDE QAContact|sndirsch@novell.com |qa@suse.de -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |belphegor@belbel.or.jp ------- Comment #1 from stbinner@novell.com 2006-11-25 00:54 MST ------- Cannot reproduce: Is this an upgrade or a new installation? Do you have any additional than the default fonts installed manually or otherwise changed (fonts) setting on your system? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 stbinner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mfabian@novell.com ------- Comment #3 from stbinner@novell.com 2006-11-25 12:50 MST ------- To reproduce one has to install the kde3-i18n-ja and sazanami-fonts packages and run "KDE_LANG=ja kcontrol". -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |dmueller@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 ------- Comment #5 from dmueller@novell.com 2006-11-27 03:31 MST ------- ==14553== Conditional jump or move depends on uninitialised value(s) ==14553== at 0x52226F4: XftFontLoadGlyphs (xftglyphs.c:643) ==14553== by 0x521F0FA: XftGlyphExtents (xftextent.c:55) ==14553== by 0x4CFADF9: QFontEngineXft::stringToCMap(QChar const*, int, unsigned short*, int*, int*, bool) const (qfontengine_x11.cpp:1611) ==14553== by 0x4E0B291: basic_shape(QShaperItem*) (qscriptengine.cpp:384) ==14553== by 0x4E133E1: QTextEngine::shape(int) const (qtextengine_unix.cpp:105) ==14553== by 0x4E10D28: QTextLayout::addCurrentItem() (qtextlayout.cpp:353) ==14553== by 0x4E4DB88: QLineEditPrivate::updateTextLayout() (qlineedit.cpp:2373) ==14553== by 0x4E4DC9C: QLineEditPrivate::finishChange(int, bool) (qlineedit.cpp:2497) ==14553== by 0x4E4EABE: QLineEdit::setText(QString const&) (qlineedit.cpp:482) ==14553== by 0x45F74E9: KFontChooser::KFontChooser(QWidget*, char const*, bool, QStringList const&, bool, int, bool, QButton::ToggleState*) (kfontdialog.cpp:296) ==14553== by 0x45F7B22: KFontDialog::KFontDialog(QWidget*, char const*, bool, bool, QStringList const&, bool, bool, QButton::ToggleState*) (kfontdialog.cpp:732) ==14553== by 0x45F7E5B: KFontDialog::getFontDiff(QFont&, int&, bool, QWidget*, bool, QButton::ToggleState*) (kfontdialog.cpp:742) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 ------- Comment #6 from dmueller@novell.com 2006-11-27 03:32 MST ------- it crashes in this code: · · if (font->info.antialias) · · { · · · if (i > 0) · · · while (--k > 0) · · · · pos[k] = (pos[k] > pos[k - 1])? pos[k] : pos[k - 1]; · · · else · · · { · · · while (--k > 0) · · · { · · · · g = pos[k]; · · · · g += d * ((pos[k - 1] > 0)? pos[k - 1]/64 : g/128); · · · · pos[k] = (g > 0xff)? 0xff : g; · · · } · · · g = pos[0] + pos[0] * d / 128; · · · pos[0] = (g > 0xff)? 0xff : g; · · · } it is guarded by "font->extra_strokes > 0" and caused by the lcdfilter patch to libXft. apparently only few fonts have this property -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 ------- Comment #7 from dmueller@novell.com 2006-11-27 03:40 MST ------- ah, no, it is the p_xft_cjk.diff that is clashing with the lcd filter patch apparently -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 dmueller@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #8 from dmueller@novell.com 2006-11-27 04:44 MST ------- submitted a reduced diff which fixes the crash. (debugged and tested together with Mike Fabian, thanks). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223682 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmueller@novell.com |kde-maintainers@suse.de -- 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.
participants (1)
-
bugzilla_noreply@novell.com