[#33161] Call/CC and Ruby iterators. — olczyk@... (Thaddeus L Olczyk)

Reading about call/cc in Scheme I get the impression that it is very

11 messages 2002/02/05

[#33242] favicon.ico — Dave Thomas <Dave@...>

19 messages 2002/02/06
[#33256] Re: favicon.ico — Leon Torres <leon@...> 2002/02/06

[#33435] Reg: tiny contest: who's faster? (add_a_gram) — grady@... (Steven Grady)

> My current solution works correctly with various inputs.

17 messages 2002/02/08

[#33500] Ruby Embedded Documentation — William Djaja Tjokroaminata <billtj@...>

Hi,

24 messages 2002/02/10
[#33502] Re: Ruby Embedded Documentation — "Lyle Johnson" <ljohnson@...> 2002/02/10

> Now, I am using Ruby on Linux, and I have downloaded Ruby version

[#33615] Name resolution in Ruby — stern@... (Alan Stern)

I've been struggling to understand how name resolution is supposed to

16 messages 2002/02/11

[#33617] choice of HTML templating system — Paul Brannan <paul@...>

I am not a web developer, nor do I pretend to be one.

23 messages 2002/02/11

[#33619] make first letter lowercase — sebi@... (sebi)

hello,

20 messages 2002/02/11
[#33620] Re: [newbie] make first letter lowercase — Tobias Reif <tobiasreif@...> 2002/02/11

sebi wrote:

[#33624] Re: [newbie] make first letter lowercase — "Jeff 'japhy' Pinyan" <jeffp@...> 2002/02/11

On Feb 11, Tobias Reif said:

[#33632] Re: [newbie] make first letter lowercase — Mathieu Bouchard <matju@...> 2002/02/12

[#33731] simple XML parsing (greedy / non-greedy — Ron Jeffries <ronjeffries@...>

Suppose I had this text

14 messages 2002/02/13

[#33743] qualms about respond_to? idiom — David Alan Black <dblack@...>

Hi --

28 messages 2002/02/13
[#33751] Re: qualms about respond_to? idiom — Dave Thomas <Dave@...> 2002/02/13

David Alan Black <dblack@candle.superlink.net> writes:

[#33754] Re: qualms about respond_to? idiom — David Alan Black <dblack@...> 2002/02/13

Hi --

[#33848] "Powered by Ruby" banner — Yuri Leikind <YuriLeikind@...>

Hello Ruby folks,

78 messages 2002/02/14
[#33909] Re: "Powered by Ruby" banner — Leon Torres <leon@...> 2002/02/14

On Thu, 14 Feb 2002, Yuri Leikind wrote:

[#33916] RE: "Powered by Ruby" banner — "Jack Dempsey" <dempsejn@...> 2002/02/15

A modest submission:

[#33929] Re: "Powered by Ruby" banner — yet another bill smith <bigbill.smith@...> 2002/02/15

Kent Dahl wrote:

[#33932] OT Netscape 4.x? was Re: "Powered by Ruby" banner — Chris Gehlker <gehlker@...> 2002/02/15

On 2/15/02 5:54 AM, "yet another bill smith" <bigbill.smith@verizon.net>

[#33933] RE: OT Netscape 4.x? was Re: "Powered by Ruby" banner — "Jack Dempsey" <dempsejn@...> 2002/02/15

i just don't understand why it didn't show up! dhtml/javascript, ok, but a

[#33937] Re: OT Netscape 4.x? was Re: "Powered by Ruby" banner — Chris Gehlker <gehlker@...> 2002/02/15

On 2/15/02 7:16 AM, "Jack Dempsey" <dempsejn@georgetown.edu> wrote:

[#33989] Re: OT OmniWeb [was: Netscape 4.x?] — Sean Russell <ser@...> 2002/02/16

Chris Gehlker wrote:

[#33991] Re: OT OmniWeb [was: Netscape 4.x?] — Rob Partington <rjp@...> 2002/02/16

In message <3c6e5e01_1@spamkiller.newsgroups.com>,

[#33993] Re: OT OmniWeb [was: Netscape 4.x?] — Thomas Hurst <tom.hurst@...> 2002/02/16

* Rob Partington (rjp@browser.org) wrote:

[#33925] Re: "Powered by Ruby" banner — Martin Maciaszek <mmaciaszek@...> 2002/02/15

In article <3C6CFCCA.5AD5CA67@scnsoft.com>, Yuri Leikind wrote:

[#33956] Re: "Powered by Ruby" banner — Leon Torres <leon@...> 2002/02/15

On Fri, 15 Feb 2002, Martin Maciaszek wrote:

[#33851] Ruby and .NET — Patrik Sundberg <ps@...>

I have been reading a bit about .NET for the last couple of days and must say

53 messages 2002/02/14

[#34024] Compiled companion language for Ruby? — Erik Terpstra <erik@...>

Hmmm, seems that my previous post was in a different thread, I'll try

12 messages 2002/02/16

[#34036] The GUI Returns — "Horacio Lopez" <vruz@...>

Hello all,

33 messages 2002/02/17

[#34162] Epic4/Ruby — Thomas Hurst <tom.hurst@...>

Rejoice, for you no longer have to put up with that evil excuse for a

34 messages 2002/02/18

[#34185] Operator overloading and multiple arguments — ptkwt@...1.aracnet.com (Phil Tomson)

I'm trying to overload the '<=' operator in a class in order to use it for

10 messages 2002/02/18

[#34217] Ruby for web development — beripome@... (Billy)

Hi all,

21 messages 2002/02/19

[#34350] FAQ for comp.lang.ruby — "Hal E. Fulton" <hal9000@...>

RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2001-2-18)

15 messages 2002/02/20

[#34375] Setting the Ruby continued — <jostein.berntsen@...>

Hi,

24 messages 2002/02/20
[#34384] Re: Setting the Ruby continued — Paulo Schreiner <paulo@...> 2002/02/20

Also VERY important:

[#34467] recursive require — Ron Jeffries <ronjeffries@...>

I'm having a really odd thing happen with two files that mutually

18 messages 2002/02/21

[#34503] special characters — Tobias Reif <tobiasreif@...>

Hi all,

13 messages 2002/02/22

[#34517] Windows Installer Ruby 166-0 available — Andrew Hunt <andy@...>

16 messages 2002/02/22

[#34597] rdoc/xml questions — Dave Thomas <Dave@...>

24 messages 2002/02/23

[#34631] Object/Memory Management — "Sean O'Dell" <sean@...>

I'm new to Ruby and the community here (I've been learning Ruby for a grand

44 messages 2002/02/23

[#34682] duplicate method name — Ron Jeffries <ronjeffries@...>

I just found a case in a test file where i had two tests of the same

16 messages 2002/02/24
[#34687] Re: duplicate method name — s@... (Stefan Schmiedl) 2002/02/24

Hi Ron.

[#34791] Style Question — Ron Jeffries <ronjeffries@...>

So I'm building this set theory library. The "only" object is supposed

13 messages 2002/02/25

[#34912] RCR?: parallel to until: as_soon_as — Tobias Reif <tobiasreif@...>

Hi,

18 messages 2002/02/26

[#34972] OT A Question on work styles — Chris Gehlker <gehlker@...>

As a Mac baby I just had to step through ruby in GDB *from the command line*

20 messages 2002/02/28

[#35015] Time Comparison — "Sean O'Dell" <sean@...>

I am using the time object to compare times between two files and I'm

21 messages 2002/02/28

Possible bug -- ruby cvs (1.7.2 2002-02-10) interpreter seg fault

From: Matt Armstrong <matt@...>
Date: 2002-02-13 00:34:39 UTC
List: ruby-talk #33715
If I run this script

    require 'tempfile'

    while true
      tempfile = nil
      begin
        tempfile = Tempfile.new('tempfile-test')
      ensure
        tempfile.close(true) unless tempfile.nil?
      end
    end

From a shell in which I've done "ulimit -v 20480" the ruby interpreter
seg faults.  It seems to seg fault when it runs out of memory.

Bumping the resource limit to 80 megabytes doesn't help
-- this script seems to continuously eat up more and more memory.
This is a distilled test case from a real script that processes a
whole lot of input with temp files.

This is under Linux with the latest CVS ruby.

GDB says:

Program received signal SIGSEGV, Segmentation fault.
0x0805b1d5 in backtrace (lev=-1) at eval.c:4803
(gdb) bt
#0  0x0805b1d5 in backtrace (lev=-1) at eval.c:4803
#1  0x0805b418 in make_backtrace () at eval.c:4885
#2  0x08058431 in rb_longjmp (tag=8, mesg=1080758032) at eval.c:3533
#3  0x0805861b in rb_exc_fatal () at eval.c:3576
#4  0x080bf584 in rb_sys_fail (mesg=0x80c2781 "failed to allocate memory")
    at error.c:714
#5  0x08068f7d in mem_error (mesg=0x80c2781 "failed to allocate memory")
    at gc.c:81
#6  0x0806905f in ruby_xmalloc (size=1024) at gc.c:110
#7  0x0809dc96 in ruby_re_compile_pattern (
    pattern=0x8115220 ":in `__getobj__'$", size=17, bufp=0x897ef68)
    at regex.c:2415
#8  0x08093fed in make_regexp (s=0x8115220 ":in `__getobj__'$", len=17, 
    flags=0) at re.c:432
#9  0x08094bf3 in rb_reg_initialize (obj=1080695896, 
    s=0x8115220 ":in `__getobj__'$", len=17, options=0) at re.c:917
#10 0x08094cb3 in rb_reg_new (s=0x8115220 ":in `__getobj__'$", len=17, 
    options=0) at re.c:949
#11 0x08087211 in parse_regx (term=47, paren=47) at parse.y:2599
#12 0x0808bb89 in ruby_yylex () at parse.y:3529
#13 0x08081785 in ruby_yyparse () at /usr/share/bison/bison.simple:595
#14 0x08085b96 in yycompile (f=0x80c06b5 "(eval)", line=1) at parse.y:2148
#15 0x08085d26 in rb_compile_string (f=0x80c06b5 "(eval)", s=1080710392, 
    line=1) at parse.y:2209
#16 0x0805b45e in compile (src=1080710392, file=0x80c06b5 "(eval)", line=1)
    at eval.c:4904
#17 0x0805b75f in eval (self=1080040864, src=1080710392, scope=4, 
    file=0x80c06b5 "(eval)", line=1) at eval.c:4984
#18 0x0805bc4f in rb_f_eval (argc=1, argv=0xbfffb754, self=1080040864)
    at eval.c:5091
#19 0x0805a118 in call_cfunc (func=0x805b9a8 <rb_f_eval>, recv=1080040864, 
    len=-1, argc=1, argv=0xbfffb754) at eval.c:4326
#20 0x0805a621 in rb_call0 (klass=1075628208, recv=1080040864, id=3777, 
    argc=1, argv=0xbfffb754, body=0x401caae0, nosuper=1) at eval.c:4463
#21 0x0805ae38 in rb_call (klass=1075628208, recv=1080040864, mid=3777, 
    argc=1, argv=0xbfffb754, scope=1) at eval.c:4687
#22 0x0805613c in rb_eval (self=1080040864, n=0x401b6980) at eval.c:2680
#23 0x08055672 in rb_eval (self=1080040864, n=0x401b6758) at eval.c:2508
#24 0x08058c98 in rb_yield_0 (val=1079988520, self=1080040864, klass=0, 
    pcall=0) at eval.c:3757
#25 0x08058ec8 in rb_yield (val=1079988520) at eval.c:3826
#26 0x080b4c24 in rb_ary_each (ary=1079993176) at array.c:767
#27 0x0805a126 in call_cfunc (func=0x80b4c04 <rb_ary_each>, recv=1079993176, 
    len=0, argc=0, argv=0x0) at eval.c:4329
#28 0x0805a621 in rb_call0 (klass=1075592928, recv=1079993176, id=3689, 
    argc=0, argv=0x0, body=0x401c39e8, nosuper=1) at eval.c:4463
#29 0x0805ae38 in rb_call (klass=1075592928, recv=1079993176, mid=3689, 
    argc=0, argv=0x0, scope=0) at eval.c:4687
#30 0x08055289 in rb_eval (self=1080040864, n=0x401b8780) at eval.c:2420
#31 0x0805aa12 in rb_call0 (klass=1075553808, recv=1080040864, id=2889, 
    argc=0, argv=0xbfffd4d4, body=0x401b8780, nosuper=0) at eval.c:4591
#32 0x0805ae38 in rb_call (klass=1075553808, recv=1080040864, mid=2889, 
    argc=1, argv=0xbfffd4d0, scope=3) at eval.c:4687
#33 0x08056409 in rb_eval (self=1080040864, n=0x401b6350) at eval.c:2710
#34 0x0805473a in rb_eval (self=1080040864, n=0x401b62d8) at eval.c:2154
#35 0x0805aa12 in rb_call0 (klass=1075553736, recv=1080040864, id=2889, 
    argc=0, argv=0xbfffd678, body=0x401b62d8, nosuper=0) at eval.c:4591
#36 0x0805ae38 in rb_call (klass=1075553736, recv=1080040864, mid=2889, 
    argc=1, argv=0xbfffd674, scope=3) at eval.c:4687
#37 0x08056409 in rb_eval (self=1080040864, n=0x401b82e8) at eval.c:2710
#38 0x0805473a in rb_eval (self=1080040864, n=0x401b9140) at eval.c:2154
#39 0x0805aa12 in rb_call0 (klass=1075552080, recv=1080040864, id=2889, 
    argc=0, argv=0xbfffe468, body=0x401b9140, nosuper=0) at eval.c:4591
#40 0x0805ae38 in rb_call (klass=1075552080, recv=1080040864, mid=2889, 
    argc=1, argv=0xbfffe464, scope=1) at eval.c:4687
#41 0x0805b0d9 in rb_funcall2 (recv=1080040864, mid=2889, argc=1, 
    argv=0xbfffe464) at eval.c:4771
#42 0x0805d6e7 in rb_obj_call_init (obj=1080040864, argc=1, argv=0xbfffe464)
    at eval.c:5799
#43 0x0807c36c in rb_class_new_instance (argc=1, argv=0xbfffe464, 
    klass=1075552080) at object.c:683
#44 0x0805a118 in call_cfunc (func=0x807c324 <rb_class_new_instance>, 
    recv=1075552080, len=-1, argc=1, argv=0xbfffe464) at eval.c:4326
#45 0x0805a621 in rb_call0 (klass=1075628328, recv=1075552080, id=3249, 
    argc=1, argv=0xbfffe464, body=0x401cb4d0, nosuper=1) at eval.c:4463
#46 0x0805ae38 in rb_call (klass=1075628328, recv=1075552080, mid=3249, 
    argc=1, argv=0xbfffe464, scope=0) at eval.c:4687
#47 0x08055f06 in rb_eval (self=1075622784, n=0x401ba388) at eval.c:2667
#48 0x08056ada in rb_eval (self=1075622784, n=0x401ba370) at eval.c:2832
#49 0x080558bd in rb_eval (self=1075622784, n=0x401ba220) at eval.c:2548
#50 0x08054dca in rb_eval (self=1075622784, n=0x401ba1a8) at eval.c:2338
#51 0x080523c8 in eval_node (self=1075622784, node=0x401ba1a8) at eval.c:1082
#52 0x0805276f in ruby_run () at eval.c:1216
#53 0x08050fb2 in main (argc=2, argv=0xbffff954, envp=0xbffff960) at main.c:50
#54 0x4008b65f in __libc_start_main () from /lib/libc.so.6


-- 
matt

In This Thread

Prev Next