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

Compiling module that uses [NATIVECALL] and has warnings hangs forever #5206

Open
p6rt opened this issue Apr 1, 2016 · 6 comments
Open

Compiling module that uses [NATIVECALL] and has warnings hangs forever #5206

p6rt opened this issue Apr 1, 2016 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Apr 1, 2016

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

Searchable as RT127811$

@p6rt
Copy link
Author

p6rt commented Apr 1, 2016

From @bbkr

To reproduce​:
1. Save https://gist.github.com/bbkr/19ba6903358445410812bc09b0c0ec9c as Foo.pm
2. rm -rf .precomp/
3. perl6 -I. -e 'use Foo'

Result - module never gets compiled, moar takes 100% CPU.
OS X 10.10.5, Rakudo 2016.03.

Maybe it has something to do with warning groupping mechanism?
Valid signatures or less different signatures compile just fine.

BTW​: I get reproducible error on OS X but it works on Linux (I've tried to increase amount of different signatures up to 20 but all I got was small linear compile time increase, no infinite locks).

@p6rt
Copy link
Author

p6rt commented Jul 10, 2016

From @coke

20160710.out

@p6rt
Copy link
Author

p6rt commented Jul 10, 2016

From @coke

rt127811.pl

@p6rt
Copy link
Author

p6rt commented Jul 10, 2016

From @coke

rt127811.sh

@p6rt
Copy link
Author

p6rt commented Jul 10, 2016

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

@p6rt
Copy link
Author

p6rt commented Jul 10, 2016

From @coke

On Thu Mar 31 17​:17​:24 2016, bbkr@​post.pl wrote​:

To reproduce​:
1. Save https://gist.github.com/bbkr/19ba6903358445410812bc09b0c0ec9c
as Foo.pm
2. rm -rf .precomp/
3. perl6 -I. -e 'use Foo'

Result - module never gets compiled, moar takes 100% CPU.
OS X 10.10.5, Rakudo 2016.03.

Maybe it has something to do with warning groupping mechanism?
Valid signatures or less different signatures compile just fine.

BTW​: I get reproducible error on OS X but it works on Linux (I've
tried to increase amount of different signatures up to 20 but all I
got was small linear compile time increase, no infinite locks).

I added 3 files to the ticket - the gist (please attach file to the ticket), a shell script showing the code I ran, and the output of that script. I'm not getting the error; I'm getting a ton of warnings.
--
Will "Coke" Coleda

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

No branches or pull requests

1 participant