This is it:
[root@server00 spool]# service dovecot start Starting Dovecot Imap: [ OK ] [root@isteren spool]# gdb /usr/libexec/dovecot/imap core GNU gdb (GDB) Fedora (7.2-46.fc14) 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 "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/libexec/dovecot/imap...Reading symbols from /usr/lib/debug/usr/libexec/dovecot/imap.debug...done. done. /var/spool/core: No such file or directory. (gdb) bt full No stack. (gdb) q
Should i create the /var/spool/core (file or directory) first?
--- On Sat, 4/9/11, Timo Sirainen <> wrote:
Subject: Re: [Dovecot] coredump in dovecot 2.0.11 Date: Saturday, April 9, 2011, 12:29 PM I'm guessing it either couldn't open the binary file or the core file.. Even without debug symbols it should print something. What's the full gdb command you're giving and its output?
On 9.4.2011, at 13.26, k b wrote:
apparently i cannot get it right, (gdb) bt full says: No stack.
i did install the debuginfo files debuginfo-install dovecot-2.0.11-1.fc14.i686
but gdb still says No stack.
--- On Sat, 4/9/11, Timo Sirainen <tss@iki.fi> wrote:
Subject: Re: [Dovecot] coredump in dovecot 2.0.11 Cc: dovecot@dovecot.org Date: Saturday, April 9, 2011, 9:01 AM On 9.4.2011, at 9.37, k b wrote:
I can post the coredump but i will have to clean it first as i can see it contains a few emails. would it help to post the coredump or shuould i skip that?
The core file itself isn't useful, because it's highly system specific. Posting a gdb backtrace from it would be very useful though. So basically:
gdb /usr/libexec/dovecot/imap core bt full