[#4654] signleton_methods / methods / public_methods - weirdness? — Johan Holmberg <holmberg@...>
[#4666] Getting a hex representation for a Numeric — "Zev Blut" <rubyzbibd@...>
Hello,
[#4670] ruby 1.8.3 preview1 plan — Yukihiro Matsumoto <matz@...>
Hi,
[#4690] test failures for stable-snapshot 09/04/2005 — noreply@...
Bugs item #1762, was opened at 10-04-2005 20:46
Hello.
[#4709] BNF-like grammar specified DIRECTLY in Ruby — Eric Mahurin <eric_mahurin@...>
Hello everybody,
[#4712] Segfault in zlib? — Nathaniel Talbott <ntalbott@...>
I'm using rubyzip (latest gem version) and zlib (1.2.2) to do a bunch
[#4736] Trivial speedup in Array#zip — Mauricio Fern疣dez <batsman.geo@...>
[#4745] Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings — Erik Huelsmann <ehuels@...>
Having taken upon me the task to provide a Windows build for
On 4/20/05, Erik Huelsmann <ehuels@gmail.com> wrote:
Hi Austin,
Hi,
On 4/24/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
Hi,
> > > Ruby is just using AC_TYPE_UID_T. So, using typedef for them,
Hi,
On 4/26/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
As promised, I attached a patch to eliminate the compile problems
Hi,
Thanks for the quick response!
Hi,
On 5/14/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net> wrote:
[#4751] Illegal regexp causes segfault — Andrew Walrond <andrew@...>
irb(main):058:0> a = /\[([^]]*)\]/
Andrew Walrond, April 22:
In article <200504221210.38231.andrew@walrond.org>,
>>>>> "T" == Tanaka Akira <akr@m17n.org> writes:
[#4774] enhanced $0 modification — Evan Webb <evanwebb@...>
The attached patch allows for ruby to use more of the available stack
Hi,
[#4775] profiler.rb Schroedinbug — C Erler <erlercw@...>
A ruby program with the single instruction "require 'profile'"
>A ruby program with the single instruction "require 'profile'"
[#4807] Re: -Wall — Vincent Isambart <vincent.isambart@...>
> Why does ruby build without -Wall in CFLAGS by default? -Wall can help to
[#4815] Re: -Wall — nobu.nokada@...
Hi,
Re: profiler.rb Schroedinbug
On 24/04/05, H. Yamamoto <ocean@m2.ccsnet.ne.jp> wrote:
> >A ruby program with the single instruction "require 'profile'"
> >(or with a small program attached afterward) fails on Ruby 1.8
> >and 1.9.
> >
> >c:/ruby/lib/ruby/1.8/profiler.rb:30: undefined method `[]' for
> >nil:NilClass (NoMethodError)
>
> Maybe, did you require "profile.rb" on irb?
>
> E:\ruby-cvs\bcc32>irb19
> irb(main):001:0> require "profile"
> % cumulative self self total
> time seconds seconds calls ms/call ms/call name
> 1600.00 0.16 0.16 1 160.00 160.00 Profiler__.start_profile
> 0.00 0.16 0.00 1 0.00 0.00 IRB::Irb#signal_status
> 0.00 0.16 0.00 1 0.00 0.00 RubyLex#each_top_level_sta
> tement
> 0.00 0.16 0.00 1 0.00 160.00 IRB::WorkSpace#evaluate
> 0.00 0.16 0.00 1 0.00 0.00 IRB.start
> 0.00 0.16 0.00 2 0.00 0.00 Module#===
> 0.00 0.16 0.00 1 0.00 0.00 IRB::Context#evaluate
> 0.00 0.16 0.00 1 0.00 10.00 #toplevel
> 0.00 0.16 0.00 1 0.00 0.00 IRB::Irb#eval_input
> E:/ruby-cvs/ruby/lib/profiler.rb:27: undefined method `[]' for nil:NilClass (NoM
> ethodError)
> from E:/ruby-cvs/ruby/lib/profiler.rb:5:in `start'
> from E:/ruby-cvs/ruby/lib/irb.rb:51:in `start'
> from ../ruby/bin/irb:13
>
> I couldn't reproduce the problem outside of irb.
>
> E:\ruby-cvs\bcc32>ruby19 -rprofile -e ""
> % cumulative self self total
> time seconds seconds calls ms/call ms/call name
> 400.00 0.04 0.04 1 40.00 40.00 Profiler__.start_profile
> 0.00 0.04 0.00 1 0.00 10.00 #toplevel
Neither irb nor ruby -rprofile cause the bug for me. It happens when
I simply make a blank file with require 'profile' in it, then run ruby
thefile.rb.
C:\Documents and Settings\User\Desktop>echo require 'profile' > test.rb
C:\Documents and Settings\User\Desktop>ruby test.rb
% cumulative self self total
time seconds seconds calls ms/call ms/call name
3700.00 0.37 0.37 1 370.00 370.00 Profiler__.start_profile
0.00 0.37 0.00 1 0.00 10.00 #toplevel
0.00 0.37 0.00 1 0.00 370.00 Kernel.require
c:/ruby/lib/ruby/1.8/profiler.rb:30: undefined method `[]' for
nil:NilClass (NoMethodError)
from c:/ruby/lib/ruby/1.8/profiler.rb:5:in `require'
from test.rb:1:in `require'
from test.rb:1