From owner-freebsd-x11@FreeBSD.ORG Sat May 22 11:20:04 2010 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C6B106564A for ; Sat, 22 May 2010 11:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 496908FC08 for ; Sat, 22 May 2010 11:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4MBK3tx087145 for ; Sat, 22 May 2010 11:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4MBK3wW087144; Sat, 22 May 2010 11:20:03 GMT (envelope-from gnats) Date: Sat, 22 May 2010 11:20:03 GMT Message-Id: <201005221120.o4MBK3wW087144@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: ports/145649: x11/xorg: X server crashes when starting opengl compositing manager X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2010 11:20:04 -0000 The following reply was made to PR ports/145649; it has been noted by GNATS. From: Andriy Gapon To: bug-followup@FreeBSD.org, akirchhoff135014@comcast.net Cc: Subject: Re: ports/145649: x11/xorg: X server crashes when starting opengl compositing manager Date: Sat, 22 May 2010 14:10:15 +0300 I have precisely the same problem with Intel integrated graphics (on a desktop) and KDE4. X crashes as soon as OpenGL desktop effects are enabled. This also happens on the initial KDE4 start when DRI is enabled in xorg.conf, apparently KDE auto-detects OpenGL capability and tries to enable the effects. Here's a backtrace with debug symbols enabled in i915_dri.so: #6 #7 0x000000081305eb94 in i915_update_tex_unit (intel=0x817b71000, unit=0, ss3=0) at i915_texstate.c:197 #8 0x000000081305f2f4 in i915UpdateTextureState (intel=0x817b71000) at i915_texstate.c:399 #9 0x00000008130c5400 in intelRunPipeline (ctx=0x817b71000) at intel_tris.c:1068 #10 0x00000008131b2591 in _tnl_draw_prims (ctx=0x817b71000, arrays=0x818306548, prim=0x818304e64, nr_prims=1, ib=0x0, min_index=0, max_index=3) at tnl/t_draw.c:445 #11 0x00000008131b23c0 in _tnl_vbo_draw_prims (ctx=0x817b71000, arrays=0x818306548, prim=0x818304e64, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at tnl/t_draw.c:375 #12 0x00000008131a5de4 in vbo_exec_vtx_flush (exec=0x818304c20, unmap=1 '\001') at vbo/vbo_exec_draw.c:382 #13 0x00000008131a2988 in vbo_exec_FlushVertices_internal (ctx=0x817b71000, unmap=1 '\001') at vbo/vbo_exec_api.c:765 #14 0x00000008131a29ec in vbo_exec_FlushVertices (ctx=0x817b71000, flags=1) at vbo/vbo_exec_api.c:787 #15 0x00000008130c9b34 in _mesa_PopAttrib () at main/attrib.c:870 #16 0x0000000802249437 in __glXDisp_Render () from /usr/local/lib/xorg/modules/extensions/libglx.so #17 0x000000080224ccb9 in __glXDispatch () from /usr/local/lib/xorg/modules/extensions/libglx.so #18 0x000000000044a2f8 in Dispatch () #19 0x000000000042d75a in main () I see that intelObj->mt is NULL and the crash happens on dereferencing it. -- Andriy Gapon