Project

General

Profile

Actions

Bug #4108

closed

irb hangs on Windows with trunk

Added by phasis68 (Heesob Park) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3dev (2010-12-02 trunk 30006) [i386-mswin32_90]
Backport:
[ruby-core:33511]

Description

=begin
Due to r29980, irb hangs. please revert r29980.

C:\work>irb
irb(main):001:0> a = 1
=end

Actions #1

Updated by usa (Usaku NAKAMURA) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30017.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions #2

Updated by phasis68 (Heesob Park) over 13 years ago

=begin
2010/12/2 Usaku NAKAMURA :

Issue #4108 has been updated by Usaku NAKAMURA.

Status changed from Open to Closed
% Done changed from 0 to 100

This issue was solved with changeset r30017.

After applying r30017 and r30018, irb is not working well with
multibyte strings.

On the trunk version,

C:\work>irb
irb(main):001:0> a = "한글"
=> "풉"
irb(main):002:0> a = 1
=> nil
=> nil
=> 1
irb(main):003:0> a = "가나다"
SyntaxError: (irb):3: invalid multibyte char (CP949)
(irb):3: unterminated string meets end of file
from c:/usr/bin/irb.bat:20:in `'

On ruby 1.9.2,

irb(main):001:0> a = "한글"
=> "한글"
irb(main):002:0> a = 1
=> 1
irb(main):003:0> a = "가나다"
=> "가나다"
irb(main):004:0>

=end

Actions #3

Updated by usa (Usaku NAKAMURA) over 13 years ago

=begin
Hello,

In message "[ruby-core:33513] Re: [Ruby 1.9-Bug#4108][Closed] irb hangs on Windows with trunk"
on Dec.02,2010 15:19:29, wrote:

After applying r30017 and r30018, irb is not working well with
multibyte strings.

I expect that this is fixed at r30019.

BTW, I hear that irb still be in stuck when using readline.
Tarui-san is debugging the problem.

And, the original problem (#4097) is not completely resolved
yet.
The possibility of the buffer overflow and the data disappearance
still remains.
Sorry for the inconvinience.
Please teach us when you find another problem like this.

Regards,

U.Nakamura

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0