From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 1 00:50:06 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A7491065674 for ; Sat, 1 Jan 2011 00:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 06ACF8FC16 for ; Sat, 1 Jan 2011 00:50:06 +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 p010o5lB090039 for ; Sat, 1 Jan 2011 00:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p010o5Z4090038; Sat, 1 Jan 2011 00:50:05 GMT (envelope-from gnats) Resent-Date: Sat, 1 Jan 2011 00:50:05 GMT Resent-Message-Id: <201101010050.p010o5Z4090038@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Gibson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF7B2106564A for ; Sat, 1 Jan 2011 00:44:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9ED028FC24 for ; Sat, 1 Jan 2011 00:44:53 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p010irDj054457 for ; Sat, 1 Jan 2011 00:44:53 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p010irXp054456; Sat, 1 Jan 2011 00:44:53 GMT (envelope-from nobody) Message-Id: <201101010044.p010irXp054456@red.freebsd.org> Date: Sat, 1 Jan 2011 00:44:53 GMT From: Matthew Gibson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153593: clutter segfault, something to do with intelCalcViewport call by mesa X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 00:50:06 -0000 >Number: 153593 >Category: ports >Synopsis: clutter segfault, something to do with intelCalcViewport call by mesa >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 01 00:50:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Matthew Gibson >Release: 8.0-RELEASE-p2 >Organization: >Environment: FreeBSD matt-freebsd.vs.shawcable.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Probably the same as http://bugzilla.clutter-project.org/show_bug.cgi?id=2345 and http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg03324.html These indicate an issue when clutter tries to create a 1x1 drawable to find things out about the context. As far as I can tell, any clutter program segfaults when run. Normal OpenGL programs seem to work fine still. Some installed package versions: clutter-1.4.0 dri-7.4.4,2 I've tried a bit poking around at some ports to find out what's going on. Any help would be appreciated. I am running on an Acer Aspire One netbook, with an onboard intel graphics card: 945GME >How-To-Repeat: #gcc -W test.c -o test `pkg-config clutter-1.0 --cflags --libs` #gdb test GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... (gdb) r Starting program: /usr/home/matt/ws/clutter/test (no debugging symbols found)...(no debuggin... .. Failed to initialize GEM. Falling back to classic. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 28b01140 (LWP 100242)] 0x28c49415 in intelCalcViewport () from /usr/local/lib/dri/i915_dri.so (gdb) bt #0 0x28c49415 in intelCalcViewport () from /usr/local/lib/dri/i915_dri.so #1 0x28c494f2 in intelViewport () from /usr/local/lib/dri/i915_dri.so #2 0x28cc779f in _mesa_set_viewport () from /usr/local/lib/dri/i915_dri.so #3 0x28c8795b in _mesa_check_init_viewport () from /usr/local/lib/dri/i915_dri.so #4 0x28c87bf9 in _mesa_make_current () from /usr/local/lib/dri/i915_dri.so #5 0x28c4e765 in intelMakeCurrent () from /usr/local/lib/dri/i915_dri.so #6 0x28c26182 in driBindContext () from /usr/local/lib/dri/i915_dri.so #7 0x2822e78c in driBindContext () from /usr/local/lib/libGL.so.1 #8 0x2820cfc2 in glXMakeCurrentReadSGI () from /usr/local/lib/libGL.so.1 #9 0x281797cb in cogl_pango_glyph_cache_new () from /usr/local/lib/libclutter-glx-1.0.so.0 #10 0x280dea1a in clutter_backend_set_resolution () from /usr/local/lib/libclutter-glx-1.0.so.0 #11 0x280f84ff in clutter_feature_available () from /usr/local/lib/libclutter-glx-1.0.so.0 #12 0x281031bd in clutter_get_option_group_without_init () from /usr/local/lib/libclutter-glx-1.0.so.0 #13 0x2865dfb1 in g_option_context_parse () from /usr/local/lib/libglib-2.0.so.0 #14 0x28103409 in clutter_init () from /usr/local/lib/libclutter-glx-1.0.so.0 #15 0x080488a0 in main () >Fix: >Release-Note: >Audit-Trail: >Unformatted: