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

Stefano Crocco stefano.crocco at alice.it
Wed May 27 12:04:21 UTC 2009


On Wednesday 27 May 2009, Richard Dale wrote:
> |I went to the Ruby site to download the version you are using, but it
> | wasn't there, only p71. So is it a stable version, or is it possible that
> | this is some kind of bug in Ruby itself?

From the download page of ruby site, you can't download any version of ruby 
1.8.7. However, going to the news page, you can find the following news:

Ruby 1.8.7-p160 and 1.8.6-p368 released

Below that, there's the link to download the version I refer to.

> |
> |If the same instance is being freed twice maybe it would help to set the
> | 'o-
> |
> |>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.

Thanks for the answer

Stefano



More information about the Kde-bindings mailing list