[#3292] dir.c --- Dir.chdir error handling — Johan Holmberg <holmberg@...>

55 messages 2004/08/21
[#3350] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/06

Hi, Johan,

[#3351] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/06

Hello.

[#3352] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/06

Hi,

[#3353] Re: [PATCH] dir.c --- Dir.chdir error handling — nobu.nokada@... 2004/09/06

Hi,

[#3354] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/06

Hi,

[#3356] Re: [PATCH] dir.c --- Dir.chdir error handling — nobu.nokada@... 2004/09/07

Hi,

[#3369] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/09

Sorry for late posting. Typhoon striked me.....

[#3372] Re: [PATCH] dir.c --- Dir.chdir error handling — nobu.nokada@... 2004/09/10

Hi,

[#3374] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/10

[#3376] Re: [PATCH] dir.c --- Dir.chdir error handling — nobu.nokada@... 2004/09/10

Hi,

[#3378] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/11

nobu.nokada@softhome.net wrote:

[#3383] Re: [PATCH] dir.c --- Dir.chdir error handling — nobu.nokada@... 2004/09/12

Hi,

[#3384] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/13

[#3385] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/13

Hi,

[#3386] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/13

[#3387] Re: [PATCH] dir.c --- Dir.chdir error handling — ts <decoux@...> 2004/09/13

>>>>> "H" == H Yamamoto <ocean@m2.ccsnet.ne.jp> writes:

[#3392] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/14

[#3393] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/14

Hi,

[#3394] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/14

[#3395] Re: [PATCH] dir.c --- Dir.chdir error handling — ts <decoux@...> 2004/09/14

>>>>> "H" == H Yamamoto <ocean@m2.ccsnet.ne.jp> writes:

[#3399] Re: [PATCH] dir.c --- Dir.chdir error handling — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2004/09/15

[#3403] Re: [PATCH] dir.c --- Dir.chdir error handling — ts <decoux@...> 2004/09/15

>>>>> "H" == H Yamamoto <ocean@m2.ccsnet.ne.jp> writes:

[#3404] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/15

Hi,

[#3405] Re: [PATCH] dir.c --- Dir.chdir error handling — ts <decoux@...> 2004/09/15

>>>>> "Y" == Yukihiro Matsumoto <matz@ruby-lang.org> writes:

[#3409] Re: [PATCH] dir.c --- Dir.chdir error handling — Yukihiro Matsumoto <matz@...> 2004/09/16

Hi,

[#3416] Re: [PATCH] dir.c --- Dir.chdir error handling — ts <decoux@...> 2004/09/16

>>>>> "Y" == Yukihiro Matsumoto <matz@ruby-lang.org> writes:

[#3303] URGENT: what's the bug reporting system now? — Dave Thomas <dave@...>

Hello!

14 messages 2004/08/25

Re: 1.8.2 preview bug?

From: "daz" <dooby@...10.karoo.co.uk>
Date: 2004-08-10 02:49:47 UTC
List: ruby-core #3267
From: "Chad Fowler" <chad@chadfowler.com>

> I haven't had time to really investigate this, but I've boiled it down
> to a stupid repeatable test case.
> $ cat mm.rb
> class Bug
>    define_method("asdf") {
>      asdf
>    }
> end
> Bug.new.asdf
>
> $ /usr/local/bin/ruby -v mm.rb
> ruby 1.8.2 (2004-07-29) [powerpc-darwin7.4.0]
> ^CIllegal instruction
>
> It also seems to be an old problem:
>
> $ ruby -v mm.rb
> ruby 1.8.1 (2003-12-25) [i686-linux]
> Segmentation fault
>
>
> Chad
>


I think this is what should happen (and _does_ on Windows).

-----
ruby 1.8.0 (2003-05-15) [i386-mswin32]
   - and -
ruby 1.9.0 (2004-06-25) [i586-bccwin32]
-----

C:/TEMP/rbA082.TMP:3:in `asdf': stack level too deep (SystemStackError)
 from C:/TEMP/rbA082.TMP:2:in `asdf'
 from C:/TEMP/rbA082.TMP:3:in `asdf'
 from C:/TEMP/rbA082.TMP:2:in `asdf'
 from C:/TEMP/rbA082.TMP:3:in `asdf'
 from C:/TEMP/rbA082.TMP:2:in `asdf'
 from C:/TEMP/rbA082.TMP:3:in `asdf'
 from C:/TEMP/rbA082.TMP:2:in `asdf'
 from C:/TEMP/rbA082.TMP:3:in `asdf'
  ... 2746 levels...
 from C:/TEMP/rbA082.TMP:2:in `asdf'
 from C:/TEMP/rbA082.TMP:3:in `asdf'
 from C:/TEMP/rbA082.TMP:2:in `asdf'
 from C:/TEMP/rbA082.TMP:6


Same as with a def:

class Bug
   def asdf
     asdf
   end
end
Bug.new.asdf

#  ... 1441 levels...


:daz





____________________________________________________________________________
This email and all attachments have been scanned by Kingston Communications'
email Anti-Virus service and no known viruses were detected.
____________________________________________________________________________





In This Thread