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
undefing function argument references: "Attempt to free unreferenced scalar" #14912
Comments
From pipcet@gmail.comCreated by pipcet@gmail.comI ran into "Attempt to free unreferenced scalar" errors while running Test code: my $ref; sub f { while (1) { ----- GDB log: (gdb) b Perl_warner Breakpoint 1, Perl_warner (err=24, pat=0x609af0 "Attempt to free ----- I do not know whether this bug properly belongs to the DB package or Again, I'd like to stress that while the test case does obviously Both the while loop and the last line of f appear to be necessary to Perl Info
|
From pipcet@gmail.comLooking into this a bit more, this appears to be the same old "stack not The rest of this message is probably uninteresting. Here's a modified test case that does not use the DB package at all: my $ref; sub f { $arg; while (1) { In fact, this can be obfuscated into a 20-character expression which still |
From @iabynOn Wed, Sep 16, 2015 at 08:27:44PM +0000, Pip Cet wrote:
Agreed, I'll add it to the meta-ticket. -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#126071 (status was 'open')
Searchable as RT126071$
The text was updated successfully, but these errors were encountered: