[#68137] improve semantics of manpages — "Anthony J. Bentley" <anthony@...>
Hi,
1 message
2015/02/17
[#68144] Re: Future of test suites for Ruby — Anthony Crumley <anthony.crumley@...>
FYI...
4 messages
2015/02/17
[#68343] [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault? — ruby@...
Issue #10916 has been reported by why do i need this acct just to create a bug report.
5 messages
2015/02/27
[#68373] Re: [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault?
— "Martin J. Dürst" <duerst@...>
2015/03/02
> * Author: why do i need this acct just to create a bug report
[#68358] [Ruby trunk - Bug #10902] require("enumerator") scans LOAD_PATH 2x on every invocation — [email protected]
Issue #10902 has been updated by Aman Gupta.
3 messages
2015/02/28
[ruby-core:68338] [Ruby trunk - Bug #10913] Enum#each_slice is crashing with Bignum as an argument
From:
aruprakshit@...
Date:
2015-02-27 12:46:27 UTC
List:
ruby-core #68338
Issue #10913 has been updated by arup rakshit.
[shreyas@so (master)]$ rvm list
rvm rubies
=> ruby-2.0.0-p598 [ x86_64 ]
ruby-2.1.0 [ x86_64 ]
* ruby-2.1.2 [ x86_64 ]
ruby-2.1.4 [ x86_64 ]
ruby-2.1.5 [ x86_64 ]
ruby-2.2.0 [ x86_64 ]
# => - current
# =* - current && default
# * - default
[shreyas@so (master)]$ rvm use 2.0.0
Using /Users/shreyas/.rvm/gems/ruby-2.0.0-p598
[shreyas@so (master)]$ irb
cannot load such file -- interactive_editor
2.0.0-p598 :001 > [1,2,3].each_slice(50000000000000000).to_a
irb(47601,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
irb(47601,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
NoMemoryError: failed to allocate memory
from (irb):1:in `each_slice'
from (irb):1:in `each'
from (irb):1:in `to_a'
from (irb):1
from /Users/shreyas/.rvm/rubies/ruby-2.0.0-p598/bin/irb:12:in `<main>'
2.0.0-p598 :002 > exit
[shreyas@so (master)]$ rvm use 2.1.5
Using /Users/shreyas/.rvm/gems/ruby-2.1.5
[shreyas@so (master)]$ irb
cannot load such file -- interactive_editor
2.1.5 :001 > [1,2,3].each_slice(50000000000000000).to_a
irb(47687,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
irb(47687,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
NoMemoryError: failed to allocate memory
from (irb):1:in `each_slice'
from (irb):1:in `each'
from (irb):1:in `to_a'
from (irb):1
from /Users/shreyas/.rvm/rubies/ruby-2.1.5/bin/irb:11:in `<main>'
2.1.5 :002 > exit
[shreyas@so (master)]$ rvm use 2.2.0
Using /Users/shreyas/.rvm/gems/ruby-2.2.0
[shreyas@so (master)]$ irb
cannot load such file -- interactive_editor
2.2.0 :001 > [1,2,3].each_slice(50000000000000000).to_a
irb(47773,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
irb(47773,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
NoMemoryError: failed to allocate memory
from (irb):1:in `each_slice'
from (irb):1:in `each'
from (irb):1:in `to_a'
from (irb):1
from /Users/shreyas/.rvm/rubies/ruby-2.2.0/bin/irb:11:in `<main>'
2.2.0 :002 >
----------------------------------------
Bug #10913: Enum#each_slice is crashing with Bignum as an argument
https://bugs.ruby-lang.org/issues/10913#change-51685
* Author: arup rakshit
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin12.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
[shreyas@~ (master)]$ rvm use 2.1.2
Using /Users/shreyas/.rvm/gems/ruby-2.1.2
[shreyas@~ (master)]$ pry
`[1] pry(main)> [1,2,3].each_slice(50000000000000000).to_a
pry(948,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
pry(948,0x7fff73abb180) malloc: *** mmap(size=400000000000000000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
NoMemoryError: failed to allocate memory
from (pry):1:in `each_slice'
[2] pry(main)>`
--
https://bugs.ruby-lang.org/