[Dovecot] segfault in Debian Squeeze + Dovecot 2.1.10
Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
[7236671.301179] imap-login[9306]: segfault at 28 ip 00007f9ff83c7e14 sp 00007fff49d385c0 error 4 in libdovecot.so.0.0.0[7f9ff837c000+8b000]
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
On Sat, Sep 22, 2012 at 1:57 PM, Joe Auty wrote:
Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
[7236671.301179] imap-login[9306]: segfault at 28 ip 00007f9ff83c7e14 sp 00007fff49d385c0 error 4 in libdovecot.so.0.0.0[7f9ff837c000+8b000]
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
May not be related at all, but when I see segfaults on Debian, the first thing I try is to switch to bash as the default system shell:
dpkg-reconfigure dash
Answer: Use dash as the default system shell (/bin/sh)? <No>
-- Gary V
Gary V <mailto:mr88talent@gmail.com> September 22, 2012 9:00 PM
May not be related at all, but when I see segfaults on Debian, the first thing I try is to switch to bash as the default system shell:
dpkg-reconfigure dash
Answer: Use dash as the default system shell (/bin/sh)? <No>
Unfortunately this hasn't completely resolved the issue (I don't know if it has reduced the number of times this has happened either). FWIW I'm getting the same sort of segfault 28 with both imap-login and pop-login. I'm using dovecot-ldap, if that makes a difference. I'm not really sure what the best way would be to trace this problem so that I can provide you guys with more useful info.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
-- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org <http://www.netmusician.org> joe@netmusician.org <mailto:joe@netmusician.org>
Gary V <mailto:mr88talent@gmail.com> September 22, 2012 9:00 PM
May not be related at all, but when I see segfaults on Debian, the first thing I try is to switch to bash as the default system shell:
dpkg-reconfigure dash
Answer: Use dash as the default system shell (/bin/sh)? <No>
Unfortunately this hasn't completely resolved the issue (I don't know if it has reduced the number of times this has happened either). FWIW I'm getting the same sort of segfault 28 with both imap-login and pop-login. I'm using dovecot-ldap, if that makes a difference. I'm not really sure what the best way would be to trace this problem so that I can provide you guys with more useful info.
P.S. sorry for the duplicate message, it seems to have something to do with attaching images to messages.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Am 22.09.2012 21:57, schrieb Joe Auty:
Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
[7236671.301179] imap-login[9306]: segfault at 28 ip 00007f9ff83c7e14 sp 00007fff49d385c0 error 4 in libdovecot.so.0.0.0[7f9ff837c000+8b000]
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
show your dovecot conf
-- Best Regards MfG Robert Schetterer
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
I took what you said literally, please let me know if you'd like to see any of the other Debian config files.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
-- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org <http://www.netmusician.org> joe@netmusician.org <mailto:joe@netmusician.org>
Joe Auty wrote the following on 23.09.2012 13:00:
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
I took what you said literally, please let me know if you'd like to see any of the other Debian config files.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
With "show your dovecot conf" Robert means show us the output of "doveconf -n"
Tamsy <mailto:dovecot-list@mohtex.net> September 23, 2012 5:07 AM
With "show your dovecot conf" Robert means show us the output of "doveconf -n"
My apologies! Here it is...
# 2.1.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.5 auth_verbose = yes disable_plaintext_auth = no mail_fsync = always mail_location = maildir:~/Maildir:INDEX=/doriandata/dovecotindexes/%u mail_nfs_storage = yes namespace inbox { inbox = yes location = prefix = } passdb { driver = pam } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocols = " imap pop3" ssl_cert = </etc/certs/domain1.com.pem ssl_key = </etc/certs/domain2.com.key userdb { driver = passwd } userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } verbose_proctitle = yes protocol imap { mail_max_userip_connections = 20 } local_name domain1.com { ssl_cert = </etc/certs/domain1.com.pem ssl_key = </etc/certs/domain1.com.key } local_name domain2.com { ssl_cert = </etc/certs/domain2.com.pem ssl_key = </etc/certs/domain2.com.key }
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 2:00 AM
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
I took what you said literally, please let me know if you'd like to see any of the other Debian config files.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
-- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org <http://www.netmusician.org> joe@netmusician.org <mailto:joe@netmusician.org>
Tamsy <mailto:dovecot-list@mohtex.net> September 23, 2012 5:07 AM
With "show your dovecot conf" Robert means show us the output of "doveconf -n"
My apologies! Here it is...
# 2.1.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.5 auth_verbose = yes disable_plaintext_auth = no mail_fsync = always mail_location = maildir:~/Maildir:INDEX=/doriandata/dovecotindexes/%u mail_nfs_storage = yes namespace inbox { inbox = yes location = prefix = } passdb { driver = pam } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocols = " imap pop3" ssl_cert = </etc/certs/domain1.com.pem ssl_key = </etc/certs/domain2.com.key userdb { driver = passwd } userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } verbose_proctitle = yes protocol imap { mail_max_userip_connections = 20 } local_name domain1.com { ssl_cert = </etc/certs/domain1.com.pem ssl_key = </etc/certs/domain1.com.key } local_name domain2.com { ssl_cert = </etc/certs/domain2.com.pem ssl_key = </etc/certs/domain2.com.key }
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 2:00 AM
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
I took what you said literally, please let me know if you'd like to see any of the other Debian config files.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Am 23.09.2012 08:00, schrieb Joe Auty:
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
fine, but what i/we like to see is the result of
dovecot -n
on the list, and pleady avoid mail your jpg only to the list ( what ever this is )
I took what you said literally, please let me know if you'd like to see any of the other Debian config files.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
-- Best Regards MfG Robert Schetterer
On 2012-09-23 2:00 AM, Joe Auty <joe@netmusician.org> wrote:
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
Please don't make it harder for others to help you...
Just paste the output in the body of the email. Some (many?) people won't click on links like that from people they don't know...
--
Best regards,
Charles
Charles Marcus <mailto:CMarcus@Media-Brokers.com> September 23, 2012 9:51 AM
Please don't make it harder for others to help you...
Just paste the output in the body of the email. Some (many?) people won't click on links like that from people they don't know...
My apologies, I figured at the time that it would be better to not make these emails crazy long, but I guess they can be just as easily snipped... Here is my conf:
## Dovecot configuration file
# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration
# "doveconf -n" command gives a clean output of the changed settings. Use it # instead of copy&pasting files when posting to the Dovecot mailing list.
# '#' character and everything after it is treated as comments. Extra spaces # and tabs are ignored. If you want to use either of these explicitly, put the # value inside quotes, eg.: key = "# char and trailing whitespace "
# Default values are shown for each setting, it's not required to uncomment # those. These are exceptions to this though: No sections (e.g. namespace {}) # or plugin settings are added by default, they're listed only as examples. # Paths are also just examples with the real defaults being based on configure # options. The paths listed here are for configure --prefix=/usr # --sysconfdir=/etc --localstatedir=/var
# Enable installed protocols !include_try /usr/share/dovecot/protocols.d/*.protocol
# A comma separated list of IPs or hosts where to listen in for connections. # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces. # If you want to specify non-default ports or anything more complex, # edit conf.d/master.conf. #listen = *, ::
# Base directory where to store runtime data. #base_dir = /var/run/dovecot/
# Name of this instance. In multi-instance setup doveadm and other commands # can use -i <instance_name> to select which instance is used (an alternative # to -c <config_path>). The instance name is also added to Dovecot processes # in ps output. #instance_name = dovecot
# Greeting message for clients. #login_greeting = Dovecot ready.
# Space separated list of trusted network ranges. Connections from these # IPs are allowed to override their IP addresses and ports (for logging and # for authentication checks). disable_plaintext_auth is also ignored for # these networks. Typically you'd specify your IMAP proxy servers here. #login_trusted_networks =
# Sepace separated list of login access check sockets (e.g. tcpwrap) #login_access_sockets =
# With proxy_maybe=yes if proxy destination matches any of these IPs, don't do # proxying. This isn't necessary normally, but may be useful if the destination # IP is e.g. a load balancer's IP. #auth_proxy_self =
# Show more verbose process titles (in ps). Currently shows user name and # IP address. Useful for seeing who are actually using the IMAP processes # (eg. shared mailboxes or if same uid is used for multiple accounts). #verbose_proctitle = no verbose_proctitle = yes
# Should all processes be killed when Dovecot master process shuts down. # Setting this to "no" means that Dovecot can be upgraded without # forcing existing client connections to close (although that could also be # a problem if the upgrade is e.g. because of a security fix). #shutdown_clients = yes
# If non-zero, run mail commands via this many connections to doveadm server, # instead of running them directly in the same process. #doveadm_worker_count = 0 # UNIX socket or host:port used for connecting to doveadm server #doveadm_socket_path = doveadm-server
# Space separated list of environment variables that are preserved on Dovecot # startup and passed down to all of its child processes. You can also give # key=value pairs to always set specific settings. #import_environment = TZ
## ## Dictionary server settings ##
# Dictionary can be used to store key=value lists. This is used by several # plugins. The dictionary can be accessed either directly or though a # dictionary server. The following dict block maps dictionary names to URIs # when the server is used. These can then be referenced using URIs in format # "proxy::<name>".
dict { #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext }
# Most of the actual configuration gets included below. The filenames are # first sorted by their ASCII value and parsed in that order. The 00-prefixes # in filenames are intended to make it easier to understand the ordering. !include conf.d/*.conf
# A config file can also tried to be included without giving an error if # it's not found: !include_try local.conf
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 2:00 AM
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Thanks!
I took what you said literally, please let me know if you'd like to see any of the other Debian config files.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Robert Schetterer <mailto:robert@schetterer.org> September 23, 2012 1:44 AM
show your dovecot conf
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
On 2012-09-23 3:45 PM, Joe Auty <joe@netmusician.org> wrote:
Charles Marcus <mailto:CMarcus@Media-Brokers.com> September 23, 2012 9:51 AM
Please don't make it harder for others to help you...
Just paste the output in the body of the email. Some (many?) people won't click on links like that from people they don't know...
My apologies, I figured at the time that it would be better to not make these emails crazy long, but I guess they can be just as easily snipped... Here is my conf:
## Dovecot configuration file
No, you got it right the second time...
When I said 'output', I mean the output of doveconf -n... which you did in a follow up email...
--
Best regards,
Charles
On 22.9.2012, at 22.57, Joe Auty wrote:
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
[7236671.301179] imap-login[9306]: segfault at 28 ip 00007f9ff83c7e14 sp 00007fff49d385c0 error 4 in libdovecot.so.0.0.0[7f9ff837c000+8b000]
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
I hope I'm doing this correctly!
# gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...(no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f789cf5e018 in login_binary_run () from /usr/lib/dovecot/libdovecot-login.so.0 No symbol table info available. #4 0x00007f789c979c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000402459 in ?? () No symbol table info available. #6 0x00007fff8a9c65f8 in ?? () No symbol table info available. #7 0x000000000000001c in ?? () No symbol table info available. #8 0x0000000000000002 in ?? () No symbol table info available. #9 0x00007fff8a9c7e6a in ?? () No symbol table info available. #10 0x00007fff8a9c7e7d in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
On 23.9.2012, at 14.05, Joe Auty wrote:
#0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
On 24/09/2012 17:32, Timo Sirainen wrote:
On 23.9.2012, at 14.05, Joe Auty wrote:
#0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
Levi
On 24.9.2012, at 17.55, Birta Levente wrote:
On 24/09/2012 17:32, Timo Sirainen wrote:
On 23.9.2012, at 14.05, Joe Auty wrote:
#0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
Show your doveconf -n output at least. As for debugging information, that would depend on how you installed Dovecot? From some RPM or sources?
On 24/09/2012 17:58, Timo Sirainen wrote:
On 24.9.2012, at 17.55, Birta Levente wrote:
On 24/09/2012 17:32, Timo Sirainen wrote:
On 23.9.2012, at 14.05, Joe Auty wrote:
#0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
Show your doveconf -n output at least. As for debugging information, that would depend on how you installed Dovecot? From some RPM or sources?
I build my own rpm based on src rpm: dovecot-2.1.1-2_132.src.rpm.
#dovecot -n
auth_mechanisms = plain login cram-md5 debug_log_path = /var/log/dovecot.log disable_plaintext_auth = no listen = * mail_access_groups = vmail mail_location = maildir:/var/vmail/%d/%n/Maildir mail_plugins = quota mbox_write_locks = fcntl namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = separator = / } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size quota = maildir:User quota quota_exceeded_message = Quota exceeded, please contact postmaster at benvenuti.ro quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=90%% quota-warning 90 %u quota_warning3 = storage=85%% quota-warning 85 %u quota_warning4 = storage=80%% quota-warning 80 %u quota_warning5 = storage=50%% quota-warning 50 %u } postmaster_address = postmaster@mydomain.com service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { group = vmail mode = 0640 user = vmail } user = vmail } ssl_ca = </etc/pki/tls/certs/ca.pem ssl_cert = </etc/pki/tls/certs/0.pem ssl_key = </etc/pki/tls/private/0.pem userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol lmtp { mail_plugins = quota } protocol lda { mail_plugins = quota } protocol imap { mail_plugins = quota imap_quota } protocol pop3 { mail_plugins = quota pop3_uidl_format = %08Xu%08Xv } local xxx.xxx.xxx.xxx { ssl_ca = </etc/pki/tls/certs/ca.pem ssl_cert = </etc/pki/tls/certs/1.cert.pem ssl_key = </etc/pki/tls/private/1.privatekey.pem } local xxx.xxx.xxx.xxx { ssl_ca = </etc/pki/tls/certs/ca.pem ssl_cert = </etc/pki/tls/certs/2.cert.pem ssl_key = </etc/pki/tls/private/2.privatekey.pem }
On 24/09/2012 17:58, Timo Sirainen wrote:
On 24.9.2012, at 17.55, Birta Levente wrote:
On 24/09/2012 17:32, Timo Sirainen wrote:
On 23.9.2012, at 14.05, Joe Auty wrote:
#0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
Show your doveconf -n output at least. As for debugging information, that would depend on how you installed Dovecot? From some RPM or sources?
Hi Timo
I just want to ask you: this issue is still in your task list? If you need more debug information please tell me how can I give you.
Thanks,
Levi
Are performance issues a possible symptom of this problem? It was mentioned that this happens after disconnects, but does this break IDLE?
Birta Levente <mailto:blevi.linux@gmail.com> September 27, 2012 9:25 AM
Hi Timo
I just want to ask you: this issue is still in your task list? If you need more debug information please tell me how can I give you.
Thanks, Levi
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:58 AM
Show your doveconf -n output at least. As for debugging information, that would depend on how you installed Dovecot? From some RPM or sources?
Birta Levente <mailto:blevi.linux@gmail.com> September 24, 2012 10:55 AM
I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
Levi
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:32 AM
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 7:05 AM
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
I hope I'm doing this correctly!
# gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...(no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f789cf5e018 in login_binary_run () from /usr/lib/dovecot/libdovecot-login.so.0 No symbol table info available. #4 0x00007f789c979c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000402459 in ?? () No symbol table info available. #6 0x00007fff8a9c65f8 in ?? () No symbol table info available. #7 0x000000000000001c in ?? () No symbol table info available. #8 0x0000000000000002 in ?? () No symbol table info available. #9 0x00007fff8a9c7e6a in ?? () No symbol table info available. #10 0x00007fff8a9c7e7d in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
-- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org <http://www.netmusician.org> joe@netmusician.org <mailto:joe@netmusician.org>
Are performance issues a possible symptom of this problem? It was mentioned that this happens after disconnects, but does this break IDLE?
Birta Levente <mailto:blevi.linux@gmail.com> September 27, 2012 9:25 AM
Hi Timo
I just want to ask you: this issue is still in your task list? If you need more debug information please tell me how can I give you.
Thanks, Levi
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:58 AM
Show your doveconf -n output at least. As for debugging information, that would depend on how you installed Dovecot? From some RPM or sources?
Birta Levente <mailto:blevi.linux@gmail.com> September 24, 2012 10:55 AM
I have the same problem, but on centos 6.3 64bit. How can I give you the debug information?
Levi
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:32 AM
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 7:05 AM
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
I hope I'm doing this correctly!
# gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...(no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f789cf5e018 in login_binary_run () from /usr/lib/dovecot/libdovecot-login.so.0 No symbol table info available. #4 0x00007f789c979c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000402459 in ?? () No symbol table info available. #6 0x00007fff8a9c65f8 in ?? () No symbol table info available. #7 0x000000000000001c in ?? () No symbol table info available. #8 0x0000000000000002 in ?? () No symbol table info available. #9 0x00007fff8a9c7e6a in ?? () No symbol table info available. #10 0x00007fff8a9c7e7d in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:32 AM
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
Thanks Timo, I have done so. Here is the results of my debugging info now:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...Reading symbols from /usr/lib/debug/usr/lib/dovecot/imap-login...done. (no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot-login.so.0.0.0...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot.so.0.0.0...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 hash_table_destroy (_table=0x28) at hash.c:106 106 hash.c: No such file or directory. in hash.c (gdb) bt full #0 hash_table_destroy (_table=0x28) at hash.c:106 table = <value optimized out> #1 0x00007ff300721054 in settings_parser_deinit (_ctx=<value optimized out>) at settings-parser.c:237 ctx = 0x0 #2 0x00007ff30074633d in master_service_settings_cache_deinit (_cache=<value optimized out>) at master-service-settings-cache.c:86 cache = 0x9f9a60 entry = 0xa016e0 next = 0x0 __FUNCTION__ = "master_service_settings_cache_deinit" #3 0x00007ff3009a5018 in main_deinit (binary=<value optimized out>, argc=2, argv=0x9f8370) at main.c:355 No locals. #4 login_binary_run (binary=<value optimized out>, argc=2, argv=0x9f8370) at main.c:407 set_pool = 0x9f8a30 allow_core_dumps = <value optimized out> login_socket = <value optimized out> c = <value optimized out> #5 0x00007ff3003c0c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #6 0x0000000000402459 in _start () No symbol table info available. (gdb)
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 7:05 AM
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
I hope I'm doing this correctly!
# gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...(no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f789cf5e018 in login_binary_run () from /usr/lib/dovecot/libdovecot-login.so.0 No symbol table info available. #4 0x00007f789c979c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000402459 in ?? () No symbol table info available. #6 0x00007fff8a9c65f8 in ?? () No symbol table info available. #7 0x000000000000001c in ?? () No symbol table info available. #8 0x0000000000000002 in ?? () No symbol table info available. #9 0x00007fff8a9c7e6a in ?? () No symbol table info available. #10 0x00007fff8a9c7e7d in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
On 24.9.2012, at 22.03, Joe Auty wrote:
#2 0x00007ff30074633d in master_service_settings_cache_deinit (_cache=<value optimized out>) at master-service-settings-cache.c:86
Timo Sirainen <mailto:tss@iki.fi> October 2, 2012 4:12 PM
Awesome!
Will this fix make it into 2.1.11, or should I toy with incorporating your change and compiling a new copy of 2.1.10 by hand? Also, will the seg fault have caused performance issues in breaking IDLE connections? Just wondering what sort of impact this fix might have...
Thanks for working on this, it is most appreciated, I'm a big fan of Dovecot!
Joe Auty <mailto:joe@netmusician.org> September 24, 2012 3:03 PM
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:32 AM
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
Thanks Timo, I have done so. Here is the results of my debugging info now:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...Reading symbols from /usr/lib/debug/usr/lib/dovecot/imap-login...done. (no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot-login.so.0.0.0...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot.so.0.0.0...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 hash_table_destroy (_table=0x28) at hash.c:106 106 hash.c: No such file or directory. in hash.c (gdb) bt full #0 hash_table_destroy (_table=0x28) at hash.c:106 table = <value optimized out> #1 0x00007ff300721054 in settings_parser_deinit (_ctx=<value optimized out>) at settings-parser.c:237 ctx = 0x0 #2 0x00007ff30074633d in master_service_settings_cache_deinit (_cache=<value optimized out>) at master-service-settings-cache.c:86 cache = 0x9f9a60 entry = 0xa016e0 next = 0x0 __FUNCTION__ = "master_service_settings_cache_deinit" #3 0x00007ff3009a5018 in main_deinit (binary=<value optimized out>, argc=2, argv=0x9f8370) at main.c:355 No locals. #4 login_binary_run (binary=<value optimized out>, argc=2, argv=0x9f8370) at main.c:407 set_pool = 0x9f8a30 allow_core_dumps = <value optimized out> login_socket = <value optimized out> c = <value optimized out> #5 0x00007ff3003c0c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #6 0x0000000000402459 in _start () No symbol table info available. (gdb)
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 7:05 AM
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
I hope I'm doing this correctly!
# gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...(no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f789cf5e018 in login_binary_run () from /usr/lib/dovecot/libdovecot-login.so.0 No symbol table info available. #4 0x00007f789c979c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000402459 in ?? () No symbol table info available. #6 0x00007fff8a9c65f8 in ?? () No symbol table info available. #7 0x000000000000001c in ?? () No symbol table info available. #8 0x0000000000000002 in ?? () No symbol table info available. #9 0x00007fff8a9c7e6a in ?? () No symbol table info available. #10 0x00007fff8a9c7e7d in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Timo Sirainen <mailto:tss@iki.fi> September 24, 2012 10:32 AM
Well, the good news is that it crashes only after it has already disconnected the client anyway. But I thought I fixed this bug in v2.1.10 and I'm not able to reproduce it myself.. Having debugging information available might show something useful. Try installing dovecot-dbg package and getting the bt full again?
Joe Auty <mailto:joe@netmusician.org> September 23, 2012 7:05 AM
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
I hope I'm doing this correctly!
# gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/dovecot/imap-login...(no debugging symbols found)...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/dovecot/libdovecot-login.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot-login.so.0 Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/dovecot/libdovecot.so.0 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 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 /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `dovecot/imap-login ?'. Program terminated with signal 11, Segmentation fault. #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 (gdb) bt full #0 0x00007f789cd08e14 in hash_table_destroy () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f789ccda054 in settings_parser_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f789ccff33d in master_service_settings_cache_deinit () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #3 0x00007f789cf5e018 in login_binary_run () from /usr/lib/dovecot/libdovecot-login.so.0 No symbol table info available. #4 0x00007f789c979c8d in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #5 0x0000000000402459 in ?? () No symbol table info available. #6 0x00007fff8a9c65f8 in ?? () No symbol table info available. #7 0x000000000000001c in ?? () No symbol table info available. #8 0x0000000000000002 in ?? () No symbol table info available. #9 0x00007fff8a9c7e6a in ?? () No symbol table info available. #10 0x00007fff8a9c7e7d in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available.
Joe Auty <mailto:joe@netmusician.org> September 22, 2012 3:57 PM Hello,
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
I'm using the 2.1.10 packages obtained with the following in my sources.list:
deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main
I need to use Dovecot 2.1.x because I need to support handling multiple SSL certs.
Timo Sirainen <mailto:tss@iki.fi> September 23, 2012 5:58 AM
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full
On 3.10.2012, at 0.09, Joe Auty wrote:
Timo Sirainen <mailto:tss@iki.fi> October 2, 2012 4:12 PM
Awesome!
Will this fix make it into 2.1.11, or should I toy with incorporating your change and compiling a new copy of 2.1.10 by hand?
All changes added to dovecot-2.1 hg go to the next 2.1 release. But I don't know when v2.1.11 will be released, probably a few weeks at least.
Also, will the seg fault have caused performance issues in breaking IDLE connections? Just wondering what sort of impact this fix might have...
It shouldn't have caused any user-visible problems.
participants (7)
-
Birta Levente
-
Charles Marcus
-
Gary V
-
Joe Auty
-
Robert Schetterer
-
Tamsy
-
Timo Sirainen