ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:80209] [Ruby trunk Bug#13324] IRB Segmentation Fault from eval infinite loop
       [not found] <redmine.issue-13324.20170317160135@ruby-lang.org>
@ 2017-03-17 16:01 ` srodman7689
  2017-03-17 16:02 ` [ruby-core:80208] " srodman7689
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: srodman7689 @ 2017-03-17 16:01 UTC (permalink / raw)
  To: ruby-core

Issue #13324 has been reported by srodman7689@gmail.com (Sean Rodman).

----------------------------------------
Bug #13324: IRB Segmentation Fault from eval infinite loop
https://bugs.ruby-lang.org/issues/13324

* Author: srodman7689@gmail.com (Sean Rodman)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and when I run the below code I get a segmentation fault
`a = "eval a"; eval a`
when running the same code with just the ruby interpreter I get the below error which is what I would expect
`-e:1:in `eval': stack level too deep (SystemStackError)
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	 ... 9507 levels...
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from -e:1:in `eval'
	from -e:1:in `<main>'`



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:80208] [Ruby trunk Bug#13324] IRB Segmentation Fault from eval infinite loop
       [not found] <redmine.issue-13324.20170317160135@ruby-lang.org>
  2017-03-17 16:01 ` [ruby-core:80209] [Ruby trunk Bug#13324] IRB Segmentation Fault from eval infinite loop srodman7689
@ 2017-03-17 16:02 ` srodman7689
  2017-05-19  6:54 ` [ruby-core:81254] [Ruby trunk Bug#13324][Closed] " ko1
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: srodman7689 @ 2017-03-17 16:02 UTC (permalink / raw)
  To: ruby-core

Issue #13324 has been updated by srodman7689@gmail.com (Sean Rodman).


The command I use to run it directly on the ruby interpreter is ruby -e "a = \"eval a\"; eval a"

----------------------------------------
Bug #13324: IRB Segmentation Fault from eval infinite loop
https://bugs.ruby-lang.org/issues/13324#change-63646

* Author: srodman7689@gmail.com (Sean Rodman)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and when I run the below code I get a segmentation fault
`a = "eval a"; eval a`
when running the same code with just the ruby interpreter I get the below error which is what I would expect
`-e:1:in `eval': stack level too deep (SystemStackError)
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	 ... 9507 levels...
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from -e:1:in `eval'
	from -e:1:in `<main>'`



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:81254] [Ruby trunk Bug#13324][Closed] IRB Segmentation Fault from eval infinite loop
       [not found] <redmine.issue-13324.20170317160135@ruby-lang.org>
  2017-03-17 16:01 ` [ruby-core:80209] [Ruby trunk Bug#13324] IRB Segmentation Fault from eval infinite loop srodman7689
  2017-03-17 16:02 ` [ruby-core:80208] " srodman7689
@ 2017-05-19  6:54 ` ko1
  2017-06-07 14:18 ` [ruby-core:81607] [Ruby trunk Bug#13324][Open] " srodman7689
  2017-06-08  1:54 ` [ruby-core:81615] [Ruby trunk Bug#13324][Closed] " ko1
  4 siblings, 0 replies; 5+ messages in thread
From: ko1 @ 2017-05-19  6:54 UTC (permalink / raw)
  To: ruby-core

Issue #13324 has been updated by ko1 (Koichi Sasada).

Status changed from Open to Closed

Fundamentally, we can't control machine stack overflow.
We will improve the situation (but can't solve completely).


----------------------------------------
Bug #13324: IRB Segmentation Fault from eval infinite loop
https://bugs.ruby-lang.org/issues/13324#change-64915

* Author: srodman7689@gmail.com (Sean Rodman)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and when I run the below code I get a segmentation fault

```ruby
a = "eval a"; eval a
```
when running the same code with just the ruby interpreter I get the below error which is what I would expect

```
-e:1:in `eval': stack level too deep (SystemStackError)
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	 ... 9507 levels...
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from -e:1:in `eval'
	from -e:1:in `<main>'
```



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:81607] [Ruby trunk Bug#13324][Open] IRB Segmentation Fault from eval infinite loop
       [not found] <redmine.issue-13324.20170317160135@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2017-05-19  6:54 ` [ruby-core:81254] [Ruby trunk Bug#13324][Closed] " ko1
@ 2017-06-07 14:18 ` srodman7689
  2017-06-08  1:54 ` [ruby-core:81615] [Ruby trunk Bug#13324][Closed] " ko1
  4 siblings, 0 replies; 5+ messages in thread
From: srodman7689 @ 2017-06-07 14:18 UTC (permalink / raw)
  To: ruby-core

Issue #13324 has been updated by srodman7689@gmail.com (Sean Rodman).

Status changed from Closed to Open

The issues is not the stack overflow but the segmentation fault I described when running the same code in the above listed irb version.

----------------------------------------
Bug #13324: IRB Segmentation Fault from eval infinite loop
https://bugs.ruby-lang.org/issues/13324#change-65305

* Author: srodman7689@gmail.com (Sean Rodman)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and when I run the below code I get a segmentation fault

```ruby
a = "eval a"; eval a
```
when running the same code with just the ruby interpreter I get the below error which is what I would expect

```
-e:1:in `eval': stack level too deep (SystemStackError)
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	 ... 9507 levels...
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from -e:1:in `eval'
	from -e:1:in `<main>'
```



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-core:81615] [Ruby trunk Bug#13324][Closed] IRB Segmentation Fault from eval infinite loop
       [not found] <redmine.issue-13324.20170317160135@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2017-06-07 14:18 ` [ruby-core:81607] [Ruby trunk Bug#13324][Open] " srodman7689
@ 2017-06-08  1:54 ` ko1
  4 siblings, 0 replies; 5+ messages in thread
From: ko1 @ 2017-06-08  1:54 UTC (permalink / raw)
  To: ruby-core

Issue #13324 has been updated by ko1 (Koichi Sasada).

Status changed from Open to Closed

srodman7689@gmail.com (Sean Rodman) wrote:
> The issue is not the stack overflow but the segmentation fault I described when running the same code in the above listed irb version.

SEGV because of machine stack overflow.

----------------------------------------
Bug #13324: IRB Segmentation Fault from eval infinite loop
https://bugs.ruby-lang.org/issues/13324#change-65311

* Author: srodman7689@gmail.com (Sean Rodman)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and when I run the below code I get a segmentation fault

```ruby
a = "eval a"; eval a
```
when running the same code with just the ruby interpreter I get the below error which is what I would expect

```
-e:1:in `eval': stack level too deep (SystemStackError)
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from (eval):1:in `eval'
	 ... 9507 levels...
	from (eval):1:in `eval'
	from (eval):1:in `<main>'
	from -e:1:in `eval'
	from -e:1:in `<main>'
```



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-08  1:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-13324.20170317160135@ruby-lang.org>
2017-03-17 16:01 ` [ruby-core:80209] [Ruby trunk Bug#13324] IRB Segmentation Fault from eval infinite loop srodman7689
2017-03-17 16:02 ` [ruby-core:80208] " srodman7689
2017-05-19  6:54 ` [ruby-core:81254] [Ruby trunk Bug#13324][Closed] " ko1
2017-06-07 14:18 ` [ruby-core:81607] [Ruby trunk Bug#13324][Open] " srodman7689
2017-06-08  1:54 ` [ruby-core:81615] [Ruby trunk Bug#13324][Closed] " ko1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).