[exim] [EXIM] Crash Exim with option complie MYSQL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Fabián M Sales
Dátum:  
Címzett: Exim-Users
Tárgy: [exim] [EXIM] Crash Exim with option complie MYSQL

Hello List, I have compiled "exim 4.87" with options:

LOOKUP_MYSQL=yes
LOOKUP_INCLUDE=-I /usr/include/mysql
LOOKUP_LIBS=-lmysqlclient

SO:

cat /etc/redhat-release
CentOS release 5.11 (Final)

The process finish OK.

But exim crashed when test a mailbox

/opt/exim/bin/exim -bt mailexample@???
*** glibc detected *** /opt/exim/bin/exim: double free or corruption 
(!prev): 0x086c6220 ***
======= Backtrace: =========
/lib/i686/nosegneg/libc.so.6[0x5da775]
/lib/i686/nosegneg/libc.so.6(cfree+0x59)[0x5de879]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_safesysfree+0x21)[0x4b0c61]
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so(mysql_db_destroy+0x44)[0xda95d4]
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so(XS_DBD__mysql__db_DESTROY+0x2ca)[0xdb5bda]
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so(XS_DBI_dispatch+0x233d)[0x70928d]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x40d)[0x4c657d]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so[0x4600a1]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_call_sv+0x5e6)[0x464946]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_clear+0x84)[0x4cb0a4]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_free+0x85)[0x4cb905]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_clear+0x3a2)[0x4cb3c2]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_free+0x85)[0x4cb905]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_mg_free+0x8c)[0x4b328c]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_clear+0x27a)[0x4cb29a]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_free+0x85)[0x4cb905]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_unref_flags+0x4f)[0x4cba0f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_force_normal_flags+0x1be)[0x4cc43e]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_leave_scope+0xca5)[0x4f0315]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pop_scope+0x35)[0x4f03f5]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_return+0x281)[0x4f8881]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x1f)[0x4bf9df]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so[0x46007e]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_call_sv+0x5e6)[0x464946]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_call_pv+0x44)[0x466bb4]
/opt/exim/bin/exim(call_perl_cat+0x282)[0x80d0072]
/opt/exim/bin/exim[0x80811c3]
/opt/exim/bin/exim[0x80879ee]
/opt/exim/bin/exim[0x807febe]
/opt/exim/bin/exim[0x807fa78]
/opt/exim/bin/exim[0x8080b3a]
/opt/exim/bin/exim(expand_string+0x130)[0x808729e]
/opt/exim/bin/exim(expand_check_condition+0x13)[0x808746b]
/opt/exim/bin/exim[0x80ae663]
/opt/exim/bin/exim(route_address+0x30a)[0x80aebf9]
/opt/exim/bin/exim(verify_address+0x4aa)[0x80cbf20]
/opt/exim/bin/exim[0x8073949]
/opt/exim/bin/exim(main+0x7ba2)[0x807c0fe]
/lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc)[0x585edc]
/opt/exim/bin/exim[0x805ac81]
======= Memory map: ========
001c6000-001cf000 r-xp 00000000 ca:03 181105     /lib/libcrypt-2.5.so
001cf000-001d0000 r--p 00008000 ca:03 181105     /lib/libcrypt-2.5.so
001d0000-001d1000 rw-p 00009000 ca:03 181105     /lib/libcrypt-2.5.so
001d1000-001f8000 rw-p 001d1000 00:00 0
001f8000-002ed000 r-xp 00000000 ca:03 49916      /lib/libdb-4.3.so
002ed000-002f0000 rw-p 000f4000 ca:03 49916      /lib/libdb-4.3.so
002f0000-00306000 r-xp 00000000 ca:03 1083548 
/lib/i686/nosegneg/libpthread-2.5.so
00306000-00307000 r--p 00015000 ca:03 1083548 
/lib/i686/nosegneg/libpthread-2.5.so
00307000-00308000 rw-p 00016000 ca:03 1083548 
/lib/i686/nosegneg/libpthread-2.5.so
00308000-0030a000 rw-p 00308000 00:00 0
0030a000-00351000 r-xp 00000000 ca:03 55786      /lib/libssl.so.0.9.8e
00351000-00355000 rw-p 00046000 ca:03 55786      /lib/libssl.so.0.9.8e
00355000-00367000 r-xp 00000000 ca:03 49779      /lib/libz.so.1.2.3
00367000-00368000 rw-p 00011000 ca:03 49779      /lib/libz.so.1.2.3
00368000-0036f000 r-xp 00000000 ca:03 1083550 
/lib/i686/nosegneg/librt-2.5.so
0036f000-00370000 r--p 00007000 ca:03 1083550 
/lib/i686/nosegneg/librt-2.5.so
00370000-00371000 rw-p 00008000 ca:03 1083550 
/lib/i686/nosegneg/librt-2.5.so
00371000-0039e000 r-xp 00000000 ca:03 31955 
/usr/lib/libgssapi_krb5.so.2.2
0039e000-0039f000 rw-p 0002d000 ca:03 31955 
/usr/lib/libgssapi_krb5.so.2.2
0039f000-003a7000 r-xp 00000000 ca:03 16786 
/usr/lib/libkrb5support.so.0.1
003a7000-003a8000 rw-p 00007000 ca:03 16786 
/usr/lib/libkrb5support.so.0.1
003a8000-003b2000 r-xp 00000000 ca:03 181117     /lib/libnss_files-2.5.so
003b2000-003b3000 r--p 00009000 ca:03 181117     /lib/libnss_files-2.5.so
003b3000-003b4000 rw-p 0000a000 ca:03 181117     /lib/libnss_files-2.5.so
003bb000-003da000 r-xp 00000000 ca:03 51128      /lib/libpcre.so.0.0.1
003da000-003db000 rw-p 0001e000 ca:03 51128      /lib/libpcre.so.0.0.1
003db000-00401000 r-xp 00000000 ca:03 31951      /usr/lib/libk5crypto.so.3.1
00401000-00402000 rw-p 00025000 ca:03 31951      /usr/lib/libk5crypto.so.3.1
00402000-0040b000 r-xp 00000000 ca:03 56594 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so
0040b000-0040c000 rw-p 00008000 ca:03 56594 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/Util.so
00415000-0043c000 r-xp 00000000 ca:03 1083546 
/lib/i686/nosegneg/libm-2.5.so
0043c000-0043d000 r--p 00026000 ca:03 1083546 
/lib/i686/nosegneg/libm-2.5.so
0043d000-0043e000 rw-p 00027000 ca:03 1083546 
/lib/i686/nosegneg/libm-2.5.so
0043e000-00569000 r-xp 00000000 ca:03 49787 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
00569000-0056e000 rw-p 0012a000 ca:03 49787 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so
0056e000-00570000 rw-p 0056e000 00:00 0
00570000-006ca000 r-xp 00000000 ca:03 1083544 
/lib/i686/nosegneg/libc-2.5.so
006ca000-006cb000 ---p 0015a000 ca:03 1083544 
/lib/i686/nosegneg/libc-2.5.so
006cb000-006cd000 r--p 0015a000 ca:03 1083544 
/lib/i686/nosegneg/libc-2.5.so
006cd000-006ce000 rw-p 0015c000 ca:03 1083544 
/lib/i686/nosegneg/libc-2.5.so
006ce000-006d1000 rw-p 006ce000 00:00 0
006d6000-006d8000 r-xp 00000000 ca:03 50011      /lib/libcom_err.so.2.1
006d8000-006d9000 rw-p 00001000 ca:03 50011      /lib/libcom_err.so.2.1
006d9000-006ef000 r-xp 00000000 ca:03 180695     /lib/libselinux.so.1
006ef000-006f1000 rw-p 00015000 ca:03 180695     /lib/libselinux.so.1
006f1000-00710000 r-xp 00000000 ca:03 49404 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so
00710000-00711000 rw-p 0001e000 ca:03 49404 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so
0071c000-0071e000 r-xp 00000000 ca:03 49841      /lib/libkeyutils-1.2.so
0071e000-0071f000 rw-p 00001000 ca:03 49841      /lib/libkeyutils-1.2.so
0071f000-0072a000 r-xp 00000000 ca:03 180585 
/lib/libgcc_s-4.1.2-20080825.so.1
0072a000-0072b000 rw-p 0000a000 ca:03 180585 
/lib/libgcc_s-4.1.2-20080825.so.1
0073e000-00759000 r-xp 00000000 ca:03 181094     /lib/ld-2.5.so
00759000-0075a000 r--p 0001a000 ca:03 181094     /lib/ld-2.5.so
0075a000-0075b000 rw-p 0001b000 ca:03 181094     /lib/ld-2.5.so
00775000-00777000 r-xp 00000000 ca:03 181133     /lib/libutil-2.5.so
00777000-00778000 r--p 00001000 ca:03 181133     /lib/libutil-2.5.so
00778000-00779000 rw-p 00002000 ca:03 181133     /lib/libutil-2.5.so
00779000-008a3000 r-xp 00000000 ca:03 51716      /lib/libcrypto.so.0.9.8e
008a3000-008b6000 rw-p 0012a000 ca:03 51716      /lib/libcrypto.so.0.9.8e
008b6000-008ba000 rw-p 008b6000 00:00 0
008ba000-0094e000 r-xp 00000000 ca:03 31954      /usr/lib/libkrb5.so.3.3
0094e000-00951000 rw-p 00093000 ca:03 31954      /usr/lib/libkrb5.so.3.3
00965000-00968000 r-xp 00000000 ca:03 181107     /lib/libdl-2.5.so
00968000-00969000 r--p 00002000 ca:03 181107     /lib/libdl-2.5.so
00969000-0096a000 rw-p 00003000 ca:03 181107     /lib/libdl-2.5.so
0096a000-009a5000 r-xp 00000000 ca:03 180614     /lib/libsepol.so.1
009a5000-009a6000 rw-p 0003b000 ca:03 180614     /lib/libsepol.so.1
009a6000-009b0000 rw-p 009a6000 00:00 0
009fc000-00a0d000 r-xp 00000000 ca:03 181127     /lib/libresolv-2.5.so
00a0d000-00a0e000 r--p 00010000 ca:03 181127     /lib/libresolv-2.5.so
00a0e000-00a0f000 rw-p 00011000 ca:03 181127     /lib/libresolv-2.5.so
00a0f000-00a11000 rw-p 00a0f000 00:00 0
00a11000-00cdf000 r-xp 00000000 ca:03 235133 
/usr/lib/libmysqlclient.so.18.0.0
00cdf000-00d58000 rw-p 002cd000 ca:03 235133 
/usr/lib/libmysqlclient.so.18.0.0
00d58000-00d5b000 rw-p 00d58000 00:00 0
00da0000-00dbe000 r-xp 00000000 ca:03 49429 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
00dbe000-00dc0000 rw-p 0001d000 ca:03 49429 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
00e10000-00e25000 r-xp 00000000 ca:03 181111     /lib/libnsl-2.5.so
00e25000-00e26000 r--p 00014000 ca:03 181111     /lib/libnsl-2.5.so
00e26000-00e27000 rw-p 00015000 ca:03 181111     /lib/libnsl-2.5.so
00e27000-00e29000 rw-p 00e27000 00:00 0
00ee9000-00eea000 r-xp 00ee9000 00:00 0          [vdso]
00eea000-0109d000 r-xp 00000000 ca:03 230596 
/usr/lib/libmysqlclient.so.15.0.0
0109d000-010e1000 rw-p 001b3000 ca:03 230596 
/usr/lib/libmysqlclient.so.15.0.0
010e1000-010e2000 rw-p 010e1000 00:00 0
08048000-0811f000 r-xp 00000000 ca:03 214414     /opt/exim/bin/exim-4.87-20
0811f000-08125000 rw-p 000d6000 ca:03 214414     /opt/exim/bin/exim-4.87-20
08125000-08133000 rw-p 08125000 00:00 0
084c3000-086f4000 rw-p 084c3000 00:00 0
b7507000-b7508000 ---p b7507000 00:00 0
b7508000-b7f30000 rw-p b7508000 00:00 0
b7f39000-b7f3b000 rw-p b7f39000 00:00 0
bf786000-bf809000 rw-p bff7b000 00:00 0          [stack]
Abortado


How to debug this?

Thanks.

--


    

*Fabián* *M. Sales
*Soporte Técnico & I.T.I Linux

*DonWeb *
La Actitud Es Todo
www.DonWeb.com



------------------------------------------------------------------------

Nota de confidencialidad: Este mensaje y archivos adjuntos al mismo son
confidenciales, de uso exclusivo para el destinatario del mismo. La
divulgación y/o uso del mismo sin autorización por parte de DonWeb.com
queda prohibida.
DonWeb.com no se hace responsable del mensaje por la falsificación y/o
alteración del mismo.
De no ser Ud el destinatario del mismo y lo ha recibido por error, por
favor, notifique al remitente y elim?elo de su sistema.
Confidentiality Note: This message and any attachments (the message) are
confidential and intended solely for the addressees. Any unauthorised
use or dissemination is prohibited by DonWeb.com.
DonWeb.com shall not be liable for the message if altered or falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender
Nota de Confidencialidade: Esta mensagem e seus eventuais anexos podem
conter dados confidenciais ou privilegiados.
Se você os recebeu por engano ou não é um dos destinatários aos quais
ela foi endereçada, por favor destrua-a e a todos os seus eventuais
anexos ou copias realizadas, imediatamente.
É proibida a retenção, distribuição, divulgação ou utilização de
quaisquer informações aqui contidas.
Por favor, informenos sobre o recebimento indevido desta mensagem,
retornando-a para o autor.