Coredump when assigning a glob to a thread-shared array #13247
This is a bug report for perl from firstname.lastname@example.org,
The following script segfaults:
my @foo :shared;
I reproduced the problem on a FreeBSD 9.0 system with
Actually I don't expect that anything useful happens here, it
Site configuration information for perl 5.18.1:
Configured by eserte at Mon Aug 19 07:57:03 CEST 2013.
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:
Locally applied patches:
@INC for perl 5.18.1:
Environment for perl 5.18.1:
On Wed, Sep 11, 2013 at 10:08:34AM -0700, email@example.com wrote:
Agree that it certainly shouldn't SEGV. Possibly it should croak with
A build with assertions (which I have handy) shows that it's failing like
perl: sv.c:3740: S_glob_assign_glob: Assertion `((((_gvgp)->sv_flags & (0x00004000|0x00008000)) == 0x00008000) && (((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVGV || ((svtype)((_gvgp)->sv_flags & 0xff)) == SVt_PVLV))' failed.
Program received signal SIGABRT, Aborted.
I don't have time to look at this further in the near future, but I hope that