[Kde-bindings] Re: Another problem ...
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sun Jun 6 11:37:56 UTC 2004
On Sunday 06 June 2004 12:20, Arash Abedinzadeh wrote:
> Richard Dale wrote:
> > $ gdb attach <qtruby process id>
> >
> > Then type 'where' at the gdb prompt. Probably it will be hanging while
> > it's still loading the qtruby extension.
> >
> > So it sounds to me as though you have the known bug where there is an
> > imcompatibility between how ruby an Qt start their threads. Have you
> > tried building the 'krubyinit' binary, and starting the QtRuby app with
> > that instead of ruby or irb? The source is in
> > kdebindings/korundum/bin/krubyinit.cpp, and qtruby/README.1st has an
> > explanation.
>
> Hi,
>
> I've attached the gdb output. But I'm not sure, whether it's helpful or
> not. I'm not very familiar with all this debug stuff. Is it possible that I
> have to enable debugging, debugging symbols or something like that and
> recompile things?
I can see some stuff about pthreads, so it does look like it's the same
problem that krubyinit cures. Previously it's crashed when loading the qtruby
extension, rather than just hanging there I think.
> I also tried to load that library with the krubyinit binary and it worked
> just fine. krubyinit -r qtruby.so -e 'puts Qt::constants.sort' does what
> it's suppose to do.
Good, but it would be nice to be able to fix this bug rather than work round
it. It doesn't happen to me using a PowerPC linux, so it seems Intel
specific.
> Is there anything else I can do? Let me know.
Well, please keep trying out QtRuby and report how you get on..
-- Richard
More information about the Kde-bindings
mailing list