[#5563] Non-overridable and non-redefinable methods — Eric Mahurin <eric_mahurin@...>

Lately, I've been thinking about the future of ruby

44 messages 2005/08/19
[#5564] Re: Non-overridable and non-redefinable methods — Austin Ziegler <halostatue@...> 2005/08/19

On 8/19/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:

[#5571] Re: Non-overridable and non-redefinable methods — Eric Mahurin <eric_mahurin@...> 2005/08/19

--- Austin Ziegler <halostatue@gmail.com> wrote:

[#5574] Re: Non-overridable and non-redefinable methods — TRANS <transfire@...> 2005/08/20

Just wanted to add a few things.

[#5581] Re: Non-overridable and non-redefinable methods — Austin Ziegler <halostatue@...> 2005/08/20

On 8/19/05, TRANS <transfire@gmail.com> wrote:

[#5583] Re: Non-overridable and non-redefinable methods — "David A. Black" <dblack@...> 2005/08/20

Hi --

[#5585] Re: Non-overridable and non-redefinable methods — Eric Mahurin <eric_mahurin@...> 2005/08/20

--- "David A. Black" <dblack@wobblini.net> wrote:

[#5609] Pathname#walk for traversing path nodes (patch) — ES <ruby-ml@...>

Here is a small addition to Pathname against 1.9, probably suited

20 messages 2005/08/22

Unpredictable, but fairly frequent segfault using rb_eval

From: Barnhill William A Ctr AFRL/IFGA <William.Barnhill.ctr@...>
Date: 2005-08-18 15:02:02 UTC
List: ruby-core #5556
> I'm running a C++ app which calls rb_eval many times and perhaps once
> every 100 calls aborts due to segfault on rb_eval call
> 
> System is SUSE 9.3, behavior appears on 1.8.2 and 1.8.3 preview 1
> 
> I get the following:
> Program received signal SIGSEGV, Segmentation fault
> [Switching to Thread 1077648768 (LWP 8833)]
> 0x40306dac in _int_malloc () from /lib/tls/libc.so.6
> (gdb) bt
> #0  0x40306dac in _int_malloc () from /lib/tls/libc.so.6
> #1  0x40308344 in malloc () from /lib/tls/libc.so.6
> #2  0x08074a76 in ruby_xmalloc (size=4) at gc.c:121
> #3  0x080b642d in str_new (klass=Variable "klass" is not available.
> ) at string.c:92
> #4  0x080b6e2e in rb_str_new2 (ptr=0x82393f2 "2+3") at string.c:115
> #5  0x0806c490 in rb_eval_string (str=0x82393f2 "2+3") at eval.c:1555
> #6  0x0805e3ba in rb_protect (proc=0x806c460 <rb_eval_string>,
> data=136549362, state=0xbfffdf88) at eval.c:5256
> #7  0x0805e3e8 in rb_eval_string_protect (str=0x82393f2 "2+3",
> state=0xbfffdf88) at eval.c:1566
> 
> Any help would be greatly appreciated. System has 512Mb of memory, and my
> only thought is that this is an out-of-memory error. Btw, the eval'd
> expression is 2+3, not something complex.
> 
> Thanks,
> 
> Bill Barnhill   

In This Thread

Prev Next