GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/scott/src/wayland/weston/src/weston...done. (gdb) run Starting program: /home/scott/src/wayland/weston/src/weston [Thread debugging using libthread_db enabled] compositor: using new vt /dev/tty8 failed to get plane resources: Invalid argument Program received signal SIGSEGV, Segmentation fault. _eglCheckResource (res=0x8180bc8, type=_EGL_RESOURCE_IMAGE, dpy=0x805b578) at egldisplay.c:370 370 list = list->Next; (gdb) bt #0 _eglCheckResource (res=0x8180bc8, type=_EGL_RESOURCE_IMAGE, dpy=0x805b578) at egldisplay.c:370 #1 0x0014b465 in _eglLookupImage (screen=0x8067fe0, image=0x8180bc8, data=0x805b578) at ../../../../src/egl/main/eglimage.h:127 #2 dri2_lookup_egl_image (screen=0x8067fe0, image=0x8180bc8, data=0x805b578) at egl_dri2.c:285 #3 0x0067c83b in dri2_lookup_egl_image (screen=0x80680e0, handle=0x8180bc8) at dri2.c:423 #4 0x0067db77 in dri_get_egl_image (smapi=0x80680e0, egl_image=0x8180bc8, stimg=0xbffff514) at dri_screen.c:311 #5 0x006cc218 in st_manager_get_egl_image_surface (st=0x80cfc28, eglimg=0x8180bc8, usage=2) at state_tracker/st_manager.c:805 #6 0x00859cc7 in st_egl_image_target_renderbuffer_storage (ctx=0x8087290, rb=0x817f4b0, image_handle=0x8180bc8) at state_tracker/st_cb_eglimage.c:84 #7 0x00703d82 in _mesa_EGLImageTargetRenderbufferStorageOES (target=36161, image=0x8180bc8) at main/fbobject.c:1458 #8 0x0056d2a5 in create_output_for_connector (ec=0x805ae50, connector=0x81919b8, x=0, drm_device=0x805b348, y=0, resources=) at compositor-drm.c:1092 #9 0x0056df1d in create_outputs (display=0x805a458, options=0x805640e "") at compositor-drm.c:1281 #10 drm_compositor_create (display=0x805a458, options=0x805640e "") at compositor-drm.c:1591 #11 backend_init (display=0x805a458, options=0x805640e "") at compositor-drm.c:1656 #12 0x08050e45 in main (argc=1, argv=0xbffff854) at compositor.c:2555 (gdb) bt full #0 _eglCheckResource (res=0x8180bc8, type=_EGL_RESOURCE_IMAGE, dpy=0x805b578) at egldisplay.c:370 list = 0x1b568 __PRETTY_FUNCTION__ = "_eglCheckResource" #1 0x0014b465 in _eglLookupImage (screen=0x8067fe0, image=0x8180bc8, data=0x805b578) at ../../../../src/egl/main/eglimage.h:127 img = 0x8180bc8 #2 dri2_lookup_egl_image (screen=0x8067fe0, image=0x8180bc8, data=0x805b578) at egl_dri2.c:285 disp = 0x805b578 #3 0x0067c83b in dri2_lookup_egl_image (screen=0x80680e0, handle=0x8180bc8) at dri2.c:423 loader = img = #4 0x0067db77 in dri_get_egl_image (smapi=0x80680e0, egl_image=0x8180bc8, stimg=0xbffff514) at dri_screen.c:311 screen = 0x80680e0 img = 0x0 #5 0x006cc218 in st_manager_get_egl_image_surface (st=0x80cfc28, eglimg=0x8180bc8, usage=2) at state_tracker/st_manager.c:805 smapi = stimg = {texture = 0x0, level = 0, layer = 0} ps = surf_tmpl = {reference = {count = 1400820}, texture = 0x3000, context = 0xbffff528, format = 1330770, width = 2, height = 135793608, usage = 3221222744, u = {tex = { level = 1376398, first_layer = 64632, last_layer = 2071}, buf = {first_element = 1376398, last_element = 135789688}}} #6 0x00859cc7 in st_egl_image_target_renderbuffer_storage (ctx=0x8087290, rb=0x817f4b0, image_handle=0x8180bc8) at state_tracker/st_cb_eglimage.c:84 ps = #7 0x00703d82 in _mesa_EGLImageTargetRenderbufferStorageOES (target=36161, image=0x8180bc8) at main/fbobject.c:1458 rb = 0x817f4b0 ctx = 0x8087290 #8 0x0056d2a5 in create_output_for_connector (ec=0x805ae50, connector=0x81919b8, x=0, drm_device=0x805b348, y=0, resources=) at compositor-drm.c:1092 output = 0x8167860 drm_mode = 0x8173020 next = encoder = 0x8167960 i = ret = handle = stride = #9 0x0056df1d in create_outputs (display=0x805a458, options=0x805640e "") at compositor-drm.c:1281 connector = 0x81919b8 resources = 0x8191c88 i = y = 0 x = #10 drm_compositor_create (display=0x805a458, options=0x805640e "") at compositor-drm.c:1591 ec = 0x805ae50 e = 0x805b118 device = 0x805b348 drm_device = 0x805b348 loop = entry = path = 0x806d448 "/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0" device_seat = #11 backend_init (display=0x805a458, options=0x805640e "") at compositor-drm.c:1656 connector = 0 i = seat = 0x570730 "seat0" p = 0x805640e "" value = 0x0 tty = 134665288 tokens = {0x570547 "connector", 0x570551 "seat", 0x570556 "tty", 0x0} #12 0x08050e45 in main (argc=1, argv=0xbffff854) at compositor.c:2555 display = 0x805a458 ec = signals = {0x805a4b8, 0x805a4e0, 0x805a508, 0x805a530} loop = segv_action = {__sigaction_handler = {sa_handler = 0x804c5e0 , sa_sigaction = 0x804c5e0 }, sa_mask = {__val = {0 }}, sa_flags = -2147483644, sa_restorer = 0x8057ff4 <_GLOBAL_OFFSET_TABLE_>} o = -1 xserver = 0 shell_init = 0x577bf0 backend_init = 0x56d930 backend = 0x8055a21 "drm-backend.so" backend_options = 0x805640e "" shell = p = 0x3b8ff4 "|\315\025" option_idle_time = 300 i = opts = "B:b:o:S:i:s:x" longopts = {{name = 0x8055ac6 "backend", has_arg = 1, flag = 0x0, val = 66}, { name = 0x8055ace "backend-options", has_arg = 1, flag = 0x0, val = 111}, { name = 0x8056d8b "socket", has_arg = 1, flag = 0x0, val = 83}, {name = 0x8055ade "idle-time", has_arg = 1, flag = 0x0, val = 105}, {name = 0x8055ae8 "shell", has_arg = 1, flag = 0x0, val = 115}, {name = 0x8055aee "xserver", has_arg = 0, flag = 0x0, val = 120}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} (gdb) q A debugging session is active. Inferior 1 [process 26402] will be killed. Quit anyway? (y or n)