Bug 29187 - crash in intel_drv
crash in intel_drv
Status: RESOLVED FIXED
Product: xorg
Classification: Unclassified
Component: Driver/intel
7.5 (2009.10)
x86-64 (AMD64) Linux (All)
: medium critical
Assigned To: Carl Worth
Xorg Project Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-21 00:56 UTC by Thomas Fjellstrom
Modified: 2010-07-21 01:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Fjellstrom 2010-07-21 00:56:59 UTC
intel driver is crashing when running out of memory.

(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory
(WW) intel(0): i830_uxa_prepare_access: gtt bo map failed: Cannot allocate memory

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x466808]
1: /usr/bin/X (0x400000+0x67c79) [0x467c79]
2: /lib/libpthread.so.0 (0x7ff19b297000+0xef60) [0x7ff19b2a5f60]
3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x34684) [0x7ff1979ba684]
4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x3524a) [0x7ff1979bb24a]
5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x3547a) [0x7ff1979bb47a]
6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x36a1b) [0x7ff1979bca1b]
7: /usr/bin/X (0x400000+0xd4750) [0x4d4750]
8: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x319a2) [0x7ff1979b79a2]
9: /usr/bin/X (0x400000+0xd4a7e) [0x4d4a7e]
10: /usr/bin/X (0x400000+0xca92e) [0x4ca92e]
11: /usr/bin/X (0x400000+0x4c7a4) [0x44c7a4]
12: /usr/bin/X (0x400000+0x25b4a) [0x425b4a]
13: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7ff199d9bc4d]
14: /usr/bin/X (0x400000+0x256f9) [0x4256f9]
Segmentation fault at address 0x29

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

also, heres a similar crash: http://pastebin.ca/1904990
Its with a much older X and intel driver combo though.

Here's the full version of the above crash: http://pastebin.com/3xJ4AkJu
Comment 1 Chris Wilson 2010-07-21 01:08:57 UTC
commit c57840b272ba88fddf22484929608431879b0fab
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Jul 21 09:06:06 2010 +0100

    uxa: Check for failed pixmap allocation
    
    Fixes:
    
      Bug 29187 - crash in intel_drv
      https://bugs.freedesktop.org/show_bug.cgi?id=29187
    
    Backtrace:
    0: /usr/bin/X (xorg_backtrace+0x28) [0x466808]
    1: /usr/bin/X (0x400000+0x67c79) [0x467c79]
    2: /lib/libpthread.so.0 (0x7ff19b297000+0xef60) [0x7ff19b2a5f60]
    3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7ff197986000+0x34684) => uxa/uxa-render.c:841
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>