[Dovecot] imap dumps core when connecting with mutt
Hello,
I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).
imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core dumped)
I managed to create a core file and passed that to gdb. The log is here [1].
I hope this helps - please tell me what else would be needed if not.
Thanks.
[1] http://paste.kde.org/622574/
-- Arthur Titeica
On Sun, 2012-12-09 at 19:03 +0200, Arthur Titeica wrote:
Hello,
I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).
imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core dumped)
I managed to create a core file and passed that to gdb. The log is here [1].
I hope this helps - please tell me what else would be needed if not.
First of all doveconf -n output would be helpful. The gdb backtrace would have been also a bit more useful with debug symbols.
Hello,
Thanks for the reply.
On Tuesday 18 December 2012 21:39:57 Timo Sirainen wrote:
On Sun, 2012-12-09 at 19:03 +0200, Arthur Titeica wrote:
Hello,
I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).
imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core dumped)
I managed to create a core file and passed that to gdb. The log is here [1].
I hope this helps - please tell me what else would be needed if not.
First of all doveconf -n output would be helpful.
Here is the config: http://paste.kde.org/628478/83892135/raw/
The gdb backtrace would have been also a bit more useful with debug symbols.
I see no debug option in ./configure --help. Would it be enough not to strip the binaries after the build?
-- Arthur Titeica
On Thu, 2012-12-20 at 08:19 +0200, Arthur Titeica wrote:
I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).
imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core dumped)
I managed to create a core file and passed that to gdb. The log is here [1].
I hope this helps - please tell me what else would be needed if not.
First of all doveconf -n output would be helpful.
Here is the config: http://paste.kde.org/628478/83892135/raw/
The attached patch probably fixes the crash. But I'm still wondering a bit if it's the correct fix. There's still something strange why it's crashing with you.. I'll look at this more closely tomorrow.
The gdb backtrace would have been also a bit more useful with debug symbols.
I see no debug option in ./configure --help. Would it be enough not to strip the binaries after the build?
Debug symbols are compiled in by default. They're removed only if you strip them.
On Fri, 2013-01-04 at 06:59 +0200, Timo Sirainen wrote:
On Thu, 2012-12-20 at 08:19 +0200, Arthur Titeica wrote:
I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).
imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core dumped)
I managed to create a core file and passed that to gdb. The log is here [1].
I hope this helps - please tell me what else would be needed if not.
First of all doveconf -n output would be helpful.
Here is the config: http://paste.kde.org/628478/83892135/raw/
The attached patch probably fixes the crash. But I'm still wondering a bit if it's the correct fix. There's still something strange why it's crashing with you.. I'll look at this more closely tomorrow.
I'm still not entirely sure why it crashes with you, but there is definitely a bug in there. (It looks as if the shared namespace's owner doesn't have quota, is your userdb lookup maybe disabling it?)
This is a better fix than the previous patch: http://hg.dovecot.org/dovecot-2.1/rev/c91d142130be
On Saturday 05 January 2013 00:01:19 Timo Sirainen wrote:
On Fri, 2013-01-04 at 06:59 +0200, Timo Sirainen wrote:
On Thu, 2012-12-20 at 08:19 +0200, Arthur Titeica wrote:
I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).
imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core dumped)
I managed to create a core file and passed that to gdb. The log is here [1].
I hope this helps - please tell me what else would be needed if not.
First of all doveconf -n output would be helpful.
Here is the config: http://paste.kde.org/628478/83892135/raw/
The attached patch probably fixes the crash. But I'm still wondering a bit if it's the correct fix. There's still something strange why it's crashing with you.. I'll look at this more closely tomorrow.
I'm still not entirely sure why it crashes with you, but there is definitely a bug in there. (It looks as if the shared namespace's owner doesn't have quota, is your userdb lookup maybe disabling it?)
I'm not sure what you mean with "shared namespace's owner".
This is my dovecot-sql.conf.ext
iterate_query = SELECT email AS user FROM users
password_query =
SELECT email, password, login , concat('*:bytes=', quota) AS userdb_quota_rule
FROM users
WHERE email = '%u' AND login = 'active'
user_query = SELECT
home
, concat('*:bytes=', quota) AS quota_rule
FROM users
WHERE email
= '%u'
This is a better fix than the previous patch: http://hg.dovecot.org/dovecot-2.1/rev/c91d142130be
Thanks for looking into it. I'll test this and let you know.
-- Arthur Titeica
participants (2)
-
Arthur Titeica
-
Timo Sirainen