[Dovecot] suspect valgrind error in mail-index-map.c

Diego Liziero diegoliz at gmail.com
Sun Mar 9 03:07:15 EET 2008


On Sun, Mar 9, 2008 at 1:12 AM, Timo Sirainen <tss at iki.fi> wrote:
>
>  It's copying over itself, so it shouldn't break anything. But I fixed
>  the error anyway: http://hg.dovecot.org/dovecot-1.1/rev/8e014fd46e84

Thanks Timo. With this patch valgrind gives 0 errors most of the time.

Forgive me if I'm asking this last valgrind trace.
Can we simply ignore it?

Diego.

==3921== 180 (124 direct, 56 indirect) bytes in 1 blocks are
definitely lost in loss record 3 of 5
==3921==    at 0x40046FF: calloc (vg_replace_malloc.c:279)
==3921==    by 0x80D76DC: pool_system_malloc (mempool-system.c:74)
==3921==    by 0x80B59CB: mail_transaction_log_file_alloc
(mail-transaction-log-file.c:51)
==3921==    by 0x80B3A86: mail_transaction_log_find_file
(mail-transaction-log.c:385)
==3921==    by 0x80B776F: mail_transaction_log_view_set
(mail-transaction-log-view.c:160)
==3921==    by 0x80B00B2: mail_index_sync_map (mail-index-sync-update.c:747)
==3921==    by 0x80A9368: mail_index_map (mail-index-map.c:897)
==3921==    by 0x80A63BB: mail_index_try_open (mail-index.c:290)
==3921==    by 0x80A673C: mail_index_open (mail-index.c:352)
==3921==    by 0x809AB78: index_storage_mailbox_open (index-storage.c:383)
==3921==    by 0x807809B: mbox_alloc_mailbox (mbox-storage.c:573)
==3921==    by 0x8078E2F: mbox_open (mbox-storage.c:591)
==3921==    by 0x807900E: mbox_mailbox_open (mbox-storage.c:668)
==3921==    by 0x809EB98: mailbox_open (mail-storage.c:459)
==3921==    by 0x805E0E8: cmd_select_full (cmd-select.c:32)
==3921==    by 0x805B5A8: cmd_examine (cmd-examine.c:8)
==3921==    by 0x805F9A8: client_command_input (client.c:546)
==3921==    by 0x805FA3D: client_command_input (client.c:595)
==3921==    by 0x80601C4: client_handle_input (client.c:636)
==3921==    by 0x80603DD: client_input (client.c:691)
==3921==    by 0x80D5B9F: io_loop_handler_run (ioloop-epoll.c:201)
==3921==    by 0x80D4E27: io_loop_run (ioloop.c:301)
==3921==    by 0x8067DBB: main (main.c:293)


More information about the dovecot mailing list