Bug#335876: libqt0-ruby1.8: calls to Qt::Dialog's initialize do not return as expected
Package: libqt0-ruby1.8
Version: 4:3.4.2-2
Severity: important
Consider this simple example program:
#!/usr/bin/ruby
require 'Qt'
class ConfigDatabase < Qt::Dialog
def initialize(*k)
puts("init in CD")
super(*k)
puts("after Qt::Dialog's init")
end
end
$app = Qt::Application.new(ARGV)
cd = ConfigDatabase.new
With the current libqt0-ruby1.8 the second puts is not executed,
and the rest of ConfigDatabase's initialize method is not executed
either.
This works with sarge's libqt0-ruby1.8 (3.3.2-1). It also renders
everything that rbuic creates (if not every Ruby/Qt program) unusable.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.13.2
Locale: LANG=C, LC_CTYPE=de_DE@euro
Versions of packages libqt0-ruby1.8 depends on:
ii libaudio2 1.6d-2 The Network Audio System (NAS). (s
ii libc6 2.3.5-3 GNU C Library: Shared libraries an
ii libfontconfig1 2.3.1-2 generic font configuration library
ii libfreetype6 2.1.7-2.2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-2 GCC support library
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-4 PNG library - runtime
ii libqt3-mt 3:3.3.5-1 Qt GUI Library (Threaded runtime v
ii libruby1.8 1.8.3-2 Libraries necessary to run Ruby 1.
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
ii libsmokeqt1 4:3.4.2-2 SMOKE Binding Library to Qt
ii libstdc++6 4.0.2-2 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxi6 4.3.0.dfsg.1-6 X Window System Input extension li
ii libxinerama1 6.8.2.dfsg.1-7 X Window System multi-head display
ii libxrandr2 4.3.0.dfsg.1-6 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0-2 X Rendering Extension client libra
ii libxt6 4.3.0.dfsg.1-6 X Toolkit Intrinsics
ii ruby1.8 1.8.3-2 Interpreter of object-oriented scr
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.3-1 compression library - runtime
-- no debconf information
Reply to: