Table crashes after updating from 1.0.3 to 1.0.10 
Author Message
 Table crashes after updating from 1.0.3 to 1.0.10

The table.rb example crashes (see below) when you click on entries in
the table. It was ok with 1.0.3. Is it something about my installation,
or is this something that changed in 1.0.10?

I have:
  fox 1.0.7
  FXRuby 1.0.10
  Ruby 1.6.7

Otherwise, it seems to work ok, and the upgrade fixed a crash when
dragging the main toolbar outside the window.

[src/FXRuby-1.0.10/examples] ruby table.rb
SEL_CHANGED row=5, col=4
table.rb:96:in `initialize': undefined method `row' for
#<Fox::FXTableRange:0x40fe016c> (NameError)
        from table.rb:95:in `call'
        from /usr/local/lib/ruby/site_ruby/1.6/fox/responder2.rb:29:in
`onHandleMsg'
        from table.rb:220:in `run'
        from table.rb:220
/usr/local/lib/ruby/site_ruby/1.6/fox/responder2.rb:29: [BUG]
Segmentation faultruby 1.6.7 (2002-03-01) [i686-linux]
zsh: abort      ruby table.rb



Tue, 09 Nov 2004 06:32:35 GMT  
 Table crashes after updating from 1.0.3 to 1.0.10

Quote:
> The table.rb example crashes (see below) when you click on entries in
> the table. It was ok with 1.0.3. Is it something about my
> installation, or is this something that changed in 1.0.10?

> I have:
>   fox 1.0.7
>   FXRuby 1.0.10

This isn't necessarily the problem, but if you have fox 1.0.7 and
FXRuby 1.0.10 it sounds like they might not be compatible versions.

Can you upgrade your fox to 1.0.10 as well?

--

OpenPGP FP: C99E DF40 54F6 B625 FD48  B509 A3DE 8D79 541F F830



Tue, 09 Nov 2004 06:48:12 GMT  
 Table crashes after updating from 1.0.3 to 1.0.10

Quote:


> > The table.rb example crashes (see below) when you click on entries in
> > the table. It was ok with 1.0.3. Is it something about my
> > installation, or is this something that changed in 1.0.10?

> > I have:
> >   fox 1.0.7
> >   FXRuby 1.0.10

> This isn't necessarily the problem, but if you have fox 1.0.7 and
> FXRuby 1.0.10 it sounds like they might not be compatible versions.

> Can you upgrade your fox to 1.0.10 as well?

I installed fox 1.0.11, and rebuilt and installed FXRuby 1.0.10. Same
problem...


Tue, 09 Nov 2004 12:00:52 GMT  
 Table crashes after updating from 1.0.3 to 1.0.10

Quote:
> The table.rb example crashes (see below) when you click on entries in
> the table. It was ok with 1.0.3. Is it something about my installation,
> or is this something that changed in 1.0.10?

This got broken in version 1.0.10; I've just fixed it in the CVS
sources. As for the underlying bug, the short answer is that FXRuby is
looking up the wrong return value for FXTableRange#fm; it should be
returning an FXTablePos instance but instead finds the (previously
instantiated) FXTableRange instance.


Wed, 10 Nov 2004 02:05:00 GMT  
 Table crashes after updating from 1.0.3 to 1.0.10

Quote:
> This isn't necessarily the problem, but if you have fox 1.0.7 and
> FXRuby 1.0.10 it sounds like they might not be compatible versions.

> Can you upgrade your fox to 1.0.10 as well?

As of the 1.0.x releases the FOX 1.0 API is frozen and so it's no longer
necessary for the FXRuby and FOX versions to match exactly. Any FXRuby
1.0.x should be compatible with any FOX 1.0.x. The only reason to
upgrade either would be to obtain bug fixes for either component.

Jeroen has begun work on FOX 1.1 development (see
http://www.fox-toolkit.org/news.html) and sometime soon I'll pick that
up for FXRuby as well. For that branch (as was the case for the pre-1.0
releases) there will most likely be a tight link between the FOX and
FXRuby versions; e.g. FXRuby 1.1.10 would only be compatible with FOX
1.1.10.



Wed, 10 Nov 2004 02:13:31 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. RB crashes Error Type 10

2. RB apps built under 10.1.5 crash...

3. RB apps built under 10.1.5 crash under 10.2

4. SE crashes Windows with 10,000-element SortedCollections?

5. A-10 Crash Site

6. ST V/Mac r1.10 Crashes Under Multifinder

7. ezboard.com Update 10-2001

8. Clarion Magazine Update - October 10, 2000

9. Clarion Magazine Update - August 10, 1999

10. Clarion Magazine Update - April 10, 2001

11. Clarion Third Party Profile Exchange - Update - December 10 2001

12. FAQ: comp.lang.tcl Frequently Asked Questions (1/5) (Last updated: August 10, 1993)

 

 
Powered by phpBB® Forum Software