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

Bug#712514: fb xserver crash in valuator_mask_zero



Package: xserver-xorg
Version: 1:7.7+3~deb7u1

Hi,
  (armhf on weird hardware...)

I've got a reliable crash running the framebuffer X server; I can
trigger it by dragging a window around on the display repeatedly,
it'll eventually seg at address 0 and gdb reporting:

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) where
#0  0x00000000 in ?? ()
#1  0x2a043296 in valuator_mask_zero (mask=<optimized out>)
    at /usr/include/arm-linux-gnueabihf/bits/string3.h:85
#2  0xbed4a5f0 in ?? ()
Cannot access memory at address 0x2
#3  0xbed4a5f0 in ?? ()
Cannot access memory at address 0x2

The 2a043296 is in the X server, so I suspect the valuator_mask_zero
is real
The bed4a5f0 is on the stack - so not much use.
(This is with NoTrapSignals)

Now while the hardware/setup is weird, this looks like a normal user
space crash, so I don't think it should be happening; it's also
reliable for me, always triggering and always ending up
in valuator_mask_zero.

Setup
-----
This is a Nook ST running a debian armhf chroot under NookManager
(an android boot) with a tweeked Nook 2.6.29 kernel (that adds support
for the ARM threading register).  The hardware is an OMAP3621
with eink display (which is a whole different story).

OK, so I said it's weird :-)

X server symlink status:
------------------------
lrwxrwxrwx 1 root root 13 May 26 01:24 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1276056 Apr 17 12:53 /usr/bin/Xorg

The lspci command was not found; not including PCI data.

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
-------------------------------
Linux version 2.6.29-omap1 (dg@major) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #16 PREEMPT Mon May 27 16:39:07 BST 2013

Xorg X server log files on system:
----------------------------------
-rw-r--r-- 1 root root  5815 May 26 17:01 /var/log/Xorg.3.log
-rw-r--r-- 1 root root  6240 May 26 17:40 /var/log/Xorg.4.log
-rw-r--r-- 1 root root  6632 May 26 18:48 /var/log/Xorg.5.log
-rw-r--r-- 1 root root 13857 May 27 14:52 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 14281 May 27 16:11 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 14012 Jun 16 16:38 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
---------------------------------------------------------------------
[  4553.670] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[  4553.670] _XSERVTransOpen: transport open failed for inet6/localhost:0
[  4553.671] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[  4553.675] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[  4553.676] X Protocol Version 11, Revision 0
[  4553.676] Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
[  4553.676] Current Operating System: Linux localhost 2.6.29-omap1 #16 PREEMPT Mon May 27 16:39:07 BST 2013 armv7l
[  4553.676] Kernel command line: console=ttyS1,115200n8 initrd rw init=/init vram=16M video=omap3epfb:mode=800x600x16x14x270x0,pmic=tps65180-1p2-i2c,vcom=-1990 androidboot.console=ttyS1
[  4553.677] Build Date: 17 April 2013  11:31:56AM
[  4553.677] xorg-server 2:1.12.4-6 (Julien Cristau <jcristau@debian.org>) 
[  4553.677] Current version of pixman: 0.26.0
[  4553.677]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  4553.677] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4553.678] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 16 16:38:35 2013
[  4553.680] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4553.682] (==) ServerLayout "Layout0"
[  4553.682] (**) |-->Screen "Screen0" (0)
[  4553.682] (**) |   |-->Monitor "<default monitor>"
[  4553.683] (**) |   |-->Device "Card0"
[  4553.683] (==) No monitor specified for screen "Screen0".
        Using a default monitor configuration.
[  4553.683] (**) |-->Input Device "touchscreen"
[  4553.683] (**) |-->Input Device "gpio-keys"
[  4553.683] (**) |-->Input Device "twl4030-keypad"
[  4553.684] (**) |-->Input Device "usbkbd"
[  4553.684] (**) |-->Input Device "usbkbd2"
[  4553.684] (**) |-->Input Device "usbmouse"
[  4553.684] (**) Option "NoTrapSignals"
[  4553.684] (**) Option "AutoAddDevices" "off"
[  4553.684] (**) Not automatically adding devices
[  4553.684] (==) Automatically enabling devices
[  4553.684] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4553.684]    Entry deleted from font path.
[  4553.684] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4553.684]    Entry deleted from font path.
[  4553.685] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4553.685]    Entry deleted from font path.
[  4553.685] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  4553.685]    Entry deleted from font path.
[  4553.685] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4553.685]    Entry deleted from font path.
[  4553.685] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4553.685]    Entry deleted from font path.
[  4553.685] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[  4553.685]    Entry deleted from font path.
[  4553.685] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[  4553.685] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4553.685] (II) Loader magic: 0x2a139cf0
[  4553.685] (II) Module ABI versions:
[  4553.685]    X.Org ANSI C Emulation: 0.4
[  4553.686]    X.Org Video Driver: 12.1
[  4553.686]    X.Org XInput driver : 16.0
[  4553.686]    X.Org Server Extension : 6.0
[  4553.686] (II) LoadModule: "extmod"
[  4553.687] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  4553.689] (II) Module extmod: vendor="X.Org Foundation"
[  4553.689]    compiled for 1.12.4, module version = 1.0.0
[  4553.689]    Module class: X.Org Server Extension
[  4553.689]    ABI class: X.Org Server Extension, version 6.0
[  4553.689] (II) Loading extension SELinux
[  4553.690] (II) Loading extension MIT-SCREEN-SAVER
[  4553.690] (II) Loading extension XFree86-VidModeExtension
[  4553.690] (II) Loading extension XFree86-DGA
[  4553.690] (II) Loading extension DPMS
[  4553.690] (II) Loading extension XVideo
[  4553.690] (II) Loading extension XVideo-MotionCompensation
[  4553.690] (II) Loading extension X-Resource
[  4553.690] (II) LoadModule: "dbe"
[  4553.691] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  4553.691] (II) Module dbe: vendor="X.Org Foundation"
[  4553.691]    compiled for 1.12.4, module version = 1.0.0
[  4553.691]    Module class: X.Org Server Extension
[  4553.691]    ABI class: X.Org Server Extension, version 6.0
[  4553.692] (II) Loading extension DOUBLE-BUFFER
[  4553.692] (II) LoadModule: "glx"
[  4553.692] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4553.693] (II) Module glx: vendor="X.Org Foundation"
[  4553.693]    compiled for 1.12.4, module version = 1.0.0
[  4553.693]    ABI class: X.Org Server Extension, version 6.0
[  4553.693] (==) AIGLX enabled
[  4553.693] (II) Loading extension GLX
[  4553.693] (II) LoadModule: "record"
[  4553.694] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  4553.695] (II) Module record: vendor="X.Org Foundation"
[  4553.695]    compiled for 1.12.4, module version = 1.13.0
[  4553.695]    Module class: X.Org Server Extension
[  4553.695]    ABI class: X.Org Server Extension, version 6.0
[  4553.695] (II) Loading extension RECORD
[  4553.695] (II) LoadModule: "dri"
[  4553.696] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  4553.697] (II) Module dri: vendor="X.Org Foundation"
[  4553.697]    compiled for 1.12.4, module version = 1.0.0
[  4553.697]    ABI class: X.Org Server Extension, version 6.0
[  4553.697] (II) Loading extension XFree86-DRI
[  4553.697] (II) LoadModule: "dri2"
[  4553.697] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  4553.698] (II) Module dri2: vendor="X.Org Foundation"
[  4553.698]    compiled for 1.12.4, module version = 1.2.0
[  4553.698]    ABI class: X.Org Server Extension, version 6.0
[  4553.698] (II) Loading extension DRI2
[  4553.698] (==) Matched fbdev as autoconfigured driver 0
[  4553.699] (==) Assigned the driver to the xf86ConfigLayout
[  4553.699] (II) LoadModule: "fbdev"
[  4553.699] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  4553.700] (II) Module fbdev: vendor="X.Org Foundation"
[  4553.700]    compiled for 1.12.1, module version = 0.4.2
[  4553.700]    ABI class: X.Org Video Driver, version 12.0
[  4553.700] (II) LoadModule: "evdev"
[  4553.701] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  4553.701] (II) Module evdev: vendor="X.Org Foundation"
[  4553.701]    compiled for 1.12.1, module version = 2.7.0
[  4553.701]    Module class: X.Org XInput Driver
[  4553.701]    ABI class: X.Org XInput driver, version 16.0
[  4553.701] (II) FBDEV: driver for framebuffer: fbdev
[  4553.703] (--) using VT number 1

[  4553.704] (WW) Falling back to old probe method for fbdev
[  4553.705] (II) Loading sub module "fbdevhw"
[  4553.705] (II) LoadModule: "fbdevhw"
[  4553.706] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  4553.706] (II) Module fbdevhw: vendor="X.Org Foundation"
[  4553.706]    compiled for 1.12.4, module version = 0.0.2
[  4553.707]    ABI class: X.Org Video Driver, version 12.1
[  4553.707] (II) FBDEV(0): using default device
[  4553.707] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  4553.707] (II) FBDEV(0): Creating default Display subsection in Screen section
        "Screen0" for depth/fbbpp 16/16
[  4553.707] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[  4553.707] (==) FBDEV(0): RGB weight 565
[  4553.707] (==) FBDEV(0): Default visual is TrueColor
[  4553.707] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  4553.708] (II) FBDEV(0): hardware: omap3epfb (video memory: 1876kB)
[  4553.708] (**) FBDEV(0): Option "Rotate" "CCW"
[  4553.708] (**) FBDEV(0): rotating screen counter-clockwise
[  4553.708] (II) FBDEV(0): checking modes against framebuffer device...
[  4553.708] (II) FBDEV(0): checking modes against monitor...
[  4553.708] (--) FBDEV(0): Virtual size is 600x800 (pitch 600)
[  4553.708] (**) FBDEV(0):  Built-in mode "current": 36.0 MHz, 43.7 kHz, 53.0 Hz
[  4553.708] (II) FBDEV(0): Modeline "current"x0.0   36.00  600 624 696 824  800 801 803 825 -hsync -vsync -csync (43.7 kHz b)
[  4553.708] (==) FBDEV(0): DPI set to (96, 96)
[  4553.708] (II) Loading sub module "fb"
[  4553.708] (II) LoadModule: "fb"
[  4553.709] (II) Loading /usr/lib/xorg/modules/libfb.so
[  4553.710] (II) Module fb: vendor="X.Org Foundation"
[  4553.710]    compiled for 1.12.4, module version = 1.0.0
[  4553.710]    ABI class: X.Org ANSI C Emulation, version 0.4
[  4553.710] (**) FBDEV(0): using shadow framebuffer
[  4553.710] (II) Loading sub module "shadow"
[  4553.710] (II) LoadModule: "shadow"
[  4553.711] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  4553.711] (II) Module shadow: vendor="X.Org Foundation"
[  4553.712]    compiled for 1.12.4, module version = 1.1.0
[  4553.712]    ABI class: X.Org ANSI C Emulation, version 0.4
[  4553.712] (II) FBDEV(0): display rotated; disabling DGA
[  4553.713] (II) FBDEV(0): using driver rotation; disabling XRandR
[  4553.713] (==) FBDEV(0): Backing store disabled
[  4553.713] (==) FBDEV(0): DPMS enabled
[  4553.713] (--) RandR disabled
[  4553.714] (II) Initializing built-in extension Generic Event Extension
[  4553.714] (II) Initializing built-in extension SHAPE
[  4553.714] (II) Initializing built-in extension MIT-SHM
[  4553.714] (II) Initializing built-in extension XInputExtension
[  4553.714] (II) Initializing built-in extension XTEST
[  4553.714] (II) Initializing built-in extension BIG-REQUESTS
[  4553.714] (II) Initializing built-in extension SYNC
[  4553.714] (II) Initializing built-in extension XKEYBOARD
[  4553.714] (II) Initializing built-in extension XC-MISC
[  4553.714] (II) Initializing built-in extension SECURITY
[  4553.714] (II) Initializing built-in extension XINERAMA
[  4553.714] (II) Initializing built-in extension XFIXES
[  4553.714] (II) Initializing built-in extension RENDER
[  4553.714] (II) Initializing built-in extension RANDR
[  4553.714] (II) Initializing built-in extension COMPOSITE
[  4553.714] (II) Initializing built-in extension DAMAGE
[  4553.715] (II) SELinux: Disabled on system
[  4553.765] (II) AIGLX: Screen 0 is not DRI2 capable
[  4553.765] (II) AIGLX: Screen 0 is not DRI capable
[  4553.784] (II) AIGLX: Loaded and initialized swrast
[  4553.784] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  4553.972] (II) Using input driver 'evdev' for 'touchscreen'
[  4553.972] (**) Option "CorePointer"
[  4553.972] (**) touchscreen: always reports core events
[  4553.973] (**) evdev: touchscreen: Device: "/dev/input/event2"
[  4553.973] (--) evdev: touchscreen: Vendor 0 Product 0
[  4553.973] (--) evdev: touchscreen: Found absolute axes
[  4553.973] (--) evdev: touchscreen: Found x and y absolute axes
[  4553.973] (--) evdev: touchscreen: Found absolute touchscreen
[  4553.973] (**) Option "InvertX" "on"
[  4553.973] (**) Option "SwapAxes" "on"
[  4553.973] (II) evdev: touchscreen: Configuring as touchscreen
[  4553.973] (**) evdev: touchscreen: YAxisMapping: buttons 4 and 5
[  4553.974] (**) evdev: touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  4553.974] (II) XINPUT: Adding extended input device "touchscreen" (type: TOUCHSCREEN, id 6)
[  4553.974] (II) evdev: touchscreen: initialized for absolute axes.
[  4553.975] (**) touchscreen: (accel) keeping acceleration scheme 1
[  4553.975] (**) touchscreen: (accel) acceleration profile 0
[  4553.976] (**) touchscreen: (accel) acceleration factor: 2.000
[  4553.976] (**) touchscreen: (accel) acceleration threshold: 4
[  4553.976] (II) Using input driver 'evdev' for 'gpio-keys'
[  4553.976] (**) Option "CoreKeyboard"
[  4553.976] (**) gpio-keys: always reports core events
[  4553.976] (**) evdev: gpio-keys: Device: "/dev/input/event0"
[  4553.977] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1
[  4553.977] (--) evdev: gpio-keys: Found keys
[  4553.977] (II) evdev: gpio-keys: Configuring as keyboard
[  4553.977] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 7)
[  4553.977] (**) Option "xkb_rules" "evdev"
[  4553.977] (**) Option "xkb_model" "evdev"
[  4553.977] (**) Option "xkb_layout" "us"
[  4554.106] (II) Using input driver 'evdev' for 'twl4030-keypad'
[  4554.107] (**) Option "CoreKeyboard"
[  4554.107] (**) twl4030-keypad: always reports core events
[  4554.107] (**) evdev: twl4030-keypad: Device: "/dev/input/event1"
[  4554.107] (--) evdev: twl4030-keypad: Vendor 0x1 Product 0x1
[  4554.107] (--) evdev: twl4030-keypad: Found keys
[  4554.107] (II) evdev: twl4030-keypad: Configuring as keyboard
[  4554.107] (II) XINPUT: Adding extended input device "twl4030-keypad" (type: KEYBOARD, id 8)
[  4554.107] (**) Option "xkb_rules" "evdev"
[  4554.107] (**) Option "xkb_model" "evdev"
[  4554.108] (**) Option "xkb_layout" "us"
[  4554.109] (II) Using input driver 'evdev' for 'usbkbd'
[  4554.109] (**) Option "CoreKeyboard"
[  4554.109] (**) usbkbd: always reports core events
[  4554.109] (**) evdev: usbkbd: Device: "/dev/input/event4"
[  4554.110] (EE) evdev: usbkbd: Unable to open evdev device "/dev/input/event4".
[  4554.110] (EE) PreInit returned 2 for "usbkbd"
[  4554.110] (II) UnloadModule: "evdev"
[  4554.110] (II) Using input driver 'evdev' for 'usbkbd2'
[  4554.110] (**) Option "CoreKeyboard"
[  4554.110] (**) usbkbd2: always reports core events
[  4554.110] (**) evdev: usbkbd2: Device: "/dev/input/event5"
[  4554.110] (EE) evdev: usbkbd2: Unable to open evdev device "/dev/input/event5".
[  4554.110] (EE) PreInit returned 2 for "usbkbd2"
[  4554.110] (II) UnloadModule: "evdev"
[  4554.110] (II) Using input driver 'evdev' for 'usbmouse'
[  4554.110] (**) Option "CorePointer"
[  4554.110] (**) usbmouse: always reports core events
[  4554.111] (**) evdev: usbmouse: Device: "/dev/input/event3"
[  4554.111] (EE) evdev: usbmouse: Unable to open evdev device "/dev/input/event3".
[  4554.111] (EE) PreInit returned 2 for "usbmouse"
[  4554.111] (II) UnloadModule: "evdev"

udev information:
-----------------

DRM Information from dmesg:
---------------------------
[ 7571.660949] init: no such service 'drm'

(deb-armhf)root@localhost:/root# g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
xinit: connection to X server lost

waiting for X server to shut down XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 1983 requests (1983 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 187 requests (170 known processed) with 0 events remaining.

-- 
-----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\ gro.gilbert @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/


Reply to: