Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get freezes terminal on x64 Windows implementation #5455

Open
p6rt opened this issue Jul 16, 2016 · 8 comments
Open

get freezes terminal on x64 Windows implementation #5455

p6rt opened this issue Jul 16, 2016 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Jul 16, 2016

Migrated from rt.perl.org#128632 (status was 'open')

Searchable as RT128632$

@p6rt
Copy link
Author

p6rt commented Jul 16, 2016

From josh.helzer@gmail.com

Hello.

On Rakudo version 2016.04 built on MoarVM version 2016.04 implementing Perl
6.c on x64 Windows Server 2012 R2, running perl6 within cmd.exe and
entering the following

my $in = get;

results in an apparently frozen interpreter​: Input is not echoed, nor does
entering any number of newlines do anything, nor Ctrl+d, nor Ctrl+z, nor
even Ctrl+c.

I get similar unresponsive behavior with prompt, too.

Neither issue occurs if I use Rakudo version 2016.06-281-gcd42657 built on
MoarVM version 2016.06-9-g8fc21d5 implementing Perl 6.c on x64 Ubuntu 16.04.

@p6rt
Copy link
Author

p6rt commented Jul 18, 2016

From @zoffixznet

Thanks for the report.

Based on your description, it seems like the issue has already been resolved in more recent releases.

Would you, please, describe what needs to be done in order for this ticket to be considered as resolved?

--
Cheers,
ZZ | https://twitter.com/zoffix

@p6rt
Copy link
Author

p6rt commented Jul 18, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 18, 2016

From josh.helzer@gmail.com

What is the more recent version for Windows that I missed?

On 07/18/2016 08​:21 AM, Zoffix Znet via RT wrote​:

Thanks for the report.

Based on your description, it seems like the issue has already been resolved in more recent releases.

Would you, please, describe what needs to be done in order for this ticket to be considered as resolved?

@p6rt
Copy link
Author

p6rt commented Jul 28, 2016

From 1parrota@gmail.com

Looking at the version numbers, 2016.04 on vs 2016.06 suggests it
might have been fixed. Can you get the later version on the Windows
box?

On 7/16/16, Josh Helzer <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Josh Helzer
# Please include the string​: [perl #​128632]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128632 >

Hello.

On Rakudo version 2016.04 built on MoarVM version 2016.04 implementing Perl
6.c on x64 Windows Server 2012 R2, running perl6 within cmd.exe and
entering the following

my $in = get;

results in an apparently frozen interpreter​: Input is not echoed, nor does
entering any number of newlines do anything, nor Ctrl+d, nor Ctrl+z, nor
even Ctrl+c.

I get similar unresponsive behavior with prompt, too.

Neither issue occurs if I use Rakudo version 2016.06-281-gcd42657 built on
MoarVM version 2016.06-9-g8fc21d5 implementing Perl 6.c on x64 Ubuntu
16.04.

@p6rt
Copy link
Author

p6rt commented Aug 16, 2016

From @zoffixznet

Hi,

Were you able to try the latest Rakudo Star? and see if the problem is still there? http://rakudo.org/downloads/star/rakudo-star-2016.07-x86_64%20(JIT).msi

I'm not able to reproduce this on Windows 7, even with the 2016.04 version. The code starts and waits for input. I type it in, press Enter and the program returns just fine, with my input echoed on the screen as I type it.

@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From josh.helzer@gmail.com

Hello,

Unfortunately, I'm getting the same freeze/no echo behavior upon
executing *my $in = get;* on the REPL. This obtains with perl6 running
under cmd.exe, cmd.exe with Administrative privileges, and with
powershell.exe.

Versions​:

  * Rakudo version 2016.07.1 built on MoarVM version 2016.07
  implementing Perl 6.c;
  * Windows Server 2012 R2 Standard

However! I was inspired by an email from Naoum Hankache
<naoum@​hankache.com> I just now read regarding an error I encountered
while reading his tutorial. His discovery was that putting the same
commands within a script - rather than entering them at the REPL - fixed
the problem. The same is true here​: If I create a simple test file, e.g.​:

  my $in = get;
  say $in;

and run that, then input echoes as expected, <Enter> terminates input,
and the string is successfully echoed.

On 08/16/2016 11​:34 AM, Zoffix Znet via RT wrote​:

Hi,

Were you able to try the latest Rakudo Star? and see if the problem is still there? http://rakudo.org/downloads/star/rakudo-star-2016.07-x86_64%20(JIT).msi

I'm not able to reproduce this on Windows 7, even with the 2016.04 version. The code starts and waits for input. I type it in, press Enter and the program returns just fine, with my input echoed on the screen as I type it.

@p6rt
Copy link
Author

p6rt commented Feb 2, 2017

From @zoffixznet

Seems there's a very related if not a dupe ticket for this​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130192#ticket-history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant