. Thread 1 (process 22780): #0 0x00007fd146ff0ba5 in *__GI_raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 pid = selftid = #1 0x00007fd146ff46b0 in *__GI_abort () at abort.c:92 act = {__sigaction_handler = {sa_handler = 0x7fff5260d160, sa_sigaction = 0x7fff5260d160}, sa_mask = {__val = {140734575464992, 140734575476449, 13, 140536817148626, 3, 140734575465002, 6, 140536817148630, 2, 140734575464990, 2, 140536817139640, 1, 140536817148626, 3, 140734575464996}}, sa_flags = 12, sa_restorer = 0x7fd1471062d6} sigs = {__val = {32, 0 }} #2 0x00007fd14702a43b in __libc_message (do_abort=, fmt=) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fff5260dba0, reg_save_area = 0x7fff5260dab0}} ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff5260dba0, reg_save_area = 0x7fff5260dab0}} fd = 2 on_2 = list = nlist = 0 cp = written = false #3 0x00007fd1470344b6 in malloc_printerr (action=3, str=0x7fd1471080a0 "double free or corruption (!prev)", ptr=) at malloc.c:6283 buf = "0000000001000f00" cp = 0x0 #4 0x00007fd14703ac83 in *__GI___libc_free (mem=) at malloc.c:3738 ar_ptr = (mstate) 0x7fd14733be40 p = (mchunkptr) 0x0 #5 0x00007fd146134ffa in mysql_db_destroy (dbh=0xbfc6b8, imp_dbh=0x1000910) at dbdimp.c:2245 No locals. #6 0x00007fd1461407de in XS_DBD__mysql__db_DESTROY ( my_perl=, cv=) at mysql.xsi:385 dbh = (SV *) 0xbfc6b8 imp_dbh = (imp_dbh_t *) 0x1000910 sp = (SV **) 0xb38778 ax = 12568248 #7 0x00007fd14656c02c in XS_DBI_dispatch (my_perl=0x878010, cv=) at DBI.xs:3426 markix = 0 xscv = (CV *) 0x58fc sp = ax = items = perinterp_sv = PERINTERP = (PERINTERP_t *) 0xc5f070 h = (SV *) 0xbfc6b8 st1 = (SV *) 0xd8fe88 st2 = (SV *) 0xc1bec8 err_sv = (SV *) 0xd92920 hook_svp = (SV **) 0x7fff5260ddb0 mg = gimme = trace_flags = 0 trace_level = 0 is_DESTROY = 1 is_unrelated_to_Statement = 0 keep_error = 1 ErrCount = 0 i = outitems = call_depth = 0 is_nested_call = 0 profile_t1 = 0 meth_name = ima = ima_flags = 65540 imp_xxh = (imp_xxh_t *) 0x1000910 imp_msv = qsv = (SV *) 0x7fff5260ddb0 #8 0x00007fd147a8f845 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10 No symbol table info available. #9 0x00007fd147a352c6 in Perl_call_sv () from /usr/lib/libperl.so.5.10 No symbol table info available. #10 0x00007fd147aa1ec6 in Perl_sv_clear () from /usr/lib/libperl.so.5.10 No symbol table info available. #11 0x00007fd147aa26c2 in Perl_sv_free2 () from /usr/lib/libperl.so.5.10 No symbol table info available. #12 0x00007fd147a97632 in ?? () from /usr/lib/libperl.so.5.10 No symbol table info available. #13 0x00007fd147a97691 in Perl_sv_clean_objs () from /usr/lib/libperl.so.5.10 No symbol table info available. #14 0x00007fd147a37419 in perl_destruct () from /usr/lib/libperl.so.5.10 No symbol table info available. #15 0x0000000000400d1c in main () No symbol table info available.