[Kde-bindings] [Bug 71316] New: QtRuby : Segmentation fault when loading Qt
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sun Dec 28 10:54:36 UTC 2003
On Saturday 27 December 2003 17:01, Frédéric wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=71316
> Summary: QtRuby : Segmentation fault when loading Qt
> Product: bindings
> Version: unspecified
> Platform: Compiled Sources
> OS/Version: Linux
> Status: UNCONFIRMED
> Severity: crash
> Priority: NOR
> Component: general
> AssignedTo: kde-bindings at mail.kde.org
> ReportedBy: frederic.coiffier at free.fr
>
>
> Version: 3.1.94 (using KDE KDE 3.1.94)
> Installed from: Compiled From Sources
> Compiler: gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2,
> propolice) OS: Linux
>
> I've compiled the KDEBINDINGS of KDE3.0beta2 and the last CVS tree for
> QtRuby (and Kalyptus and Smoke). When I launch any ruby script which
> requires Qt, I've the following error :
>
> bash-2.05b$ ruby canvastest.rb
> /usr/lib/ruby/site_ruby/1.8/i686-linux-gnu/Qt.so: [BUG] Segmentation fault
> ruby 1.8.1 (2003-10-31) [i686-linux-gnu]
>
> Segmentation fault
Can you try running under gdb to see where the seg fault is occuring? Alex
Kellett has had problems with QtRuby/ruby 1.8 seg faulting in pthreads code,
and he was using a more recent gcc than me. He said the workround was to
build ruby with pthreads enabled. I have no problem, and I'm using gcc 3.2.2.
I think it's some sort of library incompatibility. But I haven't tried ruby
1.8.1 with qtruby yet though.
-- Richard
More information about the Kde-bindings
mailing list