# Two problems using foxGUIb

**URL:** <https://www.ruby-forum.com/t/two-problems-using-foxguib/61604>\
**Category:** Ruby\
**Created:** [May 25, 2006, 3:32pm UTC](https://www.ruby-forum.com/t/two-problems-using-foxguib/61604 "2006-05-25T15:32:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [May 25, 2006, 3:32pm UTC](https://www.ruby-forum.com/t/two-problems-using-foxguib/61604/1 "2006-05-25T15:32:53Z")

</div>

Dear all,

I am trying to use foxGUIb for some graphical application.  
To do this, I first want to write the cm-to-inches conversion  
program that is given in the user’s guide.  
So I have installed Fox,FXRuby, libGUIb and foxGUIb, both under  
Cygwin (last week’s version under Windows XP) and under Aurox  
Linux 11.0 (essentially Redhat’s Linux version of half a year ago).

Now, I have two problems:  
In Cygwin, I get a segmentation fault:

from /usr/local/lib/ruby/site\_ruby/1.8/libGUIb14.rb:1034 [BUG]  
segmentation  
fault,  
ruby 1-8-4 (2005-12-24) [i-386 cygwin]

when calling

> ruby foxGUIb.rb .

In Linux, this command starts nicely, and I can proceed in the example  
very nicely up to the point when I want to enter the  
code

```
                            cmLabel.text=(inchesField.text.to_f * 

```

2.54  
).to\_s

into the SELcommand field.  
There’s a cursor appearing, but I can’t enter any text.  
What can be the reason for this ?

Best regards,  
Axel

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [May 25, 2006, 4:05pm UTC](https://www.ruby-forum.com/t/two-problems-using-foxguib/61604/2 "2006-05-25T16:05:07Z")

</div>

On 5/25/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> In Cygwin, I get a segmentation fault:
> 
> from /usr/local/lib/ruby/site\_ruby/1.8/libGUIb14.rb:1034 [BUG] segmentation  
> fault,  
> ruby 1-8-4 (2005-12-24) [i-386 cygwin]
> 
> when calling
> 
> > ruby foxGUIb.rb .

i don’t know why there currently are segfaults with fxruby on cygwin.

> What can be the reason for this ?

please download and install the latest version of libGUIb. the one you  
have installed contains a bug in FX::RadioGroup that makes event  
editor unsusable. sorry for the inconvenience.

hth,  
– henon

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [May 25, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/two-problems-using-foxguib/61604/3 "2006-05-25T17:00:21Z")

</div>

unknown wrote:

> Dear all,
> 
> I am trying to use foxGUIb for some graphical application.  
> To do this, I first want to write the cm-to-inches conversion  
> program that is given in the user’s guide.  
> So I have installed Fox,FXRuby, libGUIb and foxGUIb, both under  
> Cygwin (last week’s version under Windows XP) and under Aurox  
> Linux 11.0 (essentially Redhat’s Linux version of half a year ago).
> 
> Now, I have two problems:  
> In Cygwin, I get a segmentation fault:
> 
> from /usr/local/lib/ruby/site\_ruby/1.8/libGUIb14.rb:1034 [BUG]  
> segmentation  
> fault,  
> ruby 1-8-4 (2005-12-24) [i-386 cygwin]

I also tried foxGUIb, and got exactly the same segment fault as yours.  
It isn’t caused by foxGUIb, but by FXRuby1.4.6 on cygwin. Please take a  
look at my previous post:  
[http://groups.google.com/group/ruby-talk-google/browse\_frm/thread/023bc96c0be192b5/?hl=en#](http://groups.google.com/group/ruby-talk-google/browse_frm/thread/023bc96c0be192b5/?hl=en#)

Best regards,

uncutstone
