There is Segmentation fault in example program of using gtkglext library.
I modyfied this program:
1. Added "timer" like this: GLib::Timeout.add(2) {@gl_area.queue_draw}
2. Added field that makes OpenGL triangle rotating.
After some time of working there is output:
$ ruby testGL2.rb
key_press_event
testGL2.rb:97: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
Aborted
If you run program you have to press some key to start "timer".
If you turn off Garbage Collector "GC.disable" then there are not segmentation fault, but program space in memory highly increese.
Sample program