Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: SWIG / Ruby GC issues
Paul Brannan
10/29/2007 5:05:00 PM
On Sun, Oct 28, 2007 at 01:31:10PM +0900, redroofgreentree wrote:
> I have this really nasty SWIG/ruby GC issue. (Namely objects are being
> freed when I don't want them to be freed).
>
> These bugs are hard to track down, here's what would really help me:
>
> Is there some way I can tell ruby that when it frees an object, to ZERO
> out that entire region in memory? It'll make tracking down the bug so much
> easier.
Valgrind often helps in tracking down these sorts of issues. You'll
need a suppressions file; the one I use is located at:
http://rubystuff.org...
Paul
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: SWIG / Ruby GC issues
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password