Bug 81070 - Segmentation Fault on screen resize
Summary: Segmentation Fault on screen resize
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-09 00:14 UTC by Ricardo Funke Ormieres
Modified: 2014-07-09 18:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log generated by journalctl (100.18 KB, text/plain)
2014-07-09 17:50 UTC, Ricardo Funke Ormieres
no flags Details

Description Ricardo Funke Ormieres 2014-07-09 00:14:42 UTC
If I try to change the screen size, I got a segmentation fault from Xorg.

Also, if I try to add a second screen, I got the same segmentation fault from Xorg.

I use gnome-shell 3.12.2 and when this problem happens, GDM just restarts and show me the login screen.

Here is the error on journalctl:

Jul 08 20:49:21 funkenote gdm-Xorg-:0[513]: (II) intel(0): EDID vendor "AUO", prod id 8685
Jul 08 20:49:21 funkenote gdm-Xorg-:0[513]: (II) intel(0): Printing DDC gathered Modelines:
Jul 08 20:49:21 funkenote gdm-Xorg-:0[513]: (II) intel(0): Modeline "1920x1080"x0.0  148.00  1920 2020 2040 2186  1080 1090 1100 1128 +hsync -vsync (67.7 kHz eP)
Jul 08 20:49:21 funkenote gdm-Xorg-:0[513]: (II) intel(0): Modeline "1920x1080"x0.0   98.67  1920 2020 2040 2186  1080 1090 1100 1128 +hsync -vsync (45.1 kHz e)
Jul 08 20:49:29 funkenote gdm-Xorg-:0[513]: (II) intel(0): Allocated new frame buffer 1408x1050 stride 5632, tiled
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): EDID vendor "AUO", prod id 8685
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): Printing DDC gathered Modelines:
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): Modeline "1920x1080"x0.0  148.00  1920 2020 2040 2186  1080 1090 1100 1128 +hsync -vsync (67.7 kHz eP)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): Modeline "1920x1080"x0.0   98.67  1920 2020 2040 2186  1080 1090 1100 1128 +hsync -vsync (45.1 kHz e)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Backtrace:
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x56) [0x58f186]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 1: /usr/bin/Xorg (0x400000+0x192fc9) [0x592fc9]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 2: /usr/lib/libpthread.so.0 (0x7f0c505ba000+0xf4b0) [0x7f0c505c94b0]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 3: /usr/lib/libc.so.6 (0x7f0c4f205000+0x9185e) [0x7f0c4f29685e]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x12a0fe) [0x7f0c49f560fe]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x12bf5a) [0x7f0c49f57f5a]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x13ed55) [0x7f0c49f6ad55]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 7: /usr/bin/Xorg (miCopyRegion+0x1a7) [0x56e977]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 8: /usr/bin/Xorg (miDoCopy+0x45e) [0x56ef1e]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x13fd7e) [0x7f0c49f6bd7e]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 10: /usr/bin/Xorg (0x400000+0x11940d) [0x51940d]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x1485ef) [0x7f0c49f745ef]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 12: /usr/bin/Xorg (0x400000+0x15eabb) [0x55eabb]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 13: /usr/bin/Xorg (0x400000+0x15f911) [0x55f911]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 14: /usr/bin/Xorg (DRI2GetBuffersWithFormat+0xb) [0x55fc8b]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 15: /usr/bin/Xorg (0x400000+0x16172b) [0x56172b]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 16: /usr/bin/Xorg (0x400000+0x36b2f) [0x436b2f]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 17: /usr/bin/Xorg (0x400000+0x3ad16) [0x43ad16]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f0c4f225000]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 19: /usr/bin/Xorg (0x400000+0x250fe) [0x4250fe]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Segmentation fault at address 0x34002d8
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: Fatal server error:
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: Please consult the The X.Org Foundation support
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: at http://wiki.x.org
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): Printing DDC gathered Modelines:
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): Modeline "1920x1080"x0.0  148.00  1920 2020 2040 2186  1080 1090 1100 1128 +hsync -vsync (67.7 kHz eP)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) intel(0): Modeline "1920x1080"x0.0   98.67  1920 2020 2040 2186  1080 1090 1100 1128 +hsync -vsync (45.1 kHz e)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Backtrace:
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x56) [0x58f186]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 1: /usr/bin/Xorg (0x400000+0x192fc9) [0x592fc9]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 2: /usr/lib/libpthread.so.0 (0x7f0c505ba000+0xf4b0) [0x7f0c505c94b0]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 3: /usr/lib/libc.so.6 (0x7f0c4f205000+0x9185e) [0x7f0c4f29685e]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x12a0fe) [0x7f0c49f560fe]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x12bf5a) [0x7f0c49f57f5a]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x13ed55) [0x7f0c49f6ad55]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 7: /usr/bin/Xorg (miCopyRegion+0x1a7) [0x56e977]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 8: /usr/bin/Xorg (miDoCopy+0x45e) [0x56ef1e]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x13fd7e) [0x7f0c49f6bd7e]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 10: /usr/bin/Xorg (0x400000+0x11940d) [0x51940d]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f0c49e2c000+0x1485ef) [0x7f0c49f745ef]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 12: /usr/bin/Xorg (0x400000+0x15eabb) [0x55eabb]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 13: /usr/bin/Xorg (0x400000+0x15f911) [0x55f911]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 14: /usr/bin/Xorg (DRI2GetBuffersWithFormat+0xb) [0x55fc8b]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 15: /usr/bin/Xorg (0x400000+0x16172b) [0x56172b]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 16: /usr/bin/Xorg (0x400000+0x36b2f) [0x436b2f]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 17: /usr/bin/Xorg (0x400000+0x3ad16) [0x43ad16]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f0c4f225000]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) 19: /usr/bin/Xorg (0x400000+0x250fe) [0x4250fe]
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Segmentation fault at address 0x34002d8
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: Fatal server error:
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: Please consult the The X.Org Foundation support
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: at http://wiki.x.org
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: for help.
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Please also check the log file at "/dev/null" for additional information.
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE)
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (II) AIGLX: Suspending AIGLX clients for VT switch
Jul 08 20:49:30 funkenote gdm-Xorg-:0[513]: (EE) Server terminated with error (1). Closing log file.


My system informations (let me know if you need more informations):

It is Arch Linux:

~]$ uname -a
Linux funkenote 3.15.4-1-ARCH #1 SMP PREEMPT Mon Jul 7 07:42:54 CEST 2014 x86_64 GNU/Linux

~]$ lspci -v
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
        Subsystem: Dell Device 056e
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: ivb_uncore

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=06, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: c2000000-c2ffffff
        Prefetchable memory behind bridge: 00000000a0000000-00000000afffffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Dell Device 056e
        Flags: bus master, fast devsel, latency 0, IRQ 42
        Memory at c3000000 (64-bit, non-prefetchable) [size=4M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
        Subsystem: Dell Device 056e
        Flags: bus master, medium devsel, latency 0, IRQ 43
        Memory at c3600000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Dell Device 056e
        Flags: bus master, fast devsel, latency 0, IRQ 45
        Memory at c3614000 (64-bit, non-prefetchable) [size=16]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Dell Device 056e
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at c3619000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: Dell Device 056e
        Flags: bus master, fast devsel, latency 0, IRQ 46
        Memory at c3610000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Prefetchable memory behind bridge: 00000000c3400000-00000000c34fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
        Memory behind bridge: c3500000-c35fffff
        Prefetchable memory behind bridge: 000000009fb00000-000000009fbfffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=09, subordinate=0e, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: c1000000-c1ffffff
        Prefetchable memory behind bridge: 00000000c0000000-00000000c0ffffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport
        Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Dell Device 056e
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at c3618000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
        Subsystem: Dell Device 056e
        Flags: bus master, medium devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
        Subsystem: Dell Device 056e
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44
        I/O ports at 5088 [size=8]
        I/O ports at 5094 [size=4]
        I/O ports at 5080 [size=8]
        I/O ports at 5090 [size=4]
        I/O ports at 5060 [size=32]
        Memory at c3617000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
        Subsystem: Dell Device 056e
        Flags: medium devsel, IRQ 19
        Memory at c3615000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 5040 [size=32]
        Kernel modules: i2c_i801

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff) (prog-if ff)
        !!! Unknown header type 7f
        Kernel driver in use: radeon
        Kernel modules: radeon

07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
        Subsystem: Dell Device 056e
        Flags: bus master, fast devsel, latency 0, IRQ 47
        I/O ports at 3000 [size=256]
        Memory at c3404000 (64-bit, prefetchable) [size=4K]
        Memory at c3400000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

08:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
        Subsystem: Dell Device 0209
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at c3500000 (64-bit, non-prefetchable) [size=512K]
        Expansion ROM at 9fb00000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath9k
        Kernel modules: ath9k
Comment 1 Chris Wilson 2014-07-09 05:48:10 UTC
I needed the full log output for Xorg.0.log and you should check against a later version of the driver to check for an already reported bug.
Comment 2 Ricardo Funke Ormieres 2014-07-09 17:50:15 UTC
Created attachment 102492 [details]
Xorg log generated by journalctl

I already has searched for similar bugs before open this one but haven't found any.

The file attached was generated with the command above:

journalctl -e /usr/bin/Xorg > /tmp/Xorg-journalctl.log

My Xorg log files is not generated in /var/log anymore
Comment 3 Chris Wilson 2014-07-09 18:02:22 UTC
commit 72c041e57b99367f327c51c50fce2a55d618fc63
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jun 27 16:26:24 2014 +0100

    uxa: Update Screen Pixmap width/height first
    
    Since commit dd6db82680b05cde4a47116b7096c054f3837e20 [2.99.912]
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Fri May 9 20:26:19 2014 +0100
    
        uxa: Add DRI3 and miSyncShm support
    
    we verify that the attaching bo meets the constraints required for the
    Pixmap. However, when updating the ScreenPixmap following a resize, we
    did not update the Pixmap size until after we tried to update the bo,
    resulting in a validation failure when shrinking the screen.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.