On 2013-11-06 08:05, Paul J Stevens wrote:
Thomas,
thanks. Nice backtrace. Useful.
Just had another "crash":
gdb /usr/sbin/dbmail-imapd --pid 6972
GNU gdb (Gentoo 7.5.1 p2) 7.5.1
Copyright (C) 2012 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-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/sbin/dbmail-imapd...done.
Attaching to program: /usr/sbin/dbmail-imapd, process 6972
.... more symbol loading
0x00007ffa918e4d2d in read () from /lib64/libpthread.so.0
(gdb) bt full
#0 0x00007ffa918e4d2d in read () from /lib64/libpthread.so.0
No symbol table info available.
#1 0x00007ffa8fa7ec71 in ?? () from /usr/lib64/libcrypto.so.1.0.0
No symbol table info available.
#2 0x00007ffa8fa7ca79 in BIO_read () from /usr/lib64/libcrypto.so.1.0.0
No symbol table info available.
#3 0x00007ffa8f7a5fb2 in ssl23_read_bytes () from
/usr/lib64/libssl.so.1.0.0
No symbol table info available.
#4 0x00007ffa8f7a488a in ssl23_get_client_hello () from
/usr/lib64/libssl.so.1.0.0
No symbol table info available.
#5 0x00007ffa8f7a4ce3 in ssl23_accept () from
/usr/lib64/libssl.so.1.0.0
No symbol table info available.
#6 0x00007ffa8f7a5e91 in ssl23_write () from /usr/lib64/libssl.so.1.0.0
No symbol table info available.
#7 0x00007ffa91b38a48 in ci_write (client=0x1a523f0, msg=<optimized
out>) at clientbase.c:311
ap = {{gp_offset = 37117552, fp_offset = 0, overflow_arg_area =
0x0, reg_save_area = 0x0}}
cp = {{gp_offset = 24, fp_offset = 0, overflow_arg_area =
0x61d600 <queue_pool>, reg_save_area = 0x7ffa9224d069
<g_private_get+9>}}
before = <optimized out>
after = <optimized out>
t = <optimized out>
e = 0
n = 140
left = 140
s = 0x2365650 "* OK [CAPABILITY IMAP4rev1 AUTH=LOGIN
AUTH=CRAM-MD5 STARTTLS ID] dbmail 0.9.9 ready.\r\n* BYE dbmail IMAP4
server signing off due to timeout\r\n"
buf =
"\002\000\000\000\000\000\000\000`\256\016\001\000\000\000\000\004\000\000\000$\000\000\000\000\000\000\000\372\177\000\000\000\000\000\000\000\000\000"
__func__ = "ci_write"
#8 0x00007ffa91b38cac in ci_write_cb (client=0x1a523f0) at
clientbase.c:258
rest = <optimized out>
result = 0
#9 0x00000000004081c0 in imap_cleanup_deferred (data=<optimized out>)
at imap4.c:146
rx = <optimized out>
D = <optimized out>
session = 0x202fec0
ci = 0x1a523f0
#10 0x00007ffa91b3668e in dm_queue_drain () at server.c:110
D = 0x1a1fcf0
data = 0x1a1fcf0
#11 0x00007ffa91f90c0c in event_base_loop () from
/usr/lib64/libevent-2.0.so.5
No symbol table info available.
#12 0x00007ffa91b3717e in server_run (conf=0x7fff6ea598f0) at
server.c:842
i = <optimized out>
evsock = <optimized out>
__PRETTY_FUNCTION__ = "server_run"
__func__ = "server_run"
#13 0x00007ffa91b37b0d in server_mainloop (config=0x7fff6ea598f0,
service=0x41448e "IMAP", servicename=<optimized out>) at server.c:976
__func__ = "server_mainloop"
#14 0x0000000000407bfa in main (argc=<optimized out>,
argv=0x7fff6ea5d258) at imapd.c:53
config = {no_daemonize = 0, log_verbose = 0, pidFile = 0x108f010
"/var/run/dbmail/dbmail-imapd.pid", timeout = 4000, login_timeout = 60,
iplist = 0x1099fa0, port = "143", '\000' <repeats 1020 times>,
ssl_port = "993", '\000' <repeats 1020 times>, ipcount = 1,
socketcount = 1, ssl_socketcount = 1, listenSockets = 0x10ef490,
ssl_listenSockets = 0x10ef8a0, service_before_smtp = 0, authlog = 1, ssl
= 1, backlog = 128,
resolveIP = 0, evh = 0x0, service_name = "IMAP", '\000'
<repeats 1019 times>, process_name = "dbmail-imapd", '\000' <repeats
1011 times>, serverUser = "dbmail", '\000' <repeats 1017 times>,
serverGroup = "dbmail", '\000' <repeats 1017 times>, socket =
'\000' <repeats 1023 times>, log = "/var/log/dbmail.log", '\000'
<repeats 1004 times>, error_log = "/var/log/dbmail.err", '\000' <repeats
1004 times>,
pid_dir = "/var/run/dbmail", '\000' <repeats 1008 times>,
tls_cafile = "/etc/openvpn/lv_new/ca.crt", '\000' <repeats 997 times>,
tls_cert = "/etc/openvpn/lv_new/lordvan.com.crt", '\000' <repeats 988
times>,
tls_key = "/etc/openvpn/lv_new/lordvan.com.key", '\000'
<repeats 988 times>, tls_ciphers = "DEFAULT", '\000' <repeats 1016
times>, ClientHandler = 0x409190 <imap_handle_connection>, cb = 0x0}
result = 0
__func__ = "main"
(gdb)
hope it helps.
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail