[GEM-dev] Still Crashes with Matrox card

Frank Barknecht fbar at footils.org
Sun Nov 12 12:45:24 CET 2006


Hallo,

I still get strange crashes  with my Matrox card on Debian testing,
which basically makes Gem unusable for me on that machine. I now have
found a reliable way to provoke the crash. Using attached patch for
L-systems by Cyrille, Pd will crash as soon as I change the "size of
the system" number box some times (like go up from 10 to 15). The
backtrace when running under gdb is attached as well. Everything
is compiled or installed today: 

ii  libgl1-mesa-dev     6.5.1-0.2           A free implementation of
the OpenGL API -- GLX develop
ii  libgl1-mesa-dri     6.5.1-0.2           A free implementation of
the OpenGL API -- DRI modules
ii  libgl1-mesa-glx     6.5.1-0.2           A free implementation of
the OpenGL API -- GLX runtime
ii  libc6               2.3.6.ds1-7         GNU C Library: Shared
libraries

Gem-CVS from today as well, make-distcleaned and freshly built.

I'm really at loss now...

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------
#N canvas 638 29 496 743 10;
#X obj 15 16 gemhead;
#X obj 15 389 any;
#X obj 37 389 any;
#X obj 59 389 any;
#X obj 81 487 GEMglPushMatrix;
#X obj 103 507 GEMglPopMatrix;
#X obj 81 389 any;
#X obj 103 389 any;
#X floatatom 206 523 5 0 0 0 - - -;
#X obj 15 63 rotateXYZ 0 0 90;
#X floatatom 128 424 5 0 0 0 - - -;
#X floatatom 156 446 5 0 0 0 - - -;
#X obj 15 338 route F + - [ ];
#X obj 37 362 t b;
#X obj 59 362 t b;
#X obj 81 362 t b;
#X obj 103 362 t b;
#X obj 209 25 gemhead;
#X obj 209 51 world_light;
#X obj 15 362 t b;
#X obj 15 607 translateXYZ 0.05 0 0;
#X obj 15 150 route F;
#X msg 15 174 F \, [ \, - \, F \, F \, ] \, F \, [ \, + \, F \, ] \,
F;
#X text 241 173 <- rule 1;
#X obj 15 197 route F;
#X msg 15 221 F \, [ \, - \, F \, F \, ] \, F \, [ \, + \, F \, ] \,
F;
#X obj 15 245 route F;
#X msg 15 269 F \, [ \, - \, F \, F \, ] \, F \, [ \, + \, F \, ] \,
F;
#X text 242 219 <- rule 2;
#X text 241 267 <- rule 3;
#X msg 209 76 create \, 1 \, lighting 1;
#X obj 209 99 gemwin;
#X msg 15 124 F;
#X obj 15 99 t b a;
#X obj 15 558 translateXYZ 0.05 0 0;
#X obj 15 583 rectangle 0.1 0.01;
#X obj 15 41 translateXYZ 0 -3 0;
#X obj 37 447 rotateXYZ 0 0 50;
#X obj 59 467 rotateXYZ 0 0 -40;
#X obj 206 542 / 100;
#X msg 206 500 10;
#X obj 206 477 loadbang;
#X text 206 432 <- try this;
#X text 123 337 <- create the primitive according to the Lsystem;
#X text 240 286 The rules creates a Lsystem;
#X text 14 643 This is a basic implementation of Lindenmayer System
(LSystem) in GEM. Google is the bast place for informations about Lsystem.
;
#X text 137 389 <- Store the pointer send by gemhead and distribut
it to the coresponding primitives;
#X text 250 523 <- size of the system;
#X connect 0 0 36 0;
#X connect 1 0 34 0;
#X connect 2 0 37 0;
#X connect 3 0 38 0;
#X connect 6 0 4 0;
#X connect 7 0 5 0;
#X connect 8 0 39 0;
#X connect 9 0 33 0;
#X connect 10 0 37 3;
#X connect 11 0 38 3;
#X connect 12 0 19 0;
#X connect 12 1 13 0;
#X connect 12 2 14 0;
#X connect 12 3 15 0;
#X connect 12 4 16 0;
#X connect 13 0 2 0;
#X connect 14 0 3 0;
#X connect 15 0 6 0;
#X connect 16 0 7 0;
#X connect 17 0 18 0;
#X connect 19 0 1 0;
#X connect 21 0 22 0;
#X connect 21 1 24 0;
#X connect 22 0 24 0;
#X connect 24 0 25 0;
#X connect 24 1 26 0;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X connect 26 1 12 0;
#X connect 27 0 12 0;
#X connect 30 0 31 0;
#X connect 32 0 21 0;
#X connect 33 0 32 0;
#X connect 33 1 1 1;
#X connect 33 1 2 1;
#X connect 33 1 3 1;
#X connect 33 1 6 1;
#X connect 33 1 7 1;
#X connect 34 0 35 0;
#X connect 35 0 20 0;
#X connect 36 0 9 0;
#X connect 39 0 20 1;
#X connect 39 0 34 1;
#X connect 39 0 35 1;
#X connect 40 0 8 0;
#X connect 41 0 40 0;

-------------- next part --------------
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 -1210751296 (LWP 27280)]
0xb7d80947 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7d80947 in raise () from /lib/tls/libc.so.6
#1  0xb7d820c9 in abort () from /lib/tls/libc.so.6
#2  0xb7d7a05f in __assert_fail () from /lib/tls/libc.so.6
#3  0xb55cb3aa in mgaChooseVertexState () from /usr/lib/dri/mga_dri.so
#4  0xb5655247 in _tnl_disassem_vba_insn () from /usr/lib/dri/mga_dri.so
#5  0xb565635f in _tnl_disassem_vba_insn () from /usr/lib/dri/mga_dri.so
#6  0xb56593b6 in _tnl_RenderClippedLine () from /usr/lib/dri/mga_dri.so
#7  0xb564699f in _tnl_run_pipeline () from /usr/lib/dri/mga_dri.so
#8  0xb558bf93 in mgaEmitHwStateLocked () from /usr/lib/dri/mga_dri.so
#9  0xb567463e in _tnl_flush_vtx () from /usr/lib/dri/mga_dri.so
#10 0xb566cffc in _tnl_FlushVertices () from /usr/lib/dri/mga_dri.so
#11 0xb56062f2 in _mesa_Translatef () from /usr/lib/dri/mga_dri.so
#12 0xb79f6f98 in glTranslatef () from /usr/lib/libGL.so.1
#13 0xb7bb54a7 in translateXYZ::render () from /usr/lib/pd/extra/Gem.pd_linux
#14 0xb7b4d495 in GemBase::gem_renderMess () from /usr/lib/pd/extra/Gem.pd_linux
#15 0xb7b4d610 in GemBase::gem_MessCallback () from /usr/lib/pd/extra/Gem.pd_linux
#16 0x0809fb68 in pd_typedmess (x=0xbf9da790, s=0x2, argc=2, argv=0xbf9da790) at m_class.c:665
Previous frame inner to this frame (corrupt stack?)
(gdb) quit
The program is running.  Exit anyway? (y or n) y
socket receive error: Connection reset by peer (104)



More information about the GEM-dev mailing list