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 in 5.24.1, regression #15966
Comments
From glebius@FreeBSD.orgCreated by glebius@FreeBSD.orgThere is a memory leak regression in perl 5.24.1, not present in The script to reproduce: use strict; use constant OID_IFx_base => '1.3.6.1.2.1.31.1.1'; use Net::SNMP qw(:snmp); my $done = 0; printf("%s\n", $$); while (! $done) while (($toid = shift @oid_keys)) { } select(undef, undef, undef, 0.01); Perl Info
|
From @iabynOn Thu, Apr 27, 2017 at 01:54:14PM -0700, Gleb Smirnoff wrote:
Is it possible for you to reduce this further to something that doesn't -- |
The RT System itself - Status changed from 'new' to 'open' |
From glebius@FreeBSD.orgOn Fri, Apr 28, 2017 at 01:29:10AM -0700, Dave Mitchell via RT wrote: If you are testing on FreeBSD, then just launching bsnmpd is sufficient: # bsnmpd If you are testing on Linux, installing net-snmp and launching it with On my side I will try to reduce the test case, but can't promise -- |
From @iabynOn Fri, Apr 28, 2017 at 08:32:08AM -0700, Gleb Smirnoff wrote:
Well, I've go an SNMP server running now, but it doesn't recognise while (($toid = shift @oid_keys)) { gives toid=1.3.6.1.2.1.31.1.1.1.1 snmpwalk gives the following. Any ideas what to change OID_IFx to? $ snmpwalk -v 1 localhost -c public -- |
From glebius@FreeBSD.orgDave, On Sat, Apr 29, 2017 at 01:51:15AM -0700, Dave Mitchell via RT wrote: Seems like you got snmpd in the default configuration. You need this in snmpd.conf: view almostEverything included .1 It is probably already there, but commented out. Just add them and restart snmpd. I have just checked with net-snmpd instead of FreeBSD in base snmpd. The script -- |
From @iabynOn Mon, May 01, 2017 at 02:02:58PM -0700, Gleb Smirnoff wrote:
Thanks, I can reproduce it now. The leak was fixed in 5.25.10 by the following commit, but it hasn't commit 1050723 avoid a leak in list assign from/to magic values -- |
@iabyn - Status changed from 'open' to 'pending release' |
From glebius@FreeBSD.orgThanks a lot, Dave! On Tue, May 02, 2017 at 04:08:22PM +0100, Dave Mitchell wrote: -- |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release today of Perl 5.26.0, this and 210 other issues have been Perl 5.26.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#131219 (status was 'resolved')
Searchable as RT131219$
The text was updated successfully, but these errors were encountered: