# FXTable

**URL:** <https://www.ruby-forum.com/t/fxtable/87697>\
**Category:** Ruby\
**Created:** [March 5, 2007, 9:52am UTC](https://www.ruby-forum.com/t/fxtable/87697 "2007-03-05T09:52:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jabe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@jabe](https://www.ruby-forum.com/u/jabe)\
**Post date:** [March 5, 2007, 9:52am UTC](https://www.ruby-forum.com/t/fxtable/87697/1 "2007-03-05T09:52:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jabe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@jabe](https://www.ruby-forum.com/u/jabe)\
**Post date:** [March 5, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/fxtable/87697/2 "2007-03-05T16:35:53Z")

</div>

On 3/5/07, Jörg Abelshauser [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> when I use an FXTable in an FxRuby-Application, an random-crash (often  
> after some minutes) occurs

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.
