On 16 Oct 2015, at 23:44, Nick Rosier <nick+dovecot@bunbun.be> wrote:
gdb --args doveadm index -u user@domain INBOX run <it should crash now> f 5 p src p ic_srcbuf p *src_size p srcleft I recompiled Dovecot with Debug but I suspect I will have to do it for all the required libraries as well; I did manage to find the offending message is in Trash but have not been able to pin-point which message it is. Just in case, here is the debugging info. I will see if I can compile all dependencies in debug mode as well.
Program received signal SIGABRT, Aborted. 0x000000080149f64a in thr_kill () from /lib/libc.so.7 (gdb) f 5 #5 0x0000000801143cd3 in i_panic (format=0x801191c30 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275
I guessed the frame wrong. It's usually 5, but I guess in FreeBSD it's 6 then. So try the same commands, but "f 6" first before "f 5" (and if that doesn't work either, try f 7).