larskanis / opengl

The official repository of the ruby-opengl wrapper
http://larskanis.github.com/opengl
MIT License
57 stars 11 forks source link

"pure virtual method called, terminate called without an active exception" #5

Open archseer opened 11 years ago

archseer commented 11 years ago

The following tests produce this error on my computer.

pure virtual method called
terminate called without an active exception
Aborted (core dumped)
ruby test_gl_10_11.rb --name test__selection_buffer
ruby test_gl_10_11.rb --name test__feedback_buffer
ruby test_gl_10_11.rb --name test_glrasterposv
ruby test_gl_10_11.rb --name test_glrasterpos_2
ruby test_gl_10_11.rb --name test_glrasterpos_3
ruby test_gl_10_11.rb --name test_glvertex
ruby test_gl_10_11.rb --name test_glrect
ruby test_gl_10_11.rb --name test_glrectv
ruby test_gl_10_11.rb --name test_gleval
ruby test_gl_10_11.rb --name test_glevalmesh
ruby test_gl_10_11.rb --name test_displaylists
ruby test_gl_10_11.rb --name test_arrays

ruby test_gl_12.rb --name test_gldrawrangeelements

ruby test_gl_14.rb --name test_arrays_3

ruby test_gl_15.rb --name test_buffer_binding_element_array
ruby test_gl_15.rb --name test_buffer_binding_array_1
ruby test_gl_15.rb --name test_buffer_binding_array_4

ruby test_gl_21.rb --name test_pixelunpack_bitmap # ruby segfault

ruby test_gl_ext_ext.rb --name test_gl_ext_multi_draw_arrays
ruby test_gl_ext_ext.rb --name test_gl_ext_drawrangeelements
ruby test_gl_ext_ext.rb --name test_gl_ext_draw_instanced

ruby test_glu.rb --name test_gluquadrics
ruby test_glu.rb --name test_glunurbs
archseer commented 11 years ago

@larskanis, as with glBitmap, these issues may be caused by the mesa implementation and/or graphics drivers. I'm using Radeon HD5850 (Evergreen series) and the chart shows there's some features missing, for instance stippled and smooth primitives, tesselation shader stages, geometry shaders... I'll try looking for pure C examples or port these tests to C and see if those fail.

larskanis commented 11 years ago

I don't get this "pure virtual method called" in any of the tests, currently. I'm using the same r600_dri.so with a Radeon HD 6250 in a AMD-C50 APU.