[Intel-gfx] X crashes when terminating application

Maurice van der Pot griffon26 at kfk4ever.com
Mon Aug 10 11:23:32 CEST 2009


Hi,

I've set up a pretty minimal system using Gentoo to build the packages I
need on the target. I'm having some issues with X though. X seems to
start up fine (no errors in the log), although I can't be sure for the
moment because I think the output is sent to an unconnected LVDS
connector.

Now when I run any X program (xterm, xclock, xrandr) and it terminates
(either by itself or through me ctrl-C-ing), X crashes with the
following output:

  Dropping master
  error setting MTRR (base = 0xd0000000, size = 0x10000000, type = 1) Invalid argument (22)
  (EE) intel(0): Failed to initialize kernel memory manager

  Backtrace:
  0: Xorg(xorg_backtrace+0x3c) [0x8128b5c]
  1: Xorg(xf86SigHandler+0x52) [0x80bf322]
  2: [0xb809c400]
  3: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_memory+0x2f6) [0xb7b4bca6]
  4: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_framebuffer+0x321) [0xb7b4c3c1]
  5: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_2d_memory+0xf6) [0xb7b4c706]
  6: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7b40da5]
  7: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb7b45d30]
  8: Xorg(AddScreen+0x192) [0x806e3c2]
  9: Xorg(InitOutput+0x1fe) [0x80a824e]
  10: Xorg(main+0x1db) [0x806eabb]
  11: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d01a4c]
  12: Xorg [0x806e161]

  Fatal server error:
  Caught signal 11.  Server aborting

I checked and found that errno is set to "Permission denied" when "Failed to
initialize kernel memory manager" is printed.

This is what is logged to the X log when I terminate the application:
  (II) UnloadModule: "mouse"
  (II) UnloadModule: "kbd"
  (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  (II) No APM support in BIOS or kernel
  (II) intel(0): Kernel reported 238592 total, 1 used
  (II) intel(0): I830CheckAvailableMemory: 954364 kB available
  (II) intel(0): [DRI2] Setup complete
  (**) intel(0): Framebuffer compression enabled
  (**) intel(0): Tiling enabled
  (**) intel(0): SwapBuffers wait enabled
  (EE) intel(0): Failed to initialize kernel memory manager
  (==) intel(0): VideoRam: 262144 KB
  (II) intel(0): Attempting memory allocation with tiled buffers.

Followed by the same stacktrace.

This is with linux 2.6.30.4 and xf86-video-intel 2.8.0.

Any idea what's going on here? What could make the ioctl for GEM_INIT
return permission denied and why would this initialisation be done when
an application is terminated?

Thanks,
Maurice.

-- 
Maurice van der Pot

Gentoo Linux Developer   griffon26 at gentoo.org    http://www.gentoo.org
Gnome Planner Developer  griffon26 at kfk4ever.com  http://live.gnome.org/Planner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090810/bfa7ca97/attachment.sig>


More information about the Intel-gfx mailing list