[#64703] Add `Hash#fetch_at` (issue #10017) — Wojtek Mach <wojtek@...>
Hey guys
1 message
2014/09/01
[#64711] [ruby-trunk - Bug #10193] [Closed] TestIO#test_readpartial_locktmp fails randomly — nobu@...
Issue #10193 has been updated by Nobuyoshi Nakada.
3 messages
2014/09/02
[#64744] [ruby-trunk - Bug #10202] [Open] TestBenchmark#test_realtime_output breaks on ARM — v.ondruch@...
Issue #10202 has been reported by Vit Ondruch.
3 messages
2014/09/03
[#64823] documenting constants — Xavier Noria <fxn@...>
I am writing a Rails guide about constant autoloading in Ruby on
5 messages
2014/09/07
[#64838] [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus — ko1@...
Issue #10212 has been reported by Koichi Sasada.
6 messages
2014/09/08
[#64858] Re: [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus
— Eric Wong <normalperson@...>
2014/09/08
rb_env_t may use a flexible array, helps a little even on my busy system:
[#64871] Re: [ruby-trunk - Bug #10212] [Open] MRI is not for lambda calculus
— SASADA Koichi <ko1@...>
2014/09/08
(2014/09/08 19:48), Eric Wong wrote:
[#64972] [ruby-trunk - Bug #10231] [Open] Process.detach(pid) defines new singleton classes every call — headius@...
Issue #10231 has been reported by Charles Nutter.
3 messages
2014/09/11
[#64980] [ruby-trunk - Bug #10212] MRI is not for lambda calculus — ko1@...
Issue #10212 has been updated by Koichi Sasada.
4 messages
2014/09/12
[#65142] [ruby-trunk - Feature #10267] [Open] Number of processors — akr@...
Issue #10267 has been reported by Akira Tanaka.
4 messages
2014/09/20
[#65144] Re: [ruby-trunk - Feature #10267] [Open] Number of processors
— Eric Wong <normalperson@...>
2014/09/20
akr@fsij.org wrote:
[#65148] Target version: Ruby 2.2/Ruby 2.3 not available — "Martin J. Dürst" <duerst@...>
Today, I wanted to set the target version of
3 messages
2014/09/20
[#65210] [ruby-trunk - misc #10278] [Assigned] [RFC] st.c: use ccan linked list — nobu@...
Issue #10278 has been updated by Nobuyoshi Nakada.
3 messages
2014/09/22
[ruby-core:65037] [ruby-trunk - Bug #9945] Segmentation fault when defining recursive method
From:
nagachika00@...
Date:
2014-09-14 15:29:03 UTC
List:
ruby-core #65037
Issue #9945 has been updated by Tomoyuki Chikanaga.
Related to Bug #10218: =E6=89=8B=E7=B6=9A=E3=81=8D=E3=82=92=E5=86=8D=E5=B8=
=B0=E3=81=99=E3=82=8B=E3=81=A8Segmentation fault=E3=81=8C=E7=99=BA=E7=94=9F=
=E3=81=99=E3=82=8B added
----------------------------------------
Bug #9945: Segmentation fault when defining recursive method
https://bugs.ruby-lang.org/issues/9945#change-48904
* Author: H H
* Status: Closed
* Priority: Normal
* Assignee:=20
* Category:=20
* Target version:=20
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The following code causes segmentation fault, although I expect it to creat=
e stack overflow.
```ruby
a =3D Object.new=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
a.define_singleton_method(:meth) do
puts '123'=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
a.meth=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
end=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
a.meth
```
~~~
123
123
123
123
[REDUCTED]
123
123
smeth.rb:3: [BUG] Segmentation fault at 0x007fff54fcaff8
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
-- Control frame information -----------------------------------------------
c:7086 p:---- s:28337 e:008336 CFUNC :write
c:7085 p:---- s:28335 e:008334 CFUNC :puts
c:7084 p:---- s:28333 e:008332 CFUNC :puts
c:7083 p:0009 s:28329 e:008328 LAMBDA smeth.rb:3 [FINISH]
c:7082 p:0016 s:28325 e:008324 LAMBDA smeth.rb:4 [FINISH]
c:7081 p:0016 s:28321 e:008320 LAMBDA smeth.rb:4 [FINISH]
c:7080 p:0016 s:28317 e:008316 LAMBDA smeth.rb:4 [FINISH]
c:7079 p:0016 s:28313 e:008312 LAMBDA smeth.rb:4 [FINISH]
c:7078 p:0016 s:28309 e:008308 LAMBDA smeth.rb:4 [FINISH]
[REDUCTED]
c:0003 p:0016 s:0009 e:000008 LAMBDA smeth.rb:4 [FINISH]
c:0002 p:0028 s:0005 E:000730 EVAL smeth.rb:6 [FINISH]
c:0001 p:0000 s:0002 E:000598 TOP [FINISH]
smeth.rb:6:in `<main>'
smeth.rb:4:in `block in <main>'
[REDUCTED]
smeth.rb:3:in `block in <main>'
smeth.rb:3:in `puts'
smeth.rb:3:in `puts'
smeth.rb:3:in `write'
-- C level backtrace information -------------------------------------------
0 ruby 0x000000010a5be446 rb_vm_bugreport =
+ 134
1 ruby 0x000000010a474373 report_bug + 307
2 ruby 0x000000010a474234 rb_bug + 180
3 ruby 0x000000010a5415e9 sigsegv + 153
4 libsystem_platform.dylib 0x00007fff8f4aa5aa _sigtramp + 26
5 ruby 0x000000010a5c8108 rb_mutex_trylock=
+ 8
6 ??? 0x00007fa210a24f18 0x0 + 1403340405=
02040
-- Other runtime information -----------------------------------------------
* Loaded script: smeth.rb
* Loaded features:
0 enumerator.so
1 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0=
/enc/encdb.bundle
2 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0=
/enc/trans/transdb.bundle
3 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0=
/rbconfig.rb
4 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/compatib=
ility.rb
5 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/defaults=
.rb
6 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/deprecat=
e.rb
7 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/errors.rb
8 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/version.=
rb
9 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/requirem=
ent.rb
10 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/platform=
.rb
11 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/basic_sp=
ecification.rb
12 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/stub_spe=
cification.rb
13 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/util/str=
ingio.rb
14 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/specific=
ation.rb
15 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/exceptio=
ns.rb
16 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext=
/kernel_gem.rb
17 thread.rb
18 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0=
/thread.bundle
19 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/monitor.rb
20 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext=
/kernel_require.rb
21 /Users/Soilent/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension librari=
es.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
~~~
--=20
https://bugs.ruby-lang.org/