Project

General

Profile

Bug #224

[mips64el][X]: Xorg segfaults

pete - over 9 years ago - . Updated over 4 years ago.

Status:
fixed
Priority:
bug
Assignee:
-
% Done:

100%


Description

X.Org X Server 1.13.0
Release Date: 2012-09-05

Steps to reproduce:

0. Run emacs -nw in xterm and epiphany.
1. Switch to a tty and continue to work there.
2. Wait (or work) for 30 mins or so.
3. Xorg should crash with a segfault.

(Xorg.0.log doesn't contain anything useful.)

History

#2

Updated by mtjm over 9 years ago

What xf86-* packages (and versions) do you have installed? Please post your /etc/X11/xorg.conf, /etc/X11/xorg.conf.d files and the log (it has other useful information). Would be nice if it could be reproduced in a non-interactive way (e.g. by running x11perf with appropriate arguments).

I have observed hangs with xf86-video-siliconmotion depending on the bpp and acceleration architecture used, this might be similar (although would be easier to debug if it just segfaults).

#3

Updated by x over 9 years ago

extra/xf86-input-evdev 2.7.3-2
extra/xf86-input-synaptics 1.6.2-1
extra/xf86-video-siliconmotion 1.7.7-2

/etc/X11/xorg.conf: https://wiki.parabolagnulinux.org/X11_configuration_on_YeeLoong

/etc/X11/xorg.conf.d/10-evdev.conf: (default)

#
  1. Catch-all evdev loader for udev-based systems
  2. We don't simply match on any device since that also adds accelerometers
  3. and other devices that we don't really want to use. The list below
  4. matches everything but joysticks.

Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

/etc/X11/xorg.conf.d/10-quirks.conf: (default)

  1. Collection of quirks and blacklist/whitelists for specific devices.
  1. Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
  2. http://bugs.freedesktop.org/show_bug.cgi?id=22442
    Section "InputClass"
    Identifier "ThinkPad HDAPS accelerometer blacklist"
    MatchProduct "ThinkPad HDAPS accelerometer data"
    Option "Ignore" "on"
    EndSection

/var/log/Xorg.0.log:

[ 592.096]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 592.098] X Protocol Version 11, Revision 0
[ 592.100] Build Operating System: Linux 3.6.3-1-LIBRE mips64
[ 592.104] Kernel command line: root=/dev/sda3 console=tty no_auto_cmd resume=/dev/sda2 libata.force=80c PMON_VER=LM8089-1.4.9 EC_VER=PQ1D28 machtype=lemote-yeeloong-2f-8.9inches
[ 592.109]
[ 592.111] Current version of pixman: 0.28.0
[ 592.114] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 592.114] Markers: (--) probed, () from config file, (==) default setting,
(+) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 592.123] (==) Log file: "/var/log/Xorg.0.log", Time:
[ 592.158] (==) Using config file: "/etc/X11/xorg.conf"
[ 592.159] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 592.180] (==) ServerLayout "X.org Configured"
[ 592.180] (
) |-->Screen "Screen0" (0)
[ 592.181] () | |-->Monitor "<default monitor>"
[ 592.184] (
) | |-->Device "Card0"
[ 592.184] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 592.185] (==) Automatically adding devices
[ 592.185] (==) Automatically enabling devices
[ 592.185] (==) Automatically adding GPU devices
[ 592.280] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 592.280] Entry deleted from font path.
[ 592.280] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 592.281] Entry deleted from font path.
[ 592.282] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 592.282] Entry deleted from font path.
[ 592.282] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 592.283] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 592.283] Entry deleted from font path.
[ 592.283] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 592.284] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 592.284] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 592.284] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 592.284] (II) Loader magic: 0x10212010
[ 592.284] (II) Module ABI versions:
[ 592.284] X.Org ANSI C Emulation: 0.4
[ 592.285] X.Org Video Driver: 13.0
[ 592.285] X.Org XInput driver : 18.0
[ 592.285] X.Org Server Extension : 7.0
[ 592.294] (--) PCI:*(0:0:8:0) 126f:0712:0000:0000 rev 176, Mem @ 0x40000000/16777216
[ 592.297] Initializing built-in extension Generic Event Extension
[ 592.298] Initializing built-in extension SHAPE
[ 592.299] Initializing built-in extension MIT-SHM
[ 592.301] Initializing built-in extension XInputExtension
[ 592.302] Initializing built-in extension XTEST
[ 592.303] Initializing built-in extension BIG-REQUESTS
[ 592.305] Initializing built-in extension SYNC
[ 592.306] Initializing built-in extension XKEYBOARD
[ 592.307] Initializing built-in extension XC-MISC
[ 592.339] Initializing built-in extension SECURITY
[ 592.372] Initializing built-in extension XINERAMA
[ 592.403] Initializing built-in extension XFIXES
[ 592.432] Initializing built-in extension RENDER
[ 592.461] Initializing built-in extension RANDR
[ 592.490] Initializing built-in extension COMPOSITE
[ 592.518] Initializing built-in extension DAMAGE
[ 592.546] Initializing built-in extension MIT-SCREEN-SAVER
[ 592.575] Initializing built-in extension DOUBLE-BUFFER
[ 592.603] Initializing built-in extension RECORD
[ 592.631] Initializing built-in extension DPMS
[ 592.658] Initializing built-in extension X-Resource
[ 592.681] Initializing built-in extension XVideo
[ 592.702] Initializing built-in extension XVideo-MotionCompensation
[ 592.723] Initializing built-in extension XFree86-VidModeExtension
[ 592.741] Initializing built-in extension XFree86-DGA
[ 592.741] (II) LoadModule: "int10"
[ 592.755] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 592.807] (II) Module int10: vendor="X.Org Foundation"
[ 592.807] compiled for 1.13.0, module version = 1.0.0
[ 592.808] ABI class: X.Org Video Driver, version 13.0
[ 592.808] (II) LoadModule: "exa"
[ 592.854] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 592.904] (II) Module exa: vendor="X.Org Foundation"
[ 592.904] compiled for 1.13.0, module version = 2.6.0
[ 592.904] ABI class: X.Org Video Driver, version 13.0
[ 592.905] (II) LoadModule: "xaa"
[ 592.942] (WW) Warning, couldn't open module xaa
[ 592.942] (II) UnloadModule: "xaa"
[ 592.942] (II) Unloading xaa
[ 592.943] (EE) Failed to load module "xaa" (module does not exist, 0)
[ 592.943] (II) LoadModule: "vgahw"
[ 592.943] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 592.946] (II) Module vgahw: vendor="X.Org Foundation"
[ 592.946] compiled for 1.13.0, module version = 0.1.0
[ 592.947] ABI class: X.Org Video Driver, version 13.0
[ 592.947] (II) LoadModule: "siliconmotion"
[ 592.947] (II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
[ 592.996] (II) Module siliconmotion: vendor="X.Org Foundation"
[ 592.996] compiled for 1.13.0, module version = 1.7.7
[ 592.996] Module class: X.Org Video Driver
[ 592.996] ABI class: X.Org Video Driver, version 13.0
[ 592.996] (II) SMI: driver (version 1.7.7) for Silicon Motion Lynx chipsets: Lynx,
LynxE, Lynx3D, LynxEM, LynxEM, Lynx3DM, Cougar3DR, MSOC
[ 592.997] (--) using VT number 7

[ 593.099] (WW) xf86EnableIOPorts: map iobase (776f0000)
[ 593.099] (WW) Falling back to old probe method for siliconmotion
[ 593.099] (--) Assigning device section with no busID to primary device
[ 593.099] (--) Chipset LynxEM+ found
[ 593.100] (II) Loading sub module "vgahw"
[ 593.100] (II) LoadModule: "vgahw"
[ 593.102] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 593.102] (II) Module vgahw: vendor="X.Org Foundation"
[ 593.102] compiled for 1.13.0, module version = 0.1.0
[ 593.102] ABI class: X.Org Video Driver, version 13.0
[ 593.103] () SMI: Depth 16, (--) framebuffer bpp 16
[ 593.103] (==) SMI: RGB weight 565
[ 593.103] (==) SMI: Default visual is TrueColor
[ 593.103] (
) SMI: Option "UseBIOS" "off"
[ 593.104] () SMI: Option "AccelMethod" "XAA"
[ 593.104] (
) SMI: Option "PanelSize" "1024x600"
[ 593.104] (==) SMI: PCI Burst enabled
[ 593.104] (==) SMI: PCI Retry enabled
[ 593.104] (==) SMI: Using Hardware Cursor
[ 593.104] () SMI: Option: UseBIOS disabled.
[ 593.104] (--) SMI: Chipset: "LynxEM+"
[ 593.104] (==) SMI: Dual head disabled
[ 593.105] (
) SMI: Using XAA acceleration architecture
[ 593.105] (--) SMI: videoram: 4096kB
[ 593.106] (II) SMI: Cursor Offset: 003FFC00
[ 593.106] (II) SMI: vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 593.106] (II) SMI: Reserved: 003FF800
[ 593.106] (II) SMI: OFF Panel Size = 1024x600
[ 593.106] (II) Loading sub module "i2c"
[ 593.107] (II) LoadModule: "i2c"
[ 593.107] (II) Module "i2c" already built-in
[ 593.107] (II) SMI: I2C bus "I2C bus" initialized.
[ 593.107] (II) Loading sub module "ddc"
[ 593.107] (II) LoadModule: "ddc"
[ 593.107] (II) Module "ddc" already built-in
[ 593.107] (==) SMI: Using gamma correction (1.0, 1.0, 1.0)
[ 593.107] (II) SMI: MCLK = 157.000
[ 593.108] (II) SMI: Output LVDS has no monitor section
[ 593.108] (II) SMI: Printing probed modes for output LVDS
[ 593.108] (II) SMI: Modeline "1024x600"x59.9 49.00 1024 1072 1168 1312 600 603 613 624 hsync +vsync (37.3 kHz UP)
[ 593.108] (II) SMI: Output LVDS connected
[ 593.108] (II) SMI: Using user preference for initial modes
[ 593.108] (II) SMI: Output LVDS using initial mode 1024x600
[ 593.108] (II) SMI: Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 593.109] (==) SMI: DPI set to (96, 96)
[ 593.109] (II) Loading sub module "fb"
[ 593.109] (II) LoadModule: "fb"
[ 593.110] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 593.119] (II) Module fb: vendor="X.Org Foundation"
[ 593.119] compiled for 1.13.0, module version = 1.0.0
[ 593.119] ABI class: X.Org ANSI C Emulation, version 0.4
[ 593.119] (II) Loading sub module "xaa"
[ 593.119] (II) LoadModule: "xaa"
[ 593.121] (WW) Warning, couldn't open module xaa
[ 593.121] (II) UnloadModule: "xaa"
[ 593.122] (II) Unloading xaa
[ 593.122] (EE) SMI: Failed to load module "xaa" (module does not exist, 0)
[ 593.122] (WW) SMI: No acceleration
[ 593.122] (II) Loading sub module "ramdac"
[ 593.122] (II) LoadModule: "ramdac"
[ 593.122] (II) Module "ramdac" already built-in
[ 593.123] (II) SMI: Cursor Offset: 003FFC00
[ 593.123] (II) SMI: vgaHWGetIOBase: hwp
>IOBase is 0x03d0
[ 593.123] (II) SMI: Reserved: 003FF800
[ 593.312] (II) SMI: FrameBuffer Box: 0,0 - 1024,2047
[ 593.343] (==) SMI: DPMS enabled
[ 593.344] (II) SMI: I2C device "I2C bus:SAA 7111A" registered at address 0x48.
[ 593.346] (II) SMI: I2C device "I2C bus:SAA 7111A" removed.
[ 593.347] (II) SMI: RandR 1.2 enabled, ignore the following RandR disabled message.
[ 593.348] (--) RandR disabled
[ 593.460] (II) SMI: Setting screen physical size to 270 x 158
[ 594.727] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 594.728] () AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 594.728] (II) LoadModule: "evdev"
[ 594.729] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 594.787] (II) Module evdev: vendor="X.Org Foundation"
[ 594.787] compiled for 1.13.0, module version = 2.7.3
[ 594.787] Module class: X.Org XInput Driver
[ 594.787] ABI class: X.Org XInput driver, version 18.0
[ 594.787] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 594.788] (
) AT Translated Set 2 keyboard: always reports core events
[ 594.788] () evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 594.788] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 594.789] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 594.789] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 594.789] (
) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 594.789] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 6)
[ 594.789] () Option "xkb_rules" "evdev"
[ 594.789] (
) Option "xkb_model" "evdev"
[ 594.789] () Option "xkb_layout" "us"
[ 595.198] (II) config/udev: Adding input device FSPPS/2 Sentelic FingerSensingPad (/dev/input/event2)
[ 595.198] (
) FSPPS/2 Sentelic FingerSensingPad: Applying InputClass "evdev pointer catchall"
[ 595.198] (II) Using input driver 'evdev' for 'FSPPS/2 Sentelic FingerSensingPad'
[ 595.198] () FSPPS/2 Sentelic FingerSensingPad: always reports core events
[ 595.198] (
) evdev: FSPPS/2 Sentelic FingerSensingPad: Device: "/dev/input/event2"
[ 595.199] (--) evdev: FSPPS/2 Sentelic FingerSensingPad: Vendor 0x2 Product 0xf
[ 595.199] (--) evdev: FSPPS/2 Sentelic FingerSensingPad: Found 11 mouse buttons
[ 595.199] (--) evdev: FSPPS/2 Sentelic FingerSensingPad: Found scroll wheel(s)
[ 595.199] (--) evdev: FSPPS/2 Sentelic FingerSensingPad: Found relative axes
[ 595.199] (--) evdev: FSPPS/2 Sentelic FingerSensingPad: Found x and y relative axes
[ 595.199] (II) evdev: FSPPS/2 Sentelic FingerSensingPad: Configuring as mouse
[ 595.199] (II) evdev: FSPPS/2 Sentelic FingerSensingPad: Adding scrollwheel support
[ 595.199] () evdev: FSPPS/2 Sentelic FingerSensingPad: YAxisMapping: buttons 4 and 5
[ 595.199] (
) evdev: FSPPS/2 Sentelic FingerSensingPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 595.199] () Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input2/event2"
[ 595.200] (II) XINPUT: Adding extended input device "FSPPS/2 Sentelic FingerSensingPad" (type: MOUSE, id 7)
[ 595.200] (II) evdev: FSPPS/2 Sentelic FingerSensingPad: initialized for relative axes.
[ 595.201] (
) FSPPS/2 Sentelic FingerSensingPad: (accel) keeping acceleration scheme 1
[ 595.201] () FSPPS/2 Sentelic FingerSensingPad: (accel) acceleration profile 0
[ 595.201] (
) FSPPS/2 Sentelic FingerSensingPad: (accel) acceleration factor: 2.000
[ 595.201] () FSPPS/2 Sentelic FingerSensingPad: (accel) acceleration threshold: 4
[ 595.203] (II) config/udev: Adding input device FSPPS/2 Sentelic FingerSensingPad (/dev/input/mouse0)
[ 595.203] (II) No input driver specified, ignoring this device.
[ 595.203] (II) This device may have been added with another device file.
[ 595.204] (II) config/udev: Adding input device HotKeys (/dev/input/event1)
[ 595.204] (
) HotKeys: Applying InputClass "evdev keyboard catchall"
[ 595.205] (II) Using input driver 'evdev' for 'HotKeys'
[ 595.205] () HotKeys: always reports core events
[ 595.205] (
) evdev: HotKeys: Device: "/dev/input/event1"
[ 595.205] (--) evdev: HotKeys: Vendor 0 Product 0
[ 595.205] (--) evdev: HotKeys: Found keys
[ 595.205] (II) evdev: HotKeys: Configuring as keyboard
[ 595.205] () Option "config_info" "udev:/sys/devices/virtual/input/input1/event1"
[ 595.205] (II) XINPUT: Adding extended input device "HotKeys" (type: KEYBOARD, id 8)
[ 595.205] (
) Option "xkb_rules" "evdev"
[ 595.206] () Option "xkb_model" "evdev"
[ 595.206] (
) Option "xkb_layout" "us"
[ 1268.241] (WW) xf86EnableIOPorts: map iobase (7769c000)
[ 1268.242] (II) SMI: Cursor Offset: 003FFC00
[ 1268.242] (II) SMI: vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 1268.242] (II) SMI: Reserved: 003FF800
[ 2191.228] (EE)
[ 2191.229] (EE) Backtrace:
[ 2191.231] (EE) 0: /usr/bin/X (xorg_backtrace+0x68) [0x101c5e78]
[ 2191.232] (EE)
[ 2191.233] (EE) Segmentation fault at address 0x7759c3c4
[ 2191.234]
Fatal server error:
[ 2191.234] Caught signal 11 (Segmentation fault). Server aborting
[ 2191.235]
[ 2191.235] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2191.236] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2191.237] (EE)
[ 2191.241] (II) evdev: HotKeys: Close
[ 2191.242] (II) UnloadModule: "evdev"
[ 2191.243] (II) evdev: FSPPS/2 Sentelic FingerSensingPad: Close
[ 2191.243] (II) UnloadModule: "evdev"
[ 2191.244] (II) evdev: AT Translated Set 2 keyboard: Close
[ 2191.244] (II) UnloadModule: "evdev"
[ 2191.347] Server terminated with error (1). Closing log file.

$ sudo pacman -S xorg-x11perf
resolving dependencies...
looking for inter-conflicts...

Targets (1): xorg-x11perf-1.5.4-1

Total Installed Size: 0.23 MiB

Proceed with installation? [Y/n]
(1/1) checking package integrity [######################] 100%
error: xorg-x11perf: missing required signature
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

#4

Updated by mtjm over 9 years ago

Couldn't reproduce the segfault: the machine hangs (e.g. pings don't work over wlan, cursor doesn't move) when opening the help menu of konsole running without a window manager with the default X settings. I will try with different settings (mine has 24 bpp and NoAccel) and change the wiki page.

#5

Updated by mtjm over 9 years ago

Using 24 bpp works, both EXA and NoAccel (there is no XAA now); updated the wiki. Does it crash for you with the new configuration?

#6

Updated by mtjm over 9 years ago

There is a similar upstream report https://bugs.freedesktop.org/show_bug.cgi?id=21622.

#7

Updated by dan65 over 9 years ago

Using 24 bpp works, both EXA and NoAccel (there is no XAA now); updated the wiki. Does it crash for you with the new configuration?

Yes. It will crash if you do the following:

0. startx
1. switch to any tty (e.g. ALT+CTRL+F3)
2. switch to tty7 via ALT+arrow or ALT+CTRL+F7
3. it should crash

I also tried x11perf with various options. No problems at all.

#8

Updated by mtjm over 9 years ago

Observed such a crash with xorg-server 1.13.0-4 with EXA and 24 bpp.

#9

Updated by mtjm over 9 years ago

The same with 1.13.0.902-2.

#10

Updated by ovruni almost 9 years ago

xorg-server is in 1.14.2-2 . Check if the problem persists.

#11

Updated by mtjm over 8 years ago

  • Status changed from in progress to info needed
  • Assignee deleted (mtjm)
#12

Updated by Anonymous about 6 years ago

  • Project changed from 3 to Ports
#13

Updated by Anonymous almost 6 years ago

  • Start date changed from 3000-11-17 to 2012-11-17
#14

Updated by isacdaavid over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from info needed to fixed

Also available in: Atom PDF