Bug 31675

Summary: X-window server crashes as soon as calling emacs
Product: xorg Reporter: Kornel Benko <Kornel.Benko>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: c.r, Kornel.Benko, koukola, pekane52
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=31501
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Backtrace in gdb after crash
none
Disassembled code, registers
none
Xorg.0.log at crashtime
none
Extended data of Xorg.log none

Description Kornel Benko 2010-11-17 00:50:37 UTC
Created attachment 40328 [details]
Backtrace in gdb after crash

This is on ubuntu 10.10 after upgrading from 10.04.
Every time i try to call emac, the x-server crashes, and I have to login again.

Following the advice, I get the debug-version. Attached the gdb output.
Comment 1 Pat Kane 2010-11-18 04:33:55 UTC
The backtrace points to line 943 in dix/dixfonts.c

	    err = (*fpe_functions[fpe->type].list_next_font_with_info)
		(client, fpe, &name, &namelen, &pFontInfo,
		 &numFonts, c->current.private);

Can you display the registers?   

A few lines of the asm code before and after the instruction that 
caused the fault would be interesting too.
Comment 2 Pat Kane 2010-11-18 04:42:07 UTC
Here is another report of the problem, also on an AMD 64 box:
 http://lists.freedesktop.org/archives/xorg/2010-November/051831.html
Comment 3 Pat Kane 2010-11-18 04:54:46 UTC
Please attach your /var/log/Xorg.0.log file
Comment 4 Kornel Benko 2010-11-18 05:17:39 UTC
Created attachment 40372 [details]
Disassembled code, registers

Added the disassembly and register info as requested.
Comment 5 Kornel Benko 2010-11-18 05:28:02 UTC
Created attachment 40377 [details]
Xorg.0.log at crashtime

1.) Started (KDE) session // with gnu session the same effect
2.) Started konsole
3.) calling emacs from konsole ==> crash
Comment 6 Kornel Benko 2010-11-18 05:37:26 UTC
Created attachment 40379 [details]
Extended data of Xorg.log

After restarting the session, this data was also added to in /var/log/Xorg.0.log.old
Comment 7 Kornel Benko 2010-11-18 05:38:55 UTC
(In reply to comment #3)
> Please attach your /var/log/Xorg.0.log file

Yes, it looks very alike to my crashes
Comment 8 Daniel Koukola 2010-11-30 16:13:14 UTC
I have the same problem after upgrading from Fedora 13 to Fedora 14.
Comment 9 Pat Kane 2010-11-30 17:03:49 UTC
If you are using the rpmfusion binary NVIDIA driver then you
probably have this bug:
 
   https://bugzilla.rpmfusion.org/show_bug.cgi?id=1528
Comment 10 Daniel Koukola 2010-12-09 19:36:53 UTC
It crashes with the nouveau driver too. But removing the following line from xorg.conf seems to help:

FontPath     "unix/:7100"
Comment 11 Colin Harrison 2010-12-15 04:52:46 UTC
Hi,

https://bugs.freedesktop.org/show_bug.cgi?id=31501
is the same bug.

Thanks,
Colin Harrison
Comment 12 Julien Cristau 2011-03-07 04:12:14 UTC

*** This bug has been marked as a duplicate of bug 31501 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.