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

'exit' from deep within rakudo call stack causes segmentation fault #190

Closed
p6rt opened this issue Jul 27, 2008 · 5 comments
Closed

'exit' from deep within rakudo call stack causes segmentation fault #190

p6rt opened this issue Jul 27, 2008 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jul 27, 2008

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

Searchable as RT57330$

@p6rt
Copy link
Author

p6rt commented Jul 27, 2008

From @masak

$ svn info | grep Revi
Revision​: 29791

The following works​:

$ ./perl6 -e 'exit'
$ ./perl6 -e 'sub a { exit }; a()'

But this doesn't​:

$ ./perl6 -e 'sub a { b() }; sub b { exit }; a()'
perl6(26935) malloc​: *** error for object 0x27c4c40​: double free
*** set a breakpoint in malloc_error_break to debug
Segmentation fault

@p6rt
Copy link
Author

p6rt commented Dec 16, 2008

From @moritz

On Sun Jul 27 07​:18​:05 2008, masak wrote​:

$ svn info | grep Revi
Revision​: 29791

The following works​:

$ ./perl6 -e 'exit'
$ ./perl6 -e 'sub a { exit }; a()'

But this doesn't​:

$ ./perl6 -e 'sub a { b() }; sub b { exit }; a()'
perl6(26935) malloc​: *** error for object 0x27c4c40​: double free
*** set a breakpoint in malloc_error_break to debug
Segmentation fault

Works for me as of r33951 - could you please re-check, and give some
feedback?

Moritz

@p6rt
Copy link
Author

p6rt commented Dec 16, 2008

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

@p6rt
Copy link
Author

p6rt commented Dec 27, 2008

From @masak

Moritz (>), Carl (>>)​:

$ ./perl6 -e 'sub a { b() }; sub b { exit }; a()'
perl6(26935) malloc​: *** error for object 0x27c4c40​: double free
*** set a breakpoint in malloc_error_break to debug
Segmentation fault

Works for me as of r33951 - could you please re-check, and give some
feedback?

Yes, seems to work. Resolving ticket.

@p6rt
Copy link
Author

p6rt commented Dec 27, 2008

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

@p6rt p6rt closed this as completed Dec 27, 2008
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