ports/153593: clutter segfault, something to do with intelCalcViewport call by mesa

Matthew Gibson mdg583 at gmail.com
Sat Jan 1 00:50:06 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list