Core dumps with FX/Ruby tables

I’m running the Pragmatic Programmer’s install for
Windows (1.6.7 … not sure which specific version
of the installer).

Every time I try to do anything relatively trivial
with an FXTable object, like trying to set the
column width for an item using
FXTable.setColumnWidth(), I get a core dump with a
[BUG] prefix.

Any suggestions as to how to debug what’s going on?

I’ll probably upgrade to the latest version of the
installer in a minute, but I figured I’d ask
first, to see if this is a known problem, to
potentially save the download.

TIA

···

Harry Ohlsen
QIQ Solutions
E-Mail: harryo@qiqsolutions.com
Web: http://www.qiqsolutions.com/
Phone: +61 2 9209 4171

I’m still having this problem, having moved to 1.6.8.

However, I was able to almost get around it by
setting the default column width, rather than
explicitly setting the column widths for the
separate columns.

I’d still be interested in seeing some code that
sets column widths.

I’d also be interested in seeing code that sets
the justification for a TableItem to something
other than centred (or right-justified, which
seems to be the default). I actually want
left-justified, but haven’t been able to find the
LEFT, RIGHT, TOP and BOTTOM constants the RDoc
documentation refers to.

I even did a search through the source code
directory, but didn’t find them.

TIA

I’m also getting “[BUG] segmentation fault” with FXRuby-1.0.19
and Ruby 1.6.8 on win32 when trying to run the example on
page 338 in “The Ruby Way”. Any ideas on fixing this?
Thanks!
– Glenn Lewis

Harry Ohlsen wrote:

···

I’m still having this problem, having moved to 1.6.8.