[Kde-bindings] crash testing a korundum application with rspec and ruby 1.8.7-p160

Richard Dale rdale at foton.es
Wed May 27 13:24:21 UTC 2009


On Wednesday 27 May 2009 02:07:46 pm Stefano Crocco wrote:
> On Wednesday 27 May 2009, Stefano Crocco wrote:
> > |On Wednesday 27 May 2009, Richard Dale wrote:
> > |> |>ptr' value to 0, even if that is  workround:
> > |> |
> > |> |mardigras rdale 593% svn diff Qt.cpp
> > |> |Index: Qt.cpp
> > |> |===================================================================
> > |> |--- Qt.cpp      (revision 966580)
> > |> |+++ Qt.cpp      (working copy)
> > |> |@@ -128,6 +128,7 @@
> > |> | void
> > |> | free_smokeruby_object(smokeruby_object * o)
> > |> | {
> > |> |+    o->ptr = 0;
> > |> |        xfree(o);
> > |> |        return;
> > |> | }
> > |
> > |I'll try this as soon as I can.
>
> I just tried that, but it doesn't work. I get the same crash as before.
Oh well it might have told us something. Have you tried debug GC logging:

Qt::Internal::setDebug Qt::QtDebugChannel::QTDB_GC

Then see if it logs the same instance being freed. 

I'll try and build the newer Ruby 1.8.7 release that gives the crash, but I 
don't want to mess up my current Ruby, and so I need to work out how to do a 
dual install in a chroot or something.

-- Richard



More information about the Kde-bindings mailing list