Mailinglist Archive: opensuse-bugs (4661 mails)

< Previous Next >
[Bug 1046697] New: perl segfaults in tumbleweed
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 29 Jun 2017 14:26:40 +0000
  • Message-id: <bug-1046697-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1046697


Bug ID: 1046697
Summary: perl segfaults in tumbleweed
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: david.mulder@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

This happens with a number of perl scripts, not just autoreconf. I see it from
the queryconfig script also (part of osc).

autoreconf -if
Segmentation fault (core dumped)

gdb `which perl`
(gdb) run /usr/bin/autoreconf -if

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff67d2487 in boot_List__Util (my_perl=0x404010, cv=0x762870) at
ListUtil.c:2005
2005 dVAR; dXSARGS;
(gdb) bt
#0 0x00007ffff67d2487 in boot_List__Util (my_perl=0x404010, cv=0x762870) at
ListUtil.c:2005
#1 0x00007ffff7c66875 in Perl_pp_entersub ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#2 0x00007ffff7c551f8 in Perl_runops_standard ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#3 0x00007ffff7b73587 in Perl_call_sv ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#4 0x00007ffff7b79c68 in Perl_call_list ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#5 0x00007ffff7b5c20b in S_process_special_blocks ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#6 0x00007ffff7b5bcda in Perl_newATTRSUB_x ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#7 0x00007ffff7b515a5 in Perl_utilize ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#8 0x00007ffff7bc3415 in Perl_yyparse ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#9 0x00007ffff7ccca17 in S_doeval_compile ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#10 0x00007ffff7cd0021 in S_require_file ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#11 0x00007ffff7cd0187 in Perl_pp_require ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#12 0x00007ffff7c551f8 in Perl_runops_standard ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#13 0x00007ffff7b73587 in Perl_call_sv ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#14 0x00007ffff7b79c68 in Perl_call_list ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#15 0x00007ffff7b5c20b in S_process_special_blocks ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#16 0x00007ffff7b5bcda in Perl_newATTRSUB_x ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#17 0x00007ffff7b515a5 in Perl_utilize ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#18 0x00007ffff7bc3415 in Perl_yyparse ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#19 0x00007ffff7b721b2 in S_parse_body ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#20 0x00007ffff7b709fd in perl_parse ()
from /usr/lib/perl5/5.26.0/x86_64-linux-thread-multi/CORE/libperl.so
#21 0x0000000000400fc4 in main ()
(gdb)

Using the autoreconf script, I was able to trim it down to just a simple use
statement that causes it to segfault:

BEGIN
{
my $pkgdatadir = $ENV{'autom4te_perllibdir'} || '/usr/share/autoconf';
unshift @INC, $pkgdatadir;
}

use Autom4te::XFile;

These pieces from queryconfig also segfault:

BEGIN {
unshift @INC, ($::ENV{'BUILD_DIR'} || '/usr/lib/build');
}

use Build;

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >