Bug#385945: boson: crashes on singleplayer game start
Andreas Beckermann
b_mann at gmx.de
Sat Sep 16 00:06:03 UTC 2006
On Friday 15 September 2006 21:38, Eddy Petrişor wrote:
[...]
> boson: ERROR: [void BosonCanvasRenderer::initGL()] boson requires
> GL_EXT_framebuffer_object
This is NOT the problem, btw. This error merely exists because this extension
might be used by boson without checking whether it actually is available.
This may or may not lead to a crash - but in this particular case it is
actually harmless.
CC'ing boson-devel anyway, cause I think it should be fixed, as apparently not
all drivers implement this extension.
> boson: indirect_vertex_array.c:1359: __indirect_glTexCoordPointer:
> Assertion `a != ((void *)0)' failed.
[...]
This is the actual source of the problem.
I have done some additional research and have been able to reproduce the bug
on one of my own machines. It happens with mesa based drivers only.
It appears to me that this is a bug in mesa, in particular I believe it is
http://www.mail-archive.com/mesa3d-dev%40lists.sourceforge.net/msg00772.html
The fact that this problem goes away with libgl1-mesa-dri 6.5.0.cvs.20060524-1
seems to confirm that, as current mesa versions don't include the fix yet,
cvs does.
However I have no idea how to write around this problem so that it works for
broken mesa versions, too. The only way I can see atm is not to use vertex
arrays, but this solution _really_ sucks and would require quite some changes
to libufo.
CC'ing libufo-devel for this problem, maybe some good idea comes up.
Additional information for libufo developers:
It stems from usage of vertex arrays in libufo, however I have not yet managed
to narrow it down to the exact combination of circumstances (meaning I
haven't had time to write a few test cases yet).
From what I have found by now, I think it happens only when using
ufo::UVertexArray with triangles (i.e. not with lines). IIRC it was
PE_IndicatorRadioButton in UBasicStyle::paintPrimitive() that triggered the
bug for me.
CU
Andi
More information about the Pkg-games-devel
mailing list