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
coredump in map modifying input array #2157
Comments
From wolfgang.laun@alcatel.atCreated by Wolfgang.Laun@alcatel.atI know that modifying the list from a map of foreach is a no-no, #! /usr/bin/perl -w Interesting: The value assigned to $_ for a value that got spliced defined( $_ ) ? $_ : undef() to define the map block return value avoids the segmentation fault. Perl Info
|
From @gsarOn Fri, 30 Jun 2000 17:50:58 +0200, Wolfgang Laun wrote:
The array that's being iterated over in grep/map/foreach should Patch welcome. Sarathy |
From @smpeters
Cool! The new panic recently added caught this case. steve@kirk:~/perl-fix$ ./perl rt_3451.pl |
From @rgarciaOn 5 Jul 2005 10:22:53 -0000, Steve Peters via RT
That's not a fix. This bad upgrade really shouldn't happen, and |
From @smpetersOn Tue, Jul 05, 2005 at 06:28:49PM +0200, Rafael Garcia-Suarez wrote:
Sorry, I should have been more clear. Its not a fix, but we do have a |
From @gannett-ggreerOn Tue Jul 05 09:57:36 2005, stmpeters wrote:
On the upside, in the 5 years since it now results in: panic: attempt to copy freed scalar 1018d48 to 1018b98 at /tmp/rt3451 Given v5.13.2-306-gce1e4fd, I get: Breakpoint 1, Perl_sv_setsv_flags (dstr=0x9f2a40, sstr=0x9dc0e0, (at #2) p **mark Skipping freed SVs during leave seems too easy and not 'completely -- |
From @cpansproutOn Fri Jun 30 02:51:35 2000, laune wrote:
Is this another symptom of the stack’s failure to count references? |
From [Unknown Contact. See original ticket]On Fri Jun 30 02:51:35 2000, laune wrote:
Is this another symptom of the stack’s failure to count references? |
From @ikegamiOn Sun, Oct 10, 2010 at 7:54 PM, Father Chrysostomos via RT <
Yes. I get "panic: attempt to copy freed scalar", which means something was freed |
Migrated from rt.perl.org#3451 (status was 'open')
Searchable as RT3451$
The text was updated successfully, but these errors were encountered: