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

Segfault on hyper-dot, trivial example #2013

Closed
p6rt opened this issue Aug 4, 2010 · 6 comments
Closed

Segfault on hyper-dot, trivial example #2013

p6rt opened this issue Aug 4, 2010 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Aug 4, 2010

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

Searchable as RT76996$

@p6rt
Copy link
Author

p6rt commented Aug 4, 2010

From @ajs

This command was a mistake. I actually meant to sort the list, not sort each
element. However the segfault is still a problem​:

$ ./perl6 -e 'say 1.^methods>>.sort'
Segmentation fault

--
Aaron Sherman
Email or GTalk​: ajs@​ajs.com
http://www.ajs.com/~ajs

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 17, 2011

From @felliott

Not sure if this helps, but on my rakudo
(f3eb64fc290f60460a833056d206961c227a8ada) the methods that specifically
cause this problem are​: split, match, map, pick, roll, postcircumfix​:<[
]>, and postcircumfix​:<{ }>. If you remove those from the list returned
by .^methods, it works fine.

Cheers,
Fitz Elliott

@p6rt
Copy link
Author

p6rt commented Oct 7, 2011

From @coke

On Wed Aug 04 12​:19​:18 2010, ajs wrote​:

This command was a mistake. I actually meant to sort the list, not
sort each
element. However the segfault is still a problem​:

$ ./perl6 -e 'say 1.^methods>>.sort'
Segmentation fault

segfault is now gone (tests needed)

$ ./perl6 -e 'say 1.^methods>>.sort'
Int Num Rat abs Bridge chr succ pred sqrt base Bool Str Rat abs sign
conjugate sqrt sin asin cos acos tan atan atan2 sec asec cosec acosec
cotan acotan sinh asinh cosh acosh tanh atanh sech asech cosech acosech
cotanh acotanh floor ceiling unpolar cis Complex truncate isNaN base
Real Bridge log exp log log10 exp roots Numeric ACCEPTS Bool gist abs
conjugate sqrt sign rand sin asin cos acos tan atan atan2 sec asec cosec
acosec cotan acotan sinh asinh cosh acosh tanh atanh sech asech cosech
acosech cotanh acotanh cis log exp roots log10 unpolar round floor
ceiling truncate bytes chars fmt substr uc lc ucfirst lcfirst capitalize
chomp chop ord chr flip index rindex ords split match comb subst sprintf
printf samecase IO trim trim-leading trim-trailing eval Real eager elems
end classify infinite flat hash list pick roll reverse sort values keys
kv pairs Array grep first join map min max minmax postcircumfix​:<[ ]>
at_pos all any one none postcircumfix​:<{ }> reduce ACCEPTS WHERE WHICH
WHY Bool so not defined new CREATE bless BUILDALL BUILD_LEAST_DERIVED
Numeric Str Stringy item say print gist perl DUMP DUMP-ID isa does can
clone Capture dispatch​:<var> dispatch​:<​::> dispatch​:<!> dispatch​:<.^>
dispatch​:<.=> dispatch​:<.?> dispatch​:<.+> dispatch​:<.*> dispatch​:<hyper>

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 9, 2011

From @moritz

Tested in t/spec/integration/weird-errors.t

@p6rt
Copy link
Author

p6rt commented Oct 9, 2011

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

@p6rt p6rt closed this as completed Oct 9, 2011
@p6rt p6rt added the testneeded label Jan 5, 2020
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