Closed mnik247 closed 8 years ago
Why do you check rmilter core using rspamd binary?
gdb which rmilter
-c /tmp/core-rmilter-11-496-4-22209-1461441936
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/sbin/rmilter...(no debugging symbols found)...done.
[New Thread 18811]
[New Thread 22210]
[New Thread 22217]
[New Thread 22209]
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /usr/lib64/libmilter.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libmilter.so.1.0
Reading symbols from /usr/lib64/libmemcached.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libmemcached.so.2
Reading symbols from /usr/lib64/libopendkim.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libopendkim.so.10
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/lib64/libbsd.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libbsd.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Core was generated by `/usr/sbin/rmilter -c /etc/rmilter/rmilter.conf.sysvinit'.
Program terminated with signal 11, Segmentation fault.
Missing separate debuginfos, use: debuginfo-install rmilter-1.8.1-2.x86_64 (gdb) bt full
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
---Type
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available. (gdb)
to @vstakhov Can you comment this crash?
Nope, it doesn't have valid backtrace.
rmilter 1.8.1 crahed again. before version 1.8.0 I never get rmilter crash. /var/log/messages: Apr 27 23:51:42 zm kernel: rmilter[10948] general protection ip:7fc1d422c867 sp:7fc1c6bf72f0 error:0 in libgcc_s-4.4.7-20120601.so.1[7fc1d421d000+16000] bt: (gdb) bt
bt full:
which rmilter
-c /tmp/core-rmilter-11-496-4-3221-1461790302GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/sbin/rmilter...(no debugging symbols found)...done. [New Thread 10948] [New Thread 3224] [New Thread 3221] [New Thread 3222] Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libresolv.so.2 Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libssl.so.10 Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libcrypto.so.10 Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done. Loaded symbols for /lib64/libpcre.so.0 Reading symbols from /usr/lib64/libmilter.so.1.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libmilter.so.1.0 Reading symbols from /usr/lib64/libmemcached.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libmemcached.so.2 Reading symbols from /usr/lib64/libopendkim.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libopendkim.so.10 Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libgssapi_krb5.so.2 Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done. Loaded symbols for /lib64/libkrb5.so.3 Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libcom_err.so.2 Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done. Loaded symbols for /lib64/libk5crypto.so.3 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libz.so.1 Reading symbols from /usr/lib64/libbsd.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libbsd.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done. Loaded symbols for /lib64/libkrb5support.so.0 Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libkeyutils.so.1 Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libselinux.so.1 Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libnss_files.so.2 Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libgcc_s.so.1 Core was generated by `/usr/sbin/rmilter -c /etc/rmilter/rmilter.conf.sysvinit'. Program terminated with signal 11, Segmentation fault.
Missing separate debuginfos, use: debuginfo-install rmilter-1.8.1-2.x86_64 (gdb) bt full
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
---Type
No symbol table info available.
After install rmilter-debuginfo bt full: (gdb) bt full
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
at /usr/src/debug/rmilter-1.8.1/src/libspamd.c:683
retry = 1251
r = <value optimized out>
hr = <value optimized out>
to_trace = <value optimized out>
i = <value optimized out>
j = <value optimized out>
ret = <value optimized out>
t = {tv_sec = 1461790302, tv_usec = 677505}
selected = 0x995818
rbuf = "spamdscan: sc RBL_MAILSPIKE_WORST(2.00)[]\n PHISHING(2.81)[bracecodes.com]\n RBL_UCEPROTECT_LEVEL1(1.00)[]\n RBL_SEM(1.00)[]\n MIME_HTML_ONLY(1.00)[]\n RDNS_NONE(1.00)[]\n HFILTER_FROMHOST_NORES_A_OR_MX(1.5"...
hdrbuf = "1.63\000score=146.2\000\066.21 / 19.00]\n URIBL_BLACK(30.00)[grupocodarco.com.multi.uribl.com, comajci.org.multi.uribl.com, ipaem.com.multi.uribl.com, bracecodes.com.multi.uribl.com]\n DBL_SPAM(26.00)[bracecodes"...
bar_buf = 'x' <repeats 51 times>, "\000\070.61%], RBL_SENDERSCORE(2.00)[], RBL_MAILSPIKE_WORST(2.00)[], PHISHING(2.81)"
prefix = <value optimized out>
c = <value optimized out>
res = {obj = 0x7fc1b0004af0, metric_name = 0x0, subject = 0x0, score = 146.21466100000001, required_score = 19, reject_score = 0,
action = METRIC_ACTION_REJECT, symbols = 0x7fc1b000b280}
cur_symbol = <value optimized out>
tmp_symbol = <value optimized out>
sleep_ts = {tv_sec = 1, tv_nsec = 0}
ctx = 0x9a7990
optbuf = <value optimized out>
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
---Type
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available
Today updated rmilter to version 1.8.1 and after 10 hours get coredump: gdb:
gdb
which rspamd
-c /tmp/core-rmilter-11-496-4-22209-1461441936GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/rspamd...(no debugging symbols found)...done. warning: core file may not match specified executable file. [New Thread 18811] [New Thread 22210] [New Thread 22217] [New Thread 22209] Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `/usr/sbin/rmilter -c /etc/rmilter/rmilter.conf.sysvinit'. Program terminated with signal 11, Segmentation fault.
0 0x00007f74cc159867 in ?? ()
Missing separate debuginfos, use: debuginfo-install rspamd-1.2.5-2.x86_64 (gdb) bt full
0 0x00007f74cc159867 in ?? ()
No symbol table info available.
1 0x0000000000000000 in ?? ()
No symbol table info available.
/var/log/messages: Apr 23 23:05:36 kernel: rmilter[18811] general protection ip:7f74cc159867 sp:7f74c61f62f0 error:0 in libgcc_s-4.4.7-20120601.so.1[7f74cc14a000+16000]
Info: -CentOS release 6.7 (Final) -Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux -rspamd-1.2.5