[BUG] :""[] segfaults Ruby

F

Florian Gross

Moin!

C:\>ruby
:""[]
-:1: empty symbol literal
:""[]
^
-:1: [BUG] Segmentation fault
ruby 1.8.0 (2003-08-04) [i386-mswin32]

%s[][123] does the same thing.

This seems to crash every Ruby newer than 1.6.8 independent of the
platform it's running on. (I'm not sure about 1.7.x however.)

Regards,
Florian Gross
 
N

nobu.nokada

Hi,

At Sun, 9 Nov 2003 23:43:18 +0900,
Florian said:
C:\>ruby
:""[]
-:1: empty symbol literal
:""[]
^
-:1: [BUG] Segmentation fault
ruby 1.8.0 (2003-08-04) [i386-mswin32]

Thank you for the report. Fixed now.
This seems to crash every Ruby newer than 1.6.8 independent of the
platform it's running on. (I'm not sure about 1.7.x however.)

Symbol literal has been introduced since 23 Oct 2002. So only
1.8.0 has this bug.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top