[Kde-bindings] Segfault after traceback

Han Holl han.holl at pobox.com
Sun Oct 10 18:39:31 UTC 2004


Hi Richard,

I've tried to create a simpler example, but it didn't work.
Unpack this archive, run gotocelldialog.rb, and click on any field.
You get (at least I get):
./palgaedit.rb:43:in `method_missing': undefined method `visible' for 
#<PalgaEdit:0x431c21d0> (NoMethodError)
        from ./palgaedit.rb:43:in `focusInEvent'
        from gotocelldialog.rb:151:in `method_missing'
        from gotocelldialog.rb:151
./palgaedit.rb:70: [BUG] Segmentation fault
ruby 1.8.1 (2004-03-08) [i686-linux-gnu]

Aborted

I used Qt::Widget#visible instead of isVisible.
It might be an idea to translate ruby functions like
visible?  to isVisible ? Looks more rubyish.

Cheers,

Han Holl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabbug.tgz
Type: application/x-tgz
Size: 9210 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20041010/32bea3e2/attachment.bin>


More information about the Kde-bindings mailing list