[GEM-dev] Crashes with Matrox card

Frank Barknecht fbar at footils.org
Wed Oct 18 20:26:28 CEST 2006


Hi,

I'm getting strange crashes since I updated my xorg to the latest
packages in Debian testing. 

The main error reported in gdb is this: 

pd: ../../../../../src/mesa/tnl_dd/t_dd_vb.c:298: mga_interp_extras:
Assertion `VB->ColorPtr[1]->stride == 4 * sizeof(GLfloat)' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1211259200 (LWP 15106)]
0xb7d057c7 in raise () from /lib/tls/libc.so.6

And here's a backtrace when this happens: 

(gdb) bt
#0  0xb7d057c7 in raise () from /lib/tls/libc.so.6
#1  0xb7d0706b in abort () from /lib/tls/libc.so.6
#2  0xb7cfe735 in __assert_fail () from /lib/tls/libc.so.6
#3  0xb519097a in mgaChooseVertexState () from /usr/lib/dri/mga_dri.so
#4  0xb5216f90 in _tnl_disassem_vba_insn () from
/usr/lib/dri/mga_dri.so
#5  0xb52195a5 in _tnl_disassem_vba_insn () from
/usr/lib/dri/mga_dri.so
#6  0xb521c856 in _tnl_RenderClippedLine () from
/usr/lib/dri/mga_dri.so
#7  0xb5209ecf in _tnl_run_pipeline () from /usr/lib/dri/mga_dri.so
#8  0xb5151613 in mgaEmitHwStateLocked () from /usr/lib/dri/mga_dri.so
#9  0xb523796e in _tnl_flush_vtx () from /usr/lib/dri/mga_dri.so
#10 0xb523036c in _tnl_FlushVertices () from /usr/lib/dri/mga_dri.so
#11 0xb51ca992 in _mesa_Translatef () from /usr/lib/dri/mga_dri.so
#12 0xb60d3918 in glTranslatef () from /usr/lib/libGL.so.1
#13 0xb63dd100 in translateXYZ::render () from
/usr/lib/pd/extra/Gem.pd_linux
#14 0xb6380d3c in GemBase::gem_renderMess () from
/usr/lib/pd/extra/Gem.pd_linux
#15 0xb6380f34 in GemBase::gem_MessCallback () from
/usr/lib/pd/extra/Gem.pd_linux
#16 0x0809fb68 in pd_typedmess (x=0xbfe65680, s=0x2, argc=2,
argv=0xbfe65680) at m_class.c:665
Previous frame inner to this frame (corrupt stack?)


This is with Chris McCormick's Ergates patch
(http://mccormick.cx/projects/ergates/) however I've seens this happen
with other patches as well, however I couldn't really nail it so far
to a single object.

Gem is current CVS from today, compiled with "--disable-NV", otherwise
defaults. I also get the same error with an older version of Gem-CVS,
like some weeks ago. My card is a Matrox G450. 

Any ideas? More info needed?

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the GEM-dev mailing list