[#68478] Looking for MRI projects for Ruby Google Summer of Code 2015 — Tony Arcieri <bascule@...>
Hi ruby-core,
10 messages
2015/03/10
[#68480] Re: Looking for MRI projects for Ruby Google Summer of Code 2015
— SASADA Koichi <ko1@...>
2015/03/10
I have.
[#68549] Re: Looking for MRI projects for Ruby Google Summer of Code 2015
— SASADA Koichi <ko1@...>
2015/03/17
I sent several ideas on previous, mail, but they are seems rejected?
[#68493] [Ruby trunk - Feature #10532] [PATCH] accept_nonblock supports "exception: false" — nobu@...
Issue #10532 has been updated by Nobuyoshi Nakada.
5 messages
2015/03/11
[#68503] Re: [Ruby trunk - Feature #10532] [PATCH] accept_nonblock supports "exception: false"
— Eric Wong <normalperson@...>
2015/03/12
Committed as r49948.
[#68504] Re: [Ruby trunk - Feature #10532] [PATCH] accept_nonblock supports "exception: false"
— Nobuyoshi Nakada <nobu@...>
2015/03/12
On 2015/03/12 12:08, Eric Wong wrote:
[#68506] Seven stacks (and two questions) — Jakub Trzebiatowski <jaktrze1@...>
The Ruby Hacking Guide says that Ruby has=E2=80=A6 seven stacks. Is it =
5 messages
2015/03/12
[#68520] Possible regression in 2.1 and 2.2 in binding when combined with delegate? — Joe Swatosh <joe.swatosh@...>
# The following code
3 messages
2015/03/14
[#68604] GSOC project Cross-thread Fiber support — surya pratap singh raghuvanshi <oshosurya@...>
- *hi i am a third year computer science student interested in working
6 messages
2015/03/22
[#68606] Re: GSOC project Cross-thread Fiber support
— Tony Arcieri <bascule@...>
2015/03/22
Hi Surya,
[#68619] Re: GSOC project Cross-thread Fiber support
— surya pratap singh raghuvanshi <oshosurya@...>
2015/03/23
hi tony,
[ruby-core:68499] [Ruby trunk - Bug #10966] [Open] Seg fault when param with default is followed by named param
From:
greg@...
Date:
2015-03-11 12:59:37 UTC
List:
ruby-core #68499
Issue #10966 has been reported by Greg Beech.
----------------------------------------
Bug #10966: Seg fault when param with default is followed by named param
https://bugs.ruby-lang.org/issues/10966
* Author: Greg Beech
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* ruby -v: 2.2.0-p0
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
The last line of the following code sample causes a seg fault. This seems to be the case for any method where a hash is passed to a parameter with a default value, when the method also has a named parameter.
~~~
class Foo
def self.seg_fault(a = {}, b: 0); end
end
Foo.seg_fault('x' => 'y')
~~~
The output of running this is below, and the crash report is attached.
~~~
bug.rb:5: [BUG] Segmentation fault at 0x00000000000010
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
-- 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:0002 p:0027 s:0006 E:0009c0 EVAL bug.rb:5 [FINISH]
c:0001 p:0000 s:0002 E:001390 TOP [FINISH]
-- Ruby level backtrace information ----------------------------------------
bug.rb:5:in `<main>'
-- Machine register context ------------------------------------------------
rax: 0x0000000000000000 rbx: 0x0000000101ac7028 rcx: 0x0000000000000000
rdx: 0x0000000101ac7030 rdi: 0x0000000000000000 rsi: 0x0000000000000000
rbp: 0x00007fff5e455620 rsp: 0x00007fff5e455560 r8: 0x0000000101ac7030
r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x00007f8622f4d9f0 r13: 0x00007f8622f4d920 r14: 0x00007f8622c08f80
r15: 0x0000000000000000 rip: 0x0000000101945506 rfl: 0x0000000000010293
-- C level backtrace information -------------------------------------------
0 libruby.2.2.0.dylib 0x000000010194cceb rb_vm_bugreport + 155
1 libruby.2.2.0.dylib 0x00000001017f1100 rb_bug_context + 480
2 libruby.2.2.0.dylib 0x00000001018c92c3 sigsegv + 83
3 libsystem_platform.dylib 0x00007fff8d956f1a _sigtramp + 26
4 libruby.2.2.0.dylib 0x0000000101945506 setup_parameters_complex + 4758
5 ??? 0x00007f862408af78 0x0 + 140214106894200
-- Other runtime information -----------------------------------------------
* Loaded script: bug.rb
* Loaded features:
0 enumerator.so
1 rational.so
2 complex.so
3 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/enc/encdb.bundle
4 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/enc/trans/transdb.bundle
5 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/unicode_normalize.rb
6 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/rbconfig.rb
7 thread.rb
8 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/x86_64-darwin14/thread.bundle
9 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/compatibility.rb
10 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/defaults.rb
11 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/deprecate.rb
12 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/errors.rb
13 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/version.rb
14 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/requirement.rb
15 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/platform.rb
16 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb
17 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/stub_specification.rb
18 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/util/stringio.rb
19 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb
20 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/exceptions.rb
21 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb
22 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/monitor.rb
23 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb
24 /Users/greg/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
Don't forget to include the above Crash Report log file.
For details: http://www.ruby-lang.org/bugreport.html
~~~
---Files--------------------------------
ruby_2015-03-11-125053_r1.crash (11.2 KB)
--
https://bugs.ruby-lang.org/