[Kde-bindings] [Bug 210991] New: ruby Segmentation fault when Qt is uninitialized

Terence Simpson kubuntu.tsimpson at googlemail.com
Sun Oct 18 16:07:48 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=210991

           Summary: ruby Segmentation fault when Qt is uninitialized
           Product: bindings
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: kubuntu.tsimpson at googlemail.com


Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

When Qt is not initialized and a static method of a QObject is called, ruby
crashes.
First reported on Launchpad:
https://bugs.launchpad.net/ubuntu/+source/kdebindings/+bug/454597

Example with irb:
$ irb
irb(main):001:0> require 'Qt4'
=> true
irb(main):002:0> Qt::SystemTrayIcon::isSystemTrayAvailable()
(irb):2: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

Aborted

This bug is not so much about the method not working as Ruby crashing, it
should ideally post an error message indicating and error rather than crashing.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list