Qt::SystemTrayIcon::isSystemTrayAvailable() segfault
Bug #454597 reported by
Marc Bowes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebindings (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
$ irb
irb(main):001:0> require 'Qt4'
=> true
irb(main):002:0> Qt::SystemTrayI
(irb):2: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
ProblemType: Bug
Architecture: i386
Date: Sun Oct 18 13:38:38 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: libqt4-ruby 4:4.3.2-0ubuntu3
PackageArchitec
ProcEnviron:
LANG=en_ZA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: kdebindings
Uname: Linux 2.6.31-14-generic i686
To post a comment you must log in.
This seems to be caused by a NULL pointer being passed as a Display*. I'm not sure this counts as a bug though, as a QApplication was not created, so it was not initialized.
irb(main):001:0> require 'Qt' on:0xb61f6a60 objectName="irb"> con::isSystemTr ayAvailable( )
=> true
irb(main):002:0> app = Qt::Application.new []
=> #<Qt::Applicati
irb(main):003:0> Qt::SystemTrayI
=> true
irb(main):004:0>