10 Jul
2010
10 Jul
'10
9:18 p.m.
On 10.7.2010, at 19.11, Sven Kirmess wrote:
- gdb -p
pidof imap
cont- make it crash
- gdb should now have stopped, and you can give "bt" command.
I can't make it crash. As soon as I attach gdb to the process it doesn't do anything. It just hangs.
You need to give gdb the "cont" command after attaching to it.
ROOT@azati:dovecot> /opt/gdb/bin/gdb -p 10682 .. 0xfecea5b5 in ?? ()
Also looks like gdb -p isn't working properly. You need to instead use
gdb /path/to/imap pid