#143 gtkglext, Segmentation fault, memory leak

open
nobody
None
8
2010-03-17
2010-03-17
No

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.

Discussion

  • Tomasz Wojtyś

    Tomasz Wojtyś - 2010-03-17

    Sample program

     
  • Tomasz Wojtyś

    Tomasz Wojtyś - 2010-03-17
    • priority: 5 --> 8
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks