[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Jörg Abelshauser

3/5/2007 8:53:00 AM

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

--
Posted via http://www.ruby-....

1 Answer

Lyle Johnson

3/5/2007 3:35:00 PM

0

On 3/5/07, Jörg Abelshauser <joerg.abelshauser@freenet.de> 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&gr...

> 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.