when I use an FXTable in an FxRuby-Application, an random-crash (often after some minutes) occurs Code (cyclic refresh-method): def onUpdMode(sender, sel, ptr) if(@table.numRows < 10) @table.appendRows(2) else @table.removeRows(0, @table.numRows) end end Debugger-Output: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. C:/Program Files/ActiveState Komodo IDE 4.0/lib/support/dbgp/rubylib/rdbgp.rb:228: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i386-mswin32] An Breakpoint at the rdbgp.rb:228 is never reached (?!?). Crashes without debugging/Komodo too. Anybody an Idea ? Does anybody have an additional Example for using FXTable ? regards JÃ¶rg
on 2007-03-05 09:52
on 2007-03-05 16:35
On 3/5/07, Jörg Abelshauser <firstname.lastname@example.org> wrote: > when I use an FXTable in an FxRuby-Application, an random-crash (often > after some minutes) occurs <snip> If you're willing to submit a bug report with a real, running program (no code snippets) I'll be glad to take a look at it before the next release. The bug tracker for FXRuby is here: http://rubyforge.org/tracker/?atid=1223&group_id=300 > Anybody an Idea ? Does anybody have an additional Example for using > FXTable ? There is an example program (named table.rb) in the standard FXRuby distribution that demonstrates how to use FXTable.