Bug 709484

Summary: Xorg crashes on start (use) KDE applications [@ doListFontsWithInfo]
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: ajax, compnerd, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: [cat:crash]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 14:42:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
xorg.conf
none
/var/log/messages normal boot
none
dmesg out normal boot
none
Xorg.0.log normal boot
none
dmesg with drm.debug=0x04
none
/var/log/messages with drm.debug=0x04
none
Xorg.0.log with drm.debug=0x04 none

Description Pavel Alexeev 2011-05-31 19:42:40 UTC
Description of problem:
On activation KDE applications xorg crashes with next backtrace:
[   258.528] 0: /usr/bin/X (xorg_backtrace+0x3c) [0x80e834c]                                                                                   
[   258.528] 1: /usr/bin/X (0x8047000+0x5eec6) [0x80a5ec6]                                                                                     
[   258.528] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb8a40c]                                                                                  
[   258.528] 3: /usr/bin/X (doListFontsWithInfo+0x13b) [0x806ff6b]                                                                             
[   258.528] 4: /usr/bin/X (ProcessWorkQueue+0x31) [0x8073d71]                                                                                 
[   258.528] 5: /usr/bin/X (WaitForSomething+0x57) [0x809f0b7]                                                                                 
[   258.528] 6: /usr/bin/X (0x8047000+0x282ce) [0x806f2ce]                                                                                     
[   258.528] 7: /usr/bin/X (0x8047000+0x1b395) [0x8062395]                                                                                     
[   258.529] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x126e36]                                                                             
[   258.529] 9: /usr/bin/X (0x8047000+0x1af71) [0x8061f71]                                                                                     
[   258.529] Segmentation fault at address (nil)

In this example it is yakuake console.
Please note, it is start in XFCE session by default and notification appeared what it is hide. But when I try show X session ended.

It also happened on start konsole and umbrelo.

GTK applications work.

Version-Release number of selected component (if applicable):
# rpm -qa 'xorg*' '*kde*' yakuake 'qt*' | sort
kdebase-4.6.3-1.fc14.i686
kdebase-libs-4.6.3-1.fc14.i686
kdebase-runtime-4.6.3-1.fc14.i686
kdebase-runtime-flags-4.6.3-1.fc14.noarch
kdebase-runtime-libs-4.6.3-1.fc14.i686
kde-filesystem-4-35.fc13.noarch
kdegraphics-4.6.3-1.fc14.i686
kdegraphics-libs-4.6.3-1.fc14.i686
kde-l10n-4.6.3-1.fc14.noarch
kde-l10n-Russian-4.6.3-1.fc14.noarch
kdelibs3-3.5.10-24.fc14.i686
kdelibs-4.6.3-5.fc14.i686
kdelibs-common-4.6.3-5.fc14.i686
kdepimlibs-4.6.3-1.fc14.i686
kdesdk-4.6.3-2.fc14.i686
kdesdk-libs-4.6.3-2.fc14.i686
kdesdk-utils-4.6.3-2.fc14.i686
kde-settings-4.5-11.fc14.noarch
lockdev-1.0.3-5.fc14.i686
qt3-3.3.8b-30.fc14.i686
qt-4.7.2-8.fc14.i686
qtlockedfile-2.4-2.fc14.i686
qtsingleapplication-2.6.1-4.fc14.i686
qt-webkit-4.7.2-8.fc14.i686
qt-x11-4.7.2-8.fc14.i686
xorg-x11-apps-7.4-14.fc14.i686
xorg-x11-drv-evdev-2.5.0-1.fc14.i686
xorg-x11-drv-fbdev-0.4.1-4.fc14.i686
xorg-x11-drv-keyboard-1.4.0-5.fc14.i686
xorg-x11-drv-mga-1.4.11-3.fc14.i686
xorg-x11-drv-mouse-1.5.0-5.fc14.i686
xorg-x11-drv-vesa-2.3.0-2.fc14.i686
xorg-x11-drv-void-1.3.0-6.fc14.i686
xorg-x11-fonts-ISO8859-1-100dpi-7.2-12.fc14.noarch
xorg-x11-fonts-misc-7.2-12.fc14.noarch
xorg-x11-font-utils-7.4-4.fc14.i686
xorg-x11-resutils-7.1-10.fc14.i686
xorg-x11-server-common-1.9.5-1.fc14.i686
xorg-x11-server-utils-7.5-5.fc14.i686
xorg-x11-server-Xephyr-1.9.5-1.fc14.i686
xorg-x11-server-Xorg-1.9.5-1.fc14.i686
xorg-x11-utils-7.4-10.fc14.i686
xorg-x11-xauth-1.0.2-7.fc12.i686
xorg-x11-xdm-1.1.6-20.fc14.i686
xorg-x11-xfs-1.0.5-8.fc14.i686
xorg-x11-xinit-1.0.9-18.fc14.i686
xorg-x11-xkb-utils-7.5-1.fc14.i686
yakuake-2.9.8-1.fc14.i686

How reproducible:
Always

Comment 1 Matěj Cepl 2011-06-03 08:36:12 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log), and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Matěj Cepl 2011-06-16 23:25:40 UTC
In function doListFontsWithInfo:
(from frame 3: /usr/bin/X (doListFontsWithInfo+0x13b) [0x806ff6b]              )
910: 	    (*fpe_functions[fpe->type].client_died) ((pointer) client, fpe);
911: 	}
912: 	err = Successful;
913: 	goto bail;
914:     }
915:     client->pSwapReplyFunc = ReplySwapVector[X_ListFontsWithInfo];
916:     if (!c->current.patlen)
917: 	goto finish;
918:     while (c->current.current_fpe < c->num_fpes)
919:     {
920: >>>>>>> 	fpe = c->fpe_list[c->current.current_fpe];
921: 	err = Successful;
922: 	if (!c->current.list_started)
923:  	{
924: 	    err = (*fpe_functions[fpe->type].start_list_fonts_with_info)
925: 		(client, fpe, c->current.pattern, c->current.patlen,
926: 		 c->current.max_names, &c->current.private);
927: 	    if (err == Suspended)
928:  	    {
929: 		if (!ClientIsAsleep(client))
930: 		    ClientSleep(client,


Frame 4: /usr/bin/X (ProcessWorkQueue+0x31) [0x8073d71]                  
	/usr/src/debug/xorg-server-1.9.5/dix/dixutils.c:527
	ProcessWorkQueue
Frame 5: /usr/bin/X (WaitForSomething+0x57) [0x809f0b7]                  
	/usr/src/debug/xorg-server-1.9.5/os/WaitFor.c:170
	WaitForSomething
Frame 6: /usr/bin/X (0x8047000+0x282ce) [0x806f2ce]                      
	/usr/src/debug/xorg-server-1.9.5/dix/dispatch.c:370
	Dispatch
Frame 7: /usr/bin/X (0x8047000+0x1b395) [0x8062395]                      
	/usr/src/debug/xorg-server-1.9.5/dix/main.c:293
	main

Comment 3 Matěj Cepl 2011-06-16 23:27:06 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* complete X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 4 Pavel Alexeev 2011-06-25 20:25:18 UTC
Sorry for the big delay.
Now I ready provide all that files.

Comment 5 Pavel Alexeev 2011-06-25 20:25:56 UTC
Created attachment 509917 [details]
xorg.conf

Comment 6 Pavel Alexeev 2011-06-25 20:26:49 UTC
Created attachment 509918 [details]
/var/log/messages normal boot

Comment 7 Pavel Alexeev 2011-06-25 20:27:22 UTC
Created attachment 509919 [details]
dmesg out normal boot

Comment 8 Pavel Alexeev 2011-06-25 20:27:56 UTC
Created attachment 509920 [details]
Xorg.0.log normal boot

Comment 9 Pavel Alexeev 2011-06-25 20:28:34 UTC
Created attachment 509921 [details]
dmesg with drm.debug=0x04

Comment 10 Pavel Alexeev 2011-06-25 20:29:05 UTC
Created attachment 509922 [details]
/var/log/messages with drm.debug=0x04

Comment 11 Pavel Alexeev 2011-06-25 20:30:05 UTC
Created attachment 509923 [details]
Xorg.0.log with drm.debug=0x04

All files after reboot and crash happened.

I'll hope it help.

Comment 12 Drew 2011-07-20 12:15:43 UTC
Temporary fix from here: http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/459397-nvidia-driver-kdm-kde-seg-fault-dolistfontswithinfo-solved.html

Comment out the 'FontPath "unix/:7100"' option in Xorg.conf, disabling the listing of fonts.

Also I had submitted this bug previously here: https://bugzilla.redhat.com/show_bug.cgi?id=670218

Comment 13 Matěj Cepl 2011-07-20 16:19:45 UTC
(In reply to comment #12)
> Comment out the 'FontPath "unix/:7100"' option in Xorg.conf, disabling the
> listing of fonts.

Fedora hasn't had XFS per default for a long time already, and reporter doesn't have it switched on in xorg.conf.

> Also I had submitted this bug previously here:
> https://bugzilla.redhat.com/show_bug.cgi?id=670218

Which I have just closed because we cannot fix nvidia binary-drivers related bugs. Thank you for pointing this bug out.

Comment 14 Drew 2011-07-20 16:27:26 UTC
This bug report does indeed have it turned on. This in the Xorg.0.log attachment 509920 [details]:

[    72.732] (**) FontPath set to:
	unix/:7100,
	catalogue:/etc/X11/fontpath.d,
	built-ins

This is configured in their xorg.conf given in attachment 509917 [details].

I understand that you can't diagnose the issues with the binary driver, I had the same issues with the NV driver too. This is definitely an issue in Xorg code because this report is having the problems with the mga driver as well. I would doubt that it is driver related.

Comment 15 Matěj Cepl 2011-07-20 19:55:51 UTC
(In reply to comment #14)
> This bug report does indeed have it turned on. This in the Xorg.0.log
> attachment 509920 [details]:
> 
> [    72.732] (**) FontPath set to:
>  unix/:7100,
>  catalogue:/etc/X11/fontpath.d,
>  built-ins
> 
> This is configured in their xorg.conf given in attachment 509917 [details].

I am sorry, my mistake ... there are so many comments in the file, that I've missed it when eyeballing.

> I understand that you can't diagnose the issues with the binary driver, I had
> the same issues with the NV driver too. This is definitely an issue in Xorg
> code because this report is having the problems with the mga driver as well. I
> would doubt that it is driver related.

Notice, that I haven't closed THIS bug.

Comment 16 Drew 2011-07-20 20:00:27 UTC
>Notice, that I haven't closed THIS bug.

I know, and I appreciate that. I just wanted to make sure we were all on the same page.

Now that I'm on the notification list for this bug, if you need any testing, I will be happy to assist as best as I can.

Comment 17 Fedora End Of Life 2012-08-07 14:42:50 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping