Subject: | segfaults |
Hi,
I'm using this module quite heavily now, creating various buttons at
once via for loops etc. with Catalyst. I keep getting random segfaults:
*** glibc detected *** /usr/bin/perl: corrupted double-linked list:
0x0a9a5cf8 ***
======= Backtrace: =========
/lib/libc.so.6[0xa59116]
/lib/libc.so.6[0xa5aced]
/lib/libc.so.6(__libc_malloc+0x7e)[0xa5c2de]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_safesysmalloc+0x3f)[0x171bff]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_grow+0xda)[0x18ee9a]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_setsv_flags+0x60c)[0x1988dc]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_mortalcopy+0x65)[0x199a55]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_return+0x66f)[0x1bb99f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x1f)[0x18297f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(perl_run+0x123)[0x128003]
/usr/bin/perl(main+0x13e)[0x80491ee]
/lib/libc.so.6(__libc_start_main+0xdc)[0xa09dec]
/usr/bin/perl[0x8049021]
======= Memory map: ========
00101000-0022b000 r-xp 00000000 fd:00 1218232
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
0022b000-00230000 rwxp 0012a000 fd:00 1218232
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
00230000-00232000 rwxp 00230000 00:00 0
00232000-00236000 r-xp 00000000 fd:00 1214783
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/IO/IO.so
00236000-00237000 rwxp 00003000 fd:00 1214783
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/IO/IO.so
00237000-00240000 r-xp 00000000 fd:00 1214789
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so
00240000-00241000 rwxp 00008000 fd:00 1214789
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so
00241000-00249000 r-xp 00000000 fd:00 1246584
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Set/Object/Object.so
00249000-0024a000 rwxp 00007000 fd:00 1246584
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Set/Object/Object.so
0024a000-00267000 r-xp 00000000 fd:00 2628174
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/YAML/Syck/Syck.so
00267000-00268000 rwxp 0001d000 fd:00 2628174
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/YAML/Syck/Syck.so
00268000-0026e000 r-xp 00000000 fd:00 2561068
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Template/Stash/XS/XS.so
0026e000-0026f000 rwxp 00005000 fd:00 2561068
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Template/Stash/XS/XS.so
0026f000-00274000 r-xp 00000000 fd:00 2882871
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DateTime/DateTime.so
00274000-00275000 rwxp 00004000 fd:00 2882871
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DateTime/DateTime.so
00275000-00288000 r-xp 00000000 fd:00 1214961
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Storable/Storable.so
00288000-00289000 rwxp 00012000 fd:00 1214961
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Storable/Storable.so
00289000-0028f000 r-xp 00000000 fd:00 2359228
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Text/CSV_XS/CSV_XS.so
0028f000-00290000 rwxp 00005000 fd:00 2359228
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Text/CSV_XS/CSV_XS.so
00290000-00292000 r-xp 00000000 fd:00 1214985
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Hostname/Hostname.so
00292000-00293000 rwxp 00001000 fd:00 1214985
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Hostname/Hostname.so
00293000-0029c000 r-xp 00000000 fd:00 9167118 /lib/libnss_files-2.5.so
0029c000-0029d000 r-xp 00008000 fd:00 9167118 /lib/libnss_files-2.5.so
0029d000-0029e000 rwxp 00009000 fd:00 9167118 /lib/libnss_files-2.5.so
0029e000-002a2000 r-xp 00000000 fd:00 9166246 /lib/libnss_dns-2.5.so
002a2000-002a3000 r-xp 00003000 fd:00 9166246 /lib/libnss_dns-2.5.so
002a3000-002a4000 rwxp 00004000 fd:00 9166246 /lib/libnss_dns-2.5.so
002a4000-002c0000 r-xp 00000000 fd:00 1214796
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/POSIX/POSIX.so
002c0000-002c100Aborted
*** glibc detected *** /usr/bin/perl: corrupted double-linked list:
0x0c2822c8 ***
======= Backtrace: =========
/lib/libc.so.6[0xa59116]
/lib/libc.so.6[0xa5aced]
/lib/libc.so.6(__libc_malloc+0x7e)[0xa5c2de]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_safesysmalloc+0x3f)[0x171bff]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_grow+0xda)[0x18ee9a]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_setsv_flags+0x60c)[0x1988dc]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_mortalcopy+0x65)[0x199a55]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_return+0x66f)[0x1bb99f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x1f)[0x18297f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(perl_run+0x123)[0x128003]
/usr/bin/perl(main+0x13e)[0x80491ee]
/lib/libc.so.6(__libc_start_main+0xdc)[0xa09dec]
/usr/bin/perl[0x8049021]
======= Memory map: ========
00101000-0022b000 r-xp 00000000 fd:00 1218232
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
0022b000-00230000 rwxp 0012a000 fd:00 1218232
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
00230000-00232000 rwxp 00230000 00:00 0
00232000-00237000 r-xp 00000000 fd:00 1214958
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Socket/Socket.so
00237000-00238000 rwxp 00004000 fd:00 1214958
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Socket/Socket.so
00238000-0023d000 r-xp 00000000 fd:00 1214991
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so
0023d000-0023e000 rwxp 00004000 fd:00 1214991
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so
0023e000-00242000 r-xp 00000000 fd:00 1214738
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Devel/Peek/Peek.so
00242000-00243000 rwxp 00003000 fd:00 1214738
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Devel/Peek/Peek.so
00243000-00245000 r-xp 00000000 fd:00 1214985
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Hostname/Hostname.so
00245000-00246000 rwxp 00001000 fd:00 1214985
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Sys/Hostname/Hostname.so
00247000-0024a000 r-xp 00000000 fd:00 1214768
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
0024a000-0024b000 rwxp 00002000 fd:00 1214768
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
0024b000-00268000 r-xp 00000000 fd:00 2628174
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/YAML/Syck/Syck.so
00268000-00269000 rwxp 0001d000 fd:00 2628174
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/YAML/Syck/Syck.so
00269000-0026e000 r-xp 00000000 fd:00 4550307
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Class/C3/XS/XS.so
0026e000-0026f000 rwxp 00004000 fd:00 4550307
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Class/C3/XS/XS.so
002a5000-002a7000 r-xp 00000000 fd:00 1212087
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Cwd/Cwd.so
002a7000-002a8000 rwxp 00002000 fd:00 1212087
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/Cwd/Cwd.so
002a8000-002ff000 r-xp 00000000 fd:00 2790977
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/SSLeay/SSLeay.so
002ff000-00300000 rwxp 00057000 fd:00 2790977
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Net/SSLeay/SSLeay.so
003fd000-0041c000 r-xp 00000000 fd:00 932327 /usr/lib/libpq.so.4.1
0041c000-0041d000 rwxp 0001f000 fd:00 932327 /usr/lib/libpq.so.4.1
0044c000-00476000 r-xp 00000000 fd:00 932630
/usr/lib/libgssapi_krb5.so.2.2
00476000-00477000 rwxp 00029000 fd:00 932630
/usr/lib/libgssapi_krb5.so.2.2
00479000-00480000 r-xp 00000000 fd:00 932355
/usr/lib/libkrb5support.so.0.1
00480000-00481000 rwxp 00006000 fd:00 932355
/usr/lib/libkrb5support.so.0.1
004ce000-004d4000 r-xp 00000000 fd:00 2561068
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Template/Stash/XS/XS.so
004d4000-004d5000 rwxp 00005000 fd:00 2561068
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/Template/Stash/XS/XS.so
005c6000-0Aborted
gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208387904 (LWP 4836)]
0x0036f192 in main_arena () from /lib/libc.so.6
(gdb) bt
#0 0x0036f192 in main_arena () from /lib/libc.so.6
#1 0x03ff7444 in BIO_free () from /lib/libcrypto.so.6
#2 0x03ff74c4 in BIO_free_all () from /lib/libcrypto.so.6
#3 0x0037f183 in XS_Business__PayPal__EWP_BIO_free_all ()
from
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Business/PayPal/EWP/EWP.so
#4 0x0018951d in Perl_pp_entersub () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#5 0x0018297f in Perl_runops_standard () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#6 0x00128003 in perl_run () from
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
#7 0x080491ee in main ()
(gdb)
Any ideas?