[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#398067: xserver-xorg-video-vesa segfaults with Cirrus Logic GD 7543 [Viking] since upgrade to X.org 7.1



Subject: xserver-xorg-video-vesa segfaults with Cirrus Logic GD 7543 [Viking] since upgrade to X.org 7.1
Package: xserver-xorg-video-vesa
Version: 1:1.2.1-3
Severity: important

Since upgrading xserver-xorg from 1:7.0.22 -> 1:7.1.0-5 and
xserver-xorg-video-vesa from 1:1.0.1.3-2 to 1:1.2.1-3 in testing, X.org
segfaults on my testing machine, with the previously working config file
as well as with a manually adapted one. Using it with startx and the
following configuration (my original one from 7.0, just with three
modules not supported by the graphics card commented out):

-xorg.conf---------------------------------------------------------------------
Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
#	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
#	Load	"glx"
	Load	"int10"
	Load	"record"
#	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc102"
	Option		"XkbLayout"	"de_CH"
	Option		"XkbVariant"	"nodeadkeys"
	Option		"XkbOptions"	"ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/gpmdata"
	Option		"Protocol"		"IntelliMouse"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"Cirrus Logic GD 7543 [Viking]"
	Driver		"vesa"
EndSection

Section "Monitor"
	Identifier	"Compaq LTE 5100 LCD"
	HorizSync	28-38
	VertRefresh	43-72
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Cirrus Logic GD 7543 [Viking]"
	Monitor		"Compaq LTE 5100 LCD"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
-end---------------------------------------------------------------------------

The output from startx is:
-------------------------------------------------------------------------------
xauth:  creating new authority file /home/abe/.serverauth.11337


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux pony 2.6.17-2-486 #1 Wed Sep 13 15:56:30 UTC 2006 i586
Build Date: 07 July 2006
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 11 13:22:29 2006
(==) Using config file: "/etc/X11/xorg.conf"
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+de_CH(nodeadkeys)+ctrl(nocaps)" };
    xkb_geometry             { include "pc(pc102)" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Can't find file "de_CH" for symbols include
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server

Backtrace:
0: /usr/bin/X11/X(xf86SigHandler+0x84) [0x80c4354]
1: [0xffffe420]
2: /usr/lib/xorg/modules/libfb.so(fbBlt+0x93b) [0xa7b70edb]
3: /usr/lib/xorg/modules/libfb.so(fbOddTile+0x114) [0xa7b8a774]
4: /usr/lib/xorg/modules/libfb.so(fbTile+0x8c) [0xa7b8a83c]
5: /usr/lib/xorg/modules/libfb.so(fbFillRegionTiled+0x1a6) [0xa7b8b136]
6: /usr/lib/xorg/modules/libfb.so(fbPaintWindow+0x108) [0xa7b8b3b8]
7: /usr/bin/X11/X [0x81546cf]
8: /usr/bin/X11/X(miWindowExposures+0xf6) [0x810a286]
9: /usr/bin/X11/X(MapWindow+0x34e) [0x8072f8e]
10: /usr/bin/X11/X(InitRootWindow+0xb8) [0x8073118]
11: /usr/bin/X11/X(main+0x438) [0x806e648]
12: /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xa7d60ea8]
13: /usr/bin/X11/X(FontFileCompleteXLFD+0xa9) [0x806d9d1]

Fatal server error:
Caught signal 11.  Server aborting

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
-end---------------------------------------------------------------------------

It even still segfaults if I comment out all "Load" lines in the
"Module" section. Even the memory addresses seem to be the same.

BTW: I haven't used the Cirrus driver, since I experience similar
effects like the ones described in #366513. If I just change the
"Driver" line to "cirrus" instead of "vesa", I get the following error:

-------------------------------------------------------------------------------
(EE) No devices detected.

Fatal server error:
no screens found
-end---------------------------------------------------------------------------

Using the vga driver and setting the DefaultDepth to 8, it works. Well,
as far as you can work with a 52x12 terminal even with font set to
fixed. But setting the DefaultDepth down to 8 with vesa driver doesn't
help. It still segfaults.

I also tried to remove as much as possible from the .xinitrc, leaving
only an xterm to start. Didn't help either, unfortunately.

lspci output:
-------------------------------------------------------------------------------
00:01.0 ISA bridge: OPTi Inc. 82C558 [Viper-M ISA+IDE]
00:02.0 VGA compatible controller: Cirrus Logic GD 7543 [Viking]
-end---------------------------------------------------------------------------

BTW: I can't understand the "Can't find file "de_CH" for symbols
include" error message, since /etc/X11/xkb/symbols/de_CH clearly exists
and seems to have useful content.

And how can the line

     xkb_symbols              { include "pc(pc105)+de_CH(nodeadkeys)+ctrl(nocaps$

happen when I configured a 102 keys keyboard? (OTOH xkbcomp errors
shouldn't be the ones which cause X.org to segfault. Will report them
with more detailed information as soon as I got X.org working again.)

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-486
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)

Versions of packages xserver-xorg-video-vesa depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  xserver-xorg-core            2:1.1.1-10  X.Org X server -- core server

xserver-xorg-video-vesa recommends no packages.

-- no debconf information



Reply to: