Skip Menu |
Report information
Id: 131101
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: brian.carpenter [at] gmail.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



Subject: segfault in S_mg_findext_flags()
From: Brian Carpenter <brian.carpenter [...] gmail.com>
To: perlbug [...] perl.org
Date: Tue, 4 Apr 2017 18:49:33 -0500
Download (untitled) / with headers
text/plain 597b
Triggered with v5.25.11-28-g5fc3895. Compiled with afl-clang-fast on Debian 8 x64.

#0 0x82fa26 in S_mg_findext_flags /root/perl/mg.c:413:10
#1 0x82fa26 in Perl_mg_find_mglob /root/perl/mg.c:462
#2 0x8d20fc in Perl_pp_match /root/perl/pp_hot.c:2129:18
#3 0x80077b in Perl_runops_debug /root/perl/dump.c:2451:23
#4 0x5a2073 in S_run_body /root/perl/perl.c:2524:2
#5 0x5a2073 in perl_run /root/perl/perl.c:2447
#6 0x4de98d in main /root/perl/perlmain.c:123:9
#7 0x7ff1449c5b44 in __libc_start_main /build/glibc-qK83Be/glibc-2.19/csu/libc-start.c:287
#8 0x4de5fc in _start (/root/perl/perl+0x4de5fc)
Download test043
application/octet-stream 79b

Message body not shown because it is not plain text.

Subject: Re: [perl #131101] segfault in S_mg_findext_flags()
From: Dave Mitchell <davem [...] iabyn.com>
To: perl5-porters [...] perl.org
Date: Wed, 5 Apr 2017 08:38:31 +0100
Download (untitled) / with headers
text/plain 1.1k
On Tue, Apr 04, 2017 at 04:51:50PM -0700, Brian Carpenter wrote: Show quoted text
> # New Ticket Created by Brian Carpenter > # Please include the string: [perl #131101] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=131101 > > > > Triggered with v5.25.11-28-g5fc3895. Compiled with afl-clang-fast on Debian > 8 x64. > > #0 0x82fa26 in S_mg_findext_flags /root/perl/mg.c:413:10 > #1 0x82fa26 in Perl_mg_find_mglob /root/perl/mg.c:462 > #2 0x8d20fc in Perl_pp_match /root/perl/pp_hot.c:2129:18 > #3 0x80077b in Perl_runops_debug /root/perl/dump.c:2451:23 > #4 0x5a2073 in S_run_body /root/perl/perl.c:2524:2 > #5 0x5a2073 in perl_run /root/perl/perl.c:2447 > #6 0x4de98d in main /root/perl/perlmain.c:123:9 > #7 0x7ff1449c5b44 in __libc_start_main > /build/glibc-qK83Be/glibc-2.19/csu/libc-start.c:287 > #8 0x4de5fc in _start (/root/perl/perl+0x4de5fc)
It can be reduced to map /x/g, (%h = ("y", 0)), (%h = ("y", 0)) It's a stack-not-refcounted bug. -- A power surge on the Bridge is rapidly and correctly diagnosed as a faulty capacitor by the highly-trained and competent engineering staff. -- Things That Never Happen in "Star Trek" #9


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org