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

Precomp hangs forever when something writes to $*ERR #5167

Closed
p6rt opened this issue Mar 9, 2016 · 5 comments
Closed

Precomp hangs forever when something writes to $*ERR #5167

p6rt opened this issue Mar 9, 2016 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 9, 2016

Migrated from rt.perl.org#127681 (status was 'rejected')

Searchable as RT127681$

@p6rt
Copy link
Author

p6rt commented Mar 9, 2016

From @LLFourn

Recently I've had sporadic hangs during the precompilation phase of one of
my projects. I've managed to golf it to a very obscure set of conditions
involving 6 (!) modules and three libs.

1. tar xvf RMD_bug.tgz
2. cd RMD
3. RAKUDO_MODULE_DEBUG=1 perl6 -Ilib1 -Ilib2 -Ilib3 -e 'need Lib1'
# hangs forever

It hangs at​:
https://github.com/rakudo/rakudo/blob/4a0ba7400be5af3dfdd88ad2114e13498645ba39/src/core/Process.pm#L7

I tried to see what causes it to hang at the line. I found that if I
replace that note with

$*ERR.print("a" x 162) # doesn't hang
but if I do​:
$*ERR.print("a" x 163) # Hangs forever

*It doesn't happen on debian*
*Make sure to rm -rf lib1/.precomp each time you try*

This is Rakudo version 2016.02-100-g4a0ba74 built on MoarVM version
2016.02-8-ga329e2d

implementing Perl 6.c.

@p6rt
Copy link
Author

p6rt commented Mar 9, 2016

From @LLFourn

RMD_bug.tgz

@p6rt
Copy link
Author

p6rt commented Apr 11, 2016

From @usev6

The author of this ticket reported a golfed version of this bug as https://rt-archive.perl.org/perl6/Ticket/Display.html?id=127682

As requested in that new ticket, I'm closing (rejecting) this ticket.

@p6rt
Copy link
Author

p6rt commented Apr 11, 2016

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

@p6rt p6rt closed this as completed Apr 11, 2016
@p6rt
Copy link
Author

p6rt commented Apr 11, 2016

@usev6 - Status changed from 'open' to 'rejected'

@p6rt p6rt added the osx label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant