[Dovecot] segfault in RC15

Cor Bosman cor at xs4all.nl
Mon Jan 15 13:10:27 UTC 2007


Hi Timo, I added your patches, didnt help. Then I changed the locking
method from fcntl to flock, also didnt help. Im still seeing the problem.
I added the abort(), so now I also have coredumps..

(gdb) bt
#0  0x4820afc4 in kill () from /usr/lib/libc.so.4
#1  0x4824c93e in abort () from /usr/lib/libc.so.4
#2  0x8090a4a in _view_lookup_full (view=0x80e1400, seq=45, map_r=0xbfbff31c,
    rec_r=0xbfbff35c) at mail-index-view.c:225
#3  0x808d97a in _tview_lookup_full (view=0x80e1400, seq=45, map_r=0xbfbff31c,
    rec_r=0xbfbff35c) at mail-index-transaction-view.c:76
#4  0x80910f4 in mail_index_lookup_full (view=0x80e1400, seq=45,
    map_r=0xbfbff31c, rec_r=0xbfbff35c) at mail-index-view.c:514
#5  0x80910d8 in mail_index_lookup (view=0x80e1400, seq=45, rec_r=0xbfbff35c)
    at mail-index-view.c:507
#6  0x807fb4d in index_mail_set_seq (_mail=0x80e9840, seq=45)
    at index-mail.c:780
#7  0x8098355 in mail_set_seq (mail=0x80e9840, seq=45) at mail.c:26
#8  0x808286e in index_storage_search_next (_ctx=0x80d7680, mail=0x80e9840)
    at index-search.c:975
#9  0x8099219 in mailbox_search_next (ctx=0x80d7680, mail=0x80e9840)
    at mail-storage.c:490
#10 0x805b6bc in imap_fetch (ctx=0x80de088) at imap-fetch.c:270
#11 0x8056f63 in cmd_fetch (cmd=0x80db044) at cmd-fetch.c:163
#12 0x80596b6 in cmd_uid (cmd=0x80db044) at cmd-uid.c:19
#13 0x8059f9a in client_handle_input (cmd=0x80db044) at client.c:332
#14 0x805a0c9 in client_handle_input (cmd=0x80db044) at client.c:389
#15 0x805a16e in _client_input (context=0x80db000) at client.c:429
---Type <return> to continue, or q <return> to quit---
#16 0x80aa20c in io_loop_handler_run (ioloop=0x80d7000) at ioloop-poll.c:199
#17 0x80a9c1d in io_loop_run (ioloop=0x80d7000) at ioloop.c:281
#18 0x8061249 in main (argc=1, argv=0xbfbff5f0, envp=0xbfbff5f8) at main.c:280

I can send you the binary and the core file if you're interested..

Cor


More information about the dovecot mailing list