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

Concatenation of a large number of combining characters #5649

Closed
p6rt opened this issue Sep 8, 2016 · 5 comments
Closed

Concatenation of a large number of combining characters #5649

p6rt opened this issue Sep 8, 2016 · 5 comments
Labels
SEGV Segmentation fault, bus error, etc. uni

Comments

@p6rt
Copy link

p6rt commented Sep 8, 2016

Migrated from rt.perl.org#129227 (status was 'resolved')

Searchable as RT129227$

@p6rt
Copy link
Author

p6rt commented Sep 8, 2016

From @zoffixznet

<moritz> m​: 7 ~ "\x[308]" x 100_000
<camelia> rakudo-moar 7925d6​: OUTPUT«WARNINGS for <tmp>​:␤Useless use of "~" in expression "7 ~ \"\\x[308]\" x" in sink context (line 1)␤»
<moritz> m​: 7 ~ "\x[308]" x 150_000
<camelia> rakudo-moar 7925d6​: OUTPUT«(signal SEGV)»

@p6rt
Copy link
Author

p6rt commented Dec 30, 2016

From @zoffixznet

To add to the ticket my mild digging into this​: https://irclog.perlgeek.de/moarvm/2016-09-13#i_13205266

@p6rt
Copy link
Author

p6rt commented Feb 22, 2017

From @jnthn

On Thu, 08 Sep 2016 03​:44​:55 -0700, cpan@​zoffix.com wrote​:

<moritz> m​: 7 ~ "\x[308]" x 100_000
<camelia> rakudo-moar 7925d6​: OUTPUT«WARNINGS for <tmp>​:␤Useless use
of "~" in expression "7 ~ \"\\x[308]\" x" in sink context (line 1)␤»
<moritz> m​: 7 ~ "\x[308]" x 150_000
<camelia> rakudo-moar 7925d6​: OUTPUT«(signal SEGV)»

I've put a limit on the number of combiners allowed (1024, waaay higher than any real-world use case will need). So it now throws rather than SEGVs. Added a test to S15-nfg/many-combiners.t to check that it either works or throws a catchable exception. We may in the future want to specify a minimum number that a Perl 6 implementation must be able to cope with. For now, the SEGV is gone.

/jnthn

@p6rt
Copy link
Author

p6rt commented Feb 22, 2017

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

@p6rt
Copy link
Author

p6rt commented Feb 22, 2017

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Feb 22, 2017
@p6rt p6rt added SEGV Segmentation fault, bus error, etc. uni labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SEGV Segmentation fault, bus error, etc. uni
Projects
None yet
Development

No branches or pull requests

1 participant