Bug 1195437

Summary: [abrt] xscreensaver-extras: XftCharIndex(): fontglide killed by SIGSEGV
Product: [Fedora] Fedora Reporter: jamie <jamiemarchant47>
Component: xscreensaverAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: cheese, jamiemarchant47, mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/93a1ab04bc1854198dcc4aa3f4d7b912905a929d
Whiteboard: abrt_hash:517d850152dc7b8d6dd25fbc6c4e36be87c42f53
Fixed In Version: xscreensaver-5.32-9.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-09 08:39:14 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
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
/var/tmp/abrt/ccpp-2015-02-24-11:25:50-4334/coredum
none
backtrace retaken
none
resualt of "rpm -qa | sort" none

Description jamie 2015-02-23 20:51:16 UTC
Version-Release number of selected component:
xscreensaver-extras-5.32-4.fc20

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        fontglide -root
crash_function: XftCharIndex
executable:     /usr/libexec/xscreensaver/fontglide
kernel:         3.14.4-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 XftCharIndex at xftglyphs.c:836
 #1 XftTextExtentsUtf8 at xftextent.c:234
 #2 pick_font_1
 #3 fontglide_draw

Comment 1 jamie 2015-02-23 20:51:18 UTC
Created attachment 994497 [details]
File: backtrace

Comment 2 jamie 2015-02-23 20:51:19 UTC
Created attachment 994498 [details]
File: cgroup

Comment 3 jamie 2015-02-23 20:51:20 UTC
Created attachment 994499 [details]
File: core_backtrace

Comment 4 jamie 2015-02-23 20:51:21 UTC
Created attachment 994500 [details]
File: dso_list

Comment 5 jamie 2015-02-23 20:51:21 UTC
Created attachment 994501 [details]
File: environ

Comment 6 jamie 2015-02-23 20:51:22 UTC
Created attachment 994502 [details]
File: exploitable

Comment 7 jamie 2015-02-23 20:51:23 UTC
Created attachment 994503 [details]
File: limits

Comment 8 jamie 2015-02-23 20:51:24 UTC
Created attachment 994504 [details]
File: maps

Comment 9 jamie 2015-02-23 20:51:25 UTC
Created attachment 994505 [details]
File: open_fds

Comment 10 jamie 2015-02-23 20:51:26 UTC
Created attachment 994506 [details]
File: proc_pid_status

Comment 11 jamie 2015-02-23 20:51:27 UTC
Created attachment 994507 [details]
File: var_log_messages

Comment 12 Mamoru TASAKA 2015-02-24 06:29:45 UTC
* Would you attach or send to me /var/tmp/abrt/ccpp-2015-02-21-10:52:56-3358/coredump ?
* Is this reproducible when you execute
  /usr/libexec/xscreensaver/fontglide
  manually?

Comment 13 jamie 2015-02-24 16:37:09 UTC
Created attachment 994765 [details]
/var/tmp/abrt/ccpp-2015-02-24-11:25:50-4334/coredum

Yes you can reproduce it manually and it appears to be reprecudable too. I only have a core dump from today, not the other day.

Comment 14 Mamoru TASAKA 2015-02-25 00:25:49 UTC
Created attachment 994970 [details]
backtrace retaken

Comment 15 Mamoru TASAKA 2015-02-25 01:09:30 UTC
Looks like XftFontOpenXlfd() is failing due to some unknown reason.
Well,

* Would you attach the result of
  $ rpm -qa | sort
  ?
* Also would you try executing
  $ xfontsel -pattern '-misc-liberation sans-medium-i-normal--165-*-100-100-p-*-iso8859-1'
  and check if some font appears?

  (If xfontsel is not found, do $ sudo yum install xorg-x11-apps ,
   relogin and try again? and if you have newly installed xorg-x11-apps
   and relogin, would you retry $ /usr/libexec/xscreensaver/fontglide ? )

Comment 16 jamie 2015-02-25 15:25:40 UTC
Created attachment 995239 [details]
resualt of "rpm -qa | sort"

Comment 17 jamie 2015-02-25 15:27:12 UTC
$ xfontsel -pattern '-misc-liberation sans-medium-i-normal--165-*-100-100-p-*-iso8859-1' displays but in the terminal I get 
"Warning: Missing charsets in String to FontSet conversion" is this a problem.

Comment 18 Mamoru TASAKA 2015-02-27 07:08:23 UTC
While still I have no idea why XftFontOpenXlfd() is failing here,
would you try below if fontglide works?

http://koji.fedoraproject.org/scratch/mtasaka/task_9088569/

Comment 19 jamie 2015-02-27 14:40:04 UTC
I need some addinstal package to install that package as I get these depdency errors: 

error: Failed dependencies:
	xscreensaver-base = 1:5.32-8.200.fc20 is needed by xscreensaver-1:5.32-8.200.fc20.armv7hl
	xscreensaver-extras = 1:5.32-8.200.fc20 is needed by xscreensaver-1:5.32-8.200.fc20.armv7hl
	xscreensaver-gl-extras = 1:5.32-8.200.fc20 is needed by xscreensaver-1:5.32-8.200.fc20.armv7hl
I think I need xscreensaver-base of the same version? 

More importantly running "/usr/libexec/xscreensaver/fontglide" on monitor 0 works fine but on montioir 1 it crashes. I do not have 'Xinermra' enabled.

Comment 20 Mamoru TASAKA 2015-02-27 15:14:47 UTC
Why arm? If you run x86_64 machine, arm rpms will never work.

Please try going
http://koji.fedoraproject.org/scratch/mtasaka/task_9088569/
, download all x86_64 rpms (not arm) and do

$ sudo rpm -Fvh *rpm

Then it will upgrade all xscreensaver related rpms you have
already installed. All xscreensaver packages must have the same
EVR (epoch-version-release).

Comment 21 Mamoru TASAKA 2015-02-27 15:24:51 UTC
(After upgrading all xscreensaver-*rpm to 5.32-8.200.fc20, please retry

$ rpm -qa | grep xscreensaver

and make it sure that you actually installed x86_64 rpms )

Comment 22 jamie 2015-02-27 15:41:04 UTC
Output of "rpm -qa | grep xscreensaver"
xscreensaver-extras-5.32-8.200.fc20.x86_64
xscreensaver-gl-base-5.32-8.200.fc20.x86_64
xscreensaver-gl-extras-5.32-8.200.fc20.x86_64
xscreensaver-extras-base-5.32-8.200.fc20.x86_64
xscreensaver-5.32-8.200.fc20.x86_64
xscreensaver-base-5.32-8.200.fc20.x86_64

It appears that upgrading the screen savers fixed the bug. As for the aritexture I thought "armv7hl" was part of the version number and not the artiature.( I thought the arm version was "arm". Luckily I did NOT install that version.

Comment 23 Mamoru TASAKA 2015-02-27 15:47:11 UTC
Ah, I see.

Okay, thank you for confirming! I will push this modification to
testing.

Comment 24 Fedora Update System 2015-02-27 16:53:45 UTC
xscreensaver-5.32-9.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/xscreensaver-5.32-9.fc22

Comment 25 Fedora Update System 2015-02-27 16:54:19 UTC
xscreensaver-5.32-9.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/xscreensaver-5.32-9.fc20

Comment 26 Fedora Update System 2015-02-27 16:55:01 UTC
xscreensaver-5.32-9.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/xscreensaver-5.32-9.fc21

Comment 27 Fedora Update System 2015-02-28 10:22:56 UTC
Package xscreensaver-5.32-9.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xscreensaver-5.32-9.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2820/xscreensaver-5.32-9.fc20
then log in and leave karma (feedback).

Comment 28 jamie 2015-02-28 17:21:10 UTC
I've added a comment at that URl as a annommanese users.

Comment 29 Fedora Update System 2015-03-04 10:33:24 UTC
xscreensaver-5.32-9.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 30 Fedora Update System 2015-03-09 08:19:55 UTC
xscreensaver-5.32-9.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 31 Fedora Update System 2015-03-09 08:39:14 UTC
xscreensaver-5.32-9.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.