[Dovecot] Debugging test72
Doug Luce
doug at dovecot.con.com
Wed Jun 8 06:52:52 EEST 2005
When attempting to save a message from the INBOX to a folder in a
collection (like, .projects.dovecot), I get behavior like this (in
GDB). Any clue what might be going wrong?
Here's where a SIGABRT happens:
280 return array->buffer->used / array->element_size;
This is the stack trace:
(gdb) where
#0 mail_index_map_get_ext_idx (map=0x1200c0db0, ext_id=0, idx_r=0x11ffe828)
at ../../src/lib/array.h:280
#1 0x120058dcc in _view_lookup_ext_full (view=0x1200c0db0, seq=0, ext_id=0,
map_r=0x11ffe898, data_r=0x11ffe8a0) at mail-index-view.c:395
#2 0x120059468 in mail_index_lookup_ext_full (view=0x1301100d4, seq=0,
ext_id=301983784, map_r=0x1300e2078, data_r=0x1200c4f14)
at mail-index-view.c:561
#3 0x12005912c in mail_index_lookup_keywords (view=0x1200c4e00, seq=0,
keyword_idx=0x11ffe8f8) at mail-index-view.c:475
#4 0x12003e880 in index_mail_get_keywords (_mail=0x1200c0db0)
at index-mail.c:184
#5 0x120063238 in mail_get_keywords (mail=0x1301100d4) at mail.c:39
#6 0x120063550 in mail_storage_copy (t=0x1200c2880, mail=0x1200e7020,
dest_mail=0x0) at mail-copy.c:22
#7 0x12002a90c in maildir_copy (_t=0x1200c2880, mail=0x1200e7020,
dest_mail=0x0) at maildir-copy.c:155
#8 0x120064dac in mailbox_copy (t=0x1301100d4, mail=0x0, dest_mail=0x11ffe828)
at mail-storage.c:456
#9 0x120011b78 in fetch_and_copy (t=0x1200c2880, srcbox=0x0,
search_args=0x1200e7020) at cmd-copy.c:28
#10 0x120011d98 in cmd_copy (cmd=0x1200c0268) at cmd-copy.c:88
#11 0x120017598 in client_handle_input (cmd=0x1200c0268) at client.c:334
#12 0x120017748 in _client_input (context=0x1200c0db0) at client.c:383
#13 0x12007e670 in io_loop_handler_run (ioloop=0x1200c2000)
at ioloop-poll.c:184
#14 0x12007dd5c in io_loop_run (ioloop=0x1200c2000) at ioloop.c:218
#15 0x120022b10 in main (argc=537660848, argv=0x11ffeb10, envp=0x11ffeb20)
at main.c:228
And, stepping from this position results in the bomb:
(gdb) s
Program received signal SIGABRT, Aborted.
0x130247908 in kill () from /lib/libc.so.5
I'm not too familiar with the source code, so figuring out exactly
what this is up to would be a major chore. I'm hoping someone can
give me a little clue as to what direction I should take to fix this
problem.
Thanks!
Doug
More information about the dovecot
mailing list