[exim-dev] [Bug 2221] Exim randomly crashes on content scan

Top Pagina
Delete this message
Reply to this message
Auteur: admin
Datum:  
Aan: exim-dev
Onderwerp: [exim-dev] [Bug 2221] Exim randomly crashes on content scan
https://bugs.exim.org/show_bug.cgi?id=2221

--- Comment #7 from Max Kostikov <max@???> ---
Got new crashes. See log below. Tracedump included.

root@beta:/home/xm # grep signal /var/log/messages | tail -n5
Jan 12 09:31:19 beta kernel: pid 1474 (exim), uid 26: exited on signal 10 (core
dumped)
Jan 12 09:58:58 beta kernel: pid 17366 (exim), uid 26: exited on signal 10
(core dumped)
Jan 12 10:34:01 beta kernel: pid 52697 (exim), uid 26: exited on signal 10
(core dumped)
Jan 12 11:24:46 beta kernel: pid 5818 (exim), uid 26: exited on signal 10 (core
dumped)
Jan 12 12:44:20 beta kernel: pid 19636 (exim), uid 26: exited on signal 10
(core dumped)
root@beta:/home/xm # grep 19636 /var/log/maillog
Jan 12 12:44:20 beta exim[19636]: 1eZwot-00056i-O2 DKIM: d=e2.kuponator.ru
s=sender c=relaxed/relaxed a=rsa-sha256 b=1024 [verification failed - signature
did not verify (headers probably modified in transit)]
Jan 12 12:44:20 beta exim[19636]: 1eZwot-00056i-O2 DMARC results:
spf_domain=e2.kuponator.ru dmarc_domain=kuponator.ru spf_align=yes
dkim_align=no enforcement='Accept'
root@beta:/home/xm # ll /var/spool/exim/scan/1eZwot-00056i-O2
total 41
-rw-r----- 1 mailnull mail 83789 12 янв. 12:44 1eZwot-00056i-O2-00000
-rw-r----- 1 mailnull mail 99952 12 янв. 12:44 1eZwot-00056i-O2.eml

root@beta:/home/xm # gdb -c /var/spool/exim/exim.core /usr/local/sbin/exim
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `/usr/local/sbin/exim -bd -q30m'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libcrypt.so.5...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libutil.so.9...done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /usr/lib/libwrap.so.6...done.
Loaded symbols for /usr/lib/libwrap.so.6
Reading symbols from /usr/lib/libpam.so.6...done.
Loaded symbols for /usr/lib/libpam.so.6
Reading symbols from /usr/local/lib/libspf2.so.2...done.
Loaded symbols for /usr/local/lib/libspf2.so.2
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libsrs_alt.so.1...done.
Loaded symbols for /usr/local/lib/libsrs_alt.so.1
Reading symbols from /usr/local/lib/libsqlite3.so.0...done.
Loaded symbols for /usr/local/lib/libsqlite3.so.0
Reading symbols from /usr/local/lib/libopendmarc.so.2...done.
Loaded symbols for /usr/local/lib/libopendmarc.so.2
Reading symbols from /usr/local/lib/libidn.so.11...done.
Loaded symbols for /usr/local/lib/libidn.so.11
Reading symbols from /usr/local/lib/libdb-5.3.so.0...done.
Loaded symbols for /usr/local/lib/libdb-5.3.so.0
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.20...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.20
Reading symbols from
/usr/local/lib/perl5/5.26/mach/CORE/libperl.so.5.26...done.
Loaded symbols for /usr/local/lib/perl5/5.26/mach/CORE/libperl.so.5.26
Reading symbols from /usr/lib/libssl.so.8...done.
Loaded symbols for /usr/lib/libssl.so.8
Reading symbols from /lib/libcrypto.so.8...done.
Loaded symbols for /lib/libcrypto.so.8
Reading symbols from /usr/local/lib/libpcre.so.1...done.
Loaded symbols for /usr/local/lib/libpcre.so.1
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/local/lib/libintl.so.8...done.
Loaded symbols for /usr/local/lib/libintl.so.8
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/lib/libexecinfo.so.1...done.
Loaded symbols for /usr/lib/libexecinfo.so.1
Reading symbols from /usr/lib/libc++.so.1...done.
Loaded symbols for /usr/lib/libc++.so.1
Reading symbols from /lib/libcxxrt.so.1...done.
Loaded symbols for /lib/libcxxrt.so.1
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libelf.so.2...done.
Loaded symbols for /lib/libelf.so.2
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000803c2b4f5 in strcmp () from /lib/libc.so.7
(gdb) bt
#0  0x0000000803c2b4f5 in strcmp () from /lib/libc.so.7
#1  0x00000000004d7faf in tree_search (p=0x6173723d61206465,
name=0x7fffffff0740 "_dmarc.kuponator.ru-TXT-c0201041") at tree.c:335
#2  0x0000000000447870 in dns_basic_lookup (dnsa=0x7fffffff42c8,
name=0x805292138 "_dmarc.kuponator.ru", type=16) at dns.c:668
#3  0x00000000004487b9 in dns_lookup (dnsa=0x7fffffff42c8, name=0x805292138
"_dmarc.kuponator.ru", type=16, fully_qualified_name=0x7fffffff1c08) at
dns.c:880
#4  0x0000000000449503 in dns_special_lookup (dnsa=0x7fffffff42c8,
name=0x805292138 "_dmarc.kuponator.ru", type=16,
fully_qualified_name=0x7fffffff1c08) at dns.c:1155
#5  0x000000000051d6f3 in dnsdb_find (handle=0xffffffffffffffff, filename=0x0,
keystring=0x80550023b "", length=35, result=0x7fffffff4b90, errmsg=0x786dc8,
    do_cache=0x7fffffff4b84) at dnsdb.c:357
#6  0x00000000004ac41b in internal_search_find (handle=0x805291eb0,
filename=0x0, keystring=0x805500218 "defer_never,txt=_dmarc.kuponator.ru") at
search.c:522
#7  0x00000000004ab956 in search_find (handle=0x805291eb0, filename=0x0,
keystring=0x805500218 "defer_never,txt=_dmarc.kuponator.ru", partial=-1,
affix=0x0,
    affixlen=32767, starflags=0, expand_setup=0x7fffffff5f34) at search.c:671
#8  0x0000000000458030 in expand_string_internal (string=0x805286094 "${lookup
dnsdb{defer_never,txt=_dmarc.$dmarc_used_domain}}}{;}{ }}}}", ket_ends=1,
    left=0x7fffffff7008, skipping=0, honour_dollar=1, resetok_p=0x7fffffff838c)
at expand.c:4353
#9  0x0000000000462f11 in read_subs (sub=0x7fffffff7e90, n=3, m=3,
sptr=0x7fffffff8498, skipping=0, check_end=1, name=0x53d6bb "sg",
resetok=0x7fffffff838c)
    at expand.c:2007
#10 0x000000000045a6ed in expand_string_internal (string=0x80528608f
"${sg{${lookup dnsdb{defer_never,txt=_dmarc.$dmarc_used_domain}}}{;}{ }}}}",
ket_ends=1,
    left=0x7fffffffa798, skipping=0, honour_dollar=1, resetok_p=0x7fffffffa68c)
at expand.c:5291
#11 0x000000000045adb5 in expand_string_internal (string=0x805286080
"${extract{pct}{${sg{${lookup
dnsdb{defer_never,txt=_dmarc.$dmarc_used_domain}}}{;}{ }}}}",
    ket_ends=0, left=0x0, skipping=0, honour_dollar=1, resetok_p=0x0) at
expand.c:5440
#12 0x00000000004569fd in expand_string (string=0x805286080
"${extract{pct}{${sg{${lookup
dnsdb{defer_never,txt=_dmarc.$dmarc_used_domain}}}{;}{ }}}}")
    at expand.c:7569
#13 0x00000000004231aa in acl_check_condition (verb=6, cb=0x805286058, where=5,
addr=0x0, level=0, epp=0x7fffffffb9fc, user_msgptr=0x7fffffffc5e0,
    log_msgptr=0x7fffffffc5d8, basic_errno=0x7fffffffba00) at acl.c:2903
#14 0x0000000000421d0c in acl_check_internal (where=5, addr=0x0, s=0x805280708
"acl_check_data", user_msgptr=0x7fffffffc5e0, log_msgptr=0x7fffffffc5d8) at
acl.c:4077
#15 0x0000000000422685 in acl_check (where=5, recipient=0x0, s=0x805280708
"acl_check_data", user_msgptr=0x7fffffffc5e0, log_msgptr=0x7fffffffc5d8) at
acl.c:4389
#16 0x000000000049e7be in receive_msg (extract_recip=0) at receive.c:3570
#17 0x000000000042ff5b in handle_smtp_call (listen_sockets=0x80528f5b0,
listen_socket_count=12, accept_socket=15, accepted=0x7fffffffcca0) at
daemon.c:506
#18 0x000000000042eb3c in daemon_go () at daemon.c:2049
#19 0x0000000000453015 in main (argc=3, cargv=0x7fffffffed48) at exim.c:4856


--
You are receiving this mail because:
You are on the CC list for the bug.