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
$_ leaks under threads #8719
Comments
From @jdheddenCreated by @jdheddenHere's the test script: use threads; for (1..1) { sub leak This produces the same result in blead. Perl Info
|
From @iabynOn Tue, Dec 26, 2006 at 07:52:27AM -0800, jdhedden @ 1979. usna. com wrote:
This can be reduced to: use threads; leak($x); sub leak (so it's not specific to $_). It occurs, because at the point the thread For threads creation, the save stack isn't duplicated, so the saved $x is Can't see an easy way to fix this. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @nwc10On Sun, Jan 07, 2007 at 09:23:28PM +0000, Dave Mitchell wrote:
For things that are duplicated by the no_inc variants (so implicitly start Nicholas Clark |
From guest@guest.guest.xxxxxxxxOn Sun Jan 07 14:17:12 2007, nicholas wrote:
I have modified the test script and seems to stop this leak: for (1..1) Does anyone know what time frame this problem will be fixed? |
@iabyn - Status changed from 'open' to 'resolved' |
From @jdheddenOn Mon, Jan 11, 2010 at 07:54, Dave Mitchell via RT
This fix also fixes #34342. |
Migrated from rt.perl.org#41138 (status was 'resolved')
Searchable as RT41138$
The text was updated successfully, but these errors were encountered: