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
Memory leak when thread terminated abnormally #13092
Comments
From haze@arpstorm.net[Please describe your issue here] When a thread terminated abnormally ( ie a die ) erl is leaking memory use strict; sub dummy { die ; }; threads->create( \&dummy ); while( 1 ) { Quick output from `ps` Replacing the die call in the dummy sub with a return does not trigger this |
From haze@arpstorm.netNot sure what happened to the end of the perlbug report; but here it is Flags: Site configuration information for perl 5.18.0: Configured by haze at Tue Jul 9 10:38:22 BST 2013. Summary of my perl5 (revision 5 version 18 subversion 0) configuration: Platform: Locally applied patches: @INC for perl 5.18.0: Environment for perl 5.18.0: |
From [Unknown Contact. See original ticket]Not sure what happened to the end of the perlbug report; but here it is Flags: Site configuration information for perl 5.18.0: Configured by haze at Tue Jul 9 10:38:22 BST 2013. Summary of my perl5 (revision 5 version 18 subversion 0) configuration: Platform: Locally applied patches: @INC for perl 5.18.0: Environment for perl 5.18.0: |
From @iabynOn Tue, Jul 09, 2013 at 03:14:08AM -0700, Hazel wrote:
I'm not certain why there's a difference in behaviour between die and If you change the code slightly so that the new threads are created while( 1 ) { Similarly, this much reduced demo doesn't leak: threads->create(sub {die})->join while 1; -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#118815 (status was 'open')
Searchable as RT118815$
The text was updated successfully, but these errors were encountered: