[#1207] warning in ruby extension eats memory — Eugene Scripnik <Eugene.Scripnik@...>
This message was posted to ruby-talk, but I didn't get responce from
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
ts wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
ts wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
ts wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
ts wrote:
>>>>> "E" == Eugene Scripnik <Eugene.Scripnik@itgrp.net> writes:
Hi,
[#1229] stack problem — Mathieu Bouchard <matju@...>
On Sat, Jul 12, 2003 at 01:59:53PM +0900, Mathieu Bouchard wrote:
On Tue, Jul 15, 2003 at 01:26:43AM +0900, Mathieu Bouchard wrote:
Hi,
[#1237] FTP.new with block — Gavin Sinclair <gsinclair@...>
Hi,
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
Hi,
Mathieu Bouchard wrote:
On Sun, Jul 20, 2003 at 03:06:13AM +0900, Dave Thomas wrote:
>>>>> "R" == Richard Zidlicky <rz@linux-m68k.org> writes:
On Sun, Jul 20, 2003 at 06:51:03PM +0900, ts wrote:
>>>>> "R" == Richard Zidlicky <rz@linux-m68k.org> writes:
On Mon, Jul 21, 2003 at 09:59:19PM +0900, ts wrote:
[#1249] File.write(path, data)? — Gavin Sinclair <gsinclair@...>
I am glad to see File.read(path) in Ruby 1.8. But what about
[#1256] testunit, exit status and at_exit — Dave Thomas <dave@...>
I'd really like TestUnit to be able to return an exit status when I run
-----BEGIN PGP SIGNED MESSAGE-----
Sean E. Russell [mailto:ser@germane-software.com] wrote:
Hi,
[#1257] Add have_defined() and rework have_struct_member() — Michal Rokos <m.rokos@...>
Hello,
[#1297] Fix for Bug 1058 — Markus Walser <walser@...>
Hi,
Hi,
On Friday 25 July 2003 10:58, Yukihiro Matsumoto wrote:
Hi,
On Friday 25 July 2003 11:46, Yukihiro Matsumoto wrote:
I tried to figure out what's wrong. So far I havn't a solution:
Hello,
> Check the value of klass by
Hi,
[#1309] exceptions and such — Mathieu Bouchard <matju@...>
[#1310] adding NodeDump and ii — nobu.nokada@...
Hi,
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
Re: warning in ruby extension eats memory
nobu.nokada@softhome.net wrote: > This is strange; rb_deferr is hooked by $deferr and should > never be GC'ed. > > >>The question is: why I experience this problem but others do not, and >>how to solve it? > > > Try: > > 1. stop at ruby_exec(). > 2. put watchpoint at ((struct RFile *)rb_deferr)->flags to > check when it'll be clobbered. I'm sorry for late response. Nobu, you are right I have my ulimit set to unlimited and here is my gdb session: (gdb) c Continuing. Loaded suite test Started Finished in 0.003058 seconds. 0 tests, 0 assertions, 0 failures, 0 errors Hardware watchpoint 2: (*(struct RFile *) rb_deferr)->basic->flags Old value = 14 New value = 0 rb_gc_call_finalizer_at_exit () at gc.c:1598 1598 rb_io_fptr_finalize(RANY(p)->as.file.fptr); (gdb) bt #0 rb_gc_call_finalizer_at_exit () at gc.c:1598 #1 0x2808af93 in ruby_finalize () at eval.c:1333 #2 0x2808b0a0 in ruby_cleanup (ex=0) at eval.c:1360 #3 0x2808b1af in ruby_stop (ex=0) at eval.c:1388 #4 0x2808b206 in ruby_run () at eval.c:1400 #5 0x080485f6 in main (argc=2, argv=0xbfbffbf0, envp=0xbfbffbfc) at main.c:50 #6 0x08048515 in _start -- Eugene Scripnik IT Group Software Architect Tel./Fax +380 (372) 58-43-10 email: Eugene.Scripnik@itgrp.net http://www.itgrp.net/