Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] upgrade to perl 5.22.0 yields perl double free or corruption
Date: Tue, 04 Aug 2015 09:50:29
Message-Id: 55C08AC6.4070906@gmail.com
In Reply to: [gentoo-user] upgrade to perl 5.22.0 yields perl double free or corruption by covici@ccs.covici.com
1 On 04/08/2015 11:13, covici@××××××××××.com wrote:
2 > Hi. After upgrading to perl 5.22.0 which was a pain -- had to remove
3 > all those virtuals -- I am now finding that a small perl program which
4 > connects to a mysql database yields the following when it exits:
5 >
6 > *** Error in `perl': double free or corruption (!prev): 0x0000000001ed8610 ***
7 > ======= Backtrace: =========
8 > /lib64/libc.so.6(+0x71e4b)[0x7f59bc417e4b]
9 > /lib64/libc.so.6(+0x7730e)[0x7f59bc41d30e]
10 > /lib64/libc.so.6(+0x77afb)[0x7f59bc41dafb]
11 > /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so(mysql_db_destroy+0x32)[0x7f59bb206602]
12 > /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so(+0x1234d)[0x7f59bb21034d]
13 > /usr/lib64/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/DBI/DBI.so(XS_DBI_dispatch+0xcc9)[0x7f59bb83e7a9]
14 > /usr/lib64/libperl.so.5.22(Perl_pp_entersub+0x49b)[0x7f59bc81663b]
15 > /usr/lib64/libperl.so.5.22(Perl_call_sv+0x36f)[0x7f59bc794b5f]
16 > /usr/lib64/libperl.so.5.22(+0xda25f)[0x7f59bc81b25f]
17 > /usr/lib64/libperl.so.5.22(Perl_sv_clear+0x740)[0x7f59bc81bc10]
18 > /usr/lib64/libperl.so.5.22(Perl_sv_free2+0x5d)[0x7f59bc81be9d]
19 > /usr/lib64/libperl.so.5.22(+0xb7298)[0x7f59bc7f8298]
20 > /usr/lib64/libperl.so.5.22(Perl_mg_free+0x2e)[0x7f59bc7f8a4e]
21 > /usr/lib64/libperl.so.5.22(Perl_sv_clear+0xae)[0x7f59bc81b57e]
22 > /usr/lib64/libperl.so.5.22(Perl_sv_free2+0x5d)[0x7f59bc81be9d]
23 > /usr/lib64/libperl.so.5.22(Perl_leave_scope+0xd51)[0x7f59bc84a411]
24 > /usr/lib64/libperl.so.5.22(+0x52c56)[0x7f59bc793c56]
25 > /usr/lib64/libperl.so.5.22(Perl_my_exit+0x3f)[0x7f59bc798d0f]
26 > /usr/lib64/libperl.so.5.22(Perl_pp_exit+0x4a)[0x7f59bc857a6a]
27 > /usr/lib64/libperl.so.5.22(Perl_runops_standard+0x16)[0x7f59bc80f316]
28 > /usr/lib64/libperl.so.5.22(perl_run+0x2f9)[0x7f59bc79c369]
29 > perl(main+0x149)[0x400e39]
30 > /lib64/libc.so.6(__libc_start_main+0xf0)[0x7f59bc3c67b0]
31 > perl(_start+0x29)[0x400e79]
32 > ======= Memory map: ========
33 >
34 > memory map ommitted, if it is needed I can reproduce.
35 >
36 > So, should I downgrade -- means removing all those virtuals again -- or
37 > any other ideas would be appreciated.
38 >
39 > I am running the unstable gentoo, if you need more information, I can
40 > include it.
41 >
42 > Thanks in advance for any suggestions.
43 >
44
45
46 did you run emerge @preserved-rebuild, revdep-rebuild and perl-cleaner
47 after the upgrade? That stuff's easy to forget.
48
49
50
51 --
52 Alan McKinnon
53 alan.mckinnon@×××××.com

Replies