Bug 470674

Summary: xmessage can't find font in Unicode, and then segfaulted
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: xorg-x11-appsAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: mcepl, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-12 09:52:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Example core dump on locale en_US.utf8
none
script to generate backtrace none

Description Pavel Alexeev 2008-11-08 18:57:03 UTC
Created attachment 322962 [details]
Example core dump on locale en_US.utf8

Description of problem:
$ export LANG=en_US.utf8
[pasha@x-www ~]$ xmessage Test
Warning: Unable to load any usable ISO8859 font
Segmentation fault

(core dump attached)

On locale ru_RU.utf8 the same behavior, except of language of message about segmentation fault.

On C locale it is only produces warnings, but works:
$ export LANG=C
[pasha@x-www amurforum_test2]$ xmessage Test
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset


Version-Release number of selected component (if applicable):
$ rpm -qf `which xmessage `
xorg-x11-apps-7.3-3.fc9.i386

$ rpm -qa '*ISO8859*'
xorg-x11-fonts-ISO8859-1-75dpi-7.2-6.fc9.noarch

Comment 1 Matěj Cepl 2008-11-09 00:30:33 UTC
Created attachment 322976 [details]
script to generate backtrace

I am sorry, but it is actually by far the most simple to generate useful backtrace on your computer. Could you please make sure that you have installed yum-utils and gdb packages, and the download -debuginfo packages running

debuginfo-install xorg-x11-apps.$(uname -i)

Then run the attached script gbt like this

gbt xmessage core.1055

Script should generate file xmessage-backtrace-1055.txt. Could you please attach this file to this bug as uncompressed attachment?

Thank you

Comment 2 Pavel Alexeev 2008-11-12 05:08:19 UTC
Please excuse me for long reply at this time I have huge amount of work...

I'm install all debuginfo packages and ... and can't reproduce error anymore! I even do not rebuild computer (but have xorg restarted once)

So, I can't even suppose what was a key to the problem. There exactly same versions of component.
# rpm -qf `which xmessage `
xorg-x11-apps-7.3-3.fc9.i386
# rpm -qa '*ISO8859*'
xorg-x11-fonts-ISO8859-1-75dpi-7.2-6.fc9.noarch
I'm update other software, and possibility problem has been fixed in related libraries...

So, I'm try to find problem and reproduce error again, but without success.
If I can do it, I will wrote there immediately.

Comment 3 Matěj Cepl 2008-11-12 09:52:18 UTC
Thanks a lot, Pavel, for reporting the bug and taking all the effort to get us the information.

If you ever hit this again, please, feel free to reopen this with the relevant info.

Until then, I am closing this as WORKSFORME.