Re: [bug] possible condition depending on uninitialized value in _notmuch_message_sync

2022-05-24 Thread Eliza Velasquez
On Fri, May 20 2022 at 09:46 -03, David Bremner wrote: > Eliza Velasquez writes: > >> On Mon, May 16 2022 at 06:47 -03, David Bremner wrote: >> >>> Ideally of course I'd like a reproducer in C. It would help to have >>> line numbers in the valgrind ou

Re: [BUG] notmuch_message_tags_to_maildir_flags does not always invalidate filenames_list

2022-05-24 Thread Eliza Velasquez
On Tue, May 24 2022 at 09:45 -03, David Bremner wrote: > Eliza Velasquez writes: > >> Hello notmuch, >> >> As the subject says, it seems like the filename cache for a message is >> not reliably invalidated when notmuch_message_tags_to_maildir_flags is >>

[BUG] notmuch_message_tags_to_maildir_flags does not always invalidate filenames_list

2022-05-20 Thread Eliza Velasquez
Hello notmuch, As the subject says, it seems like the filename cache for a message is not reliably invalidated when notmuch_message_tags_to_maildir_flags is called, causing the following series of function calls to behave unexpectedly. - notmuch_database_index_file -

Re: [bug] possible condition depending on uninitialized value in _notmuch_message_sync

2022-05-16 Thread Eliza Velasquez
On Mon, May 16 2022 at 06:47 -03, David Bremner wrote: > Ideally of course I'd like a reproducer in C. It would help to have > line numbers in the valgrind output. It might be enough you install the > notmuch debug symbols? Took me a while to figure out the debugging workflow in NixOS, but I

[bug] possible condition depending on uninitialized value in _notmuch_message_sync

2022-05-16 Thread Eliza Velasquez
Hello notmuch, I noticed something peculiar while hacking on the notmuch Rust bindings. One of the unit tests, when run through valgrind, consistently produced this trace: --8<---cut here---start->8--- ==232461== Thread 2 test_tags::mutab: ==232461==

Introducing mujmap, a notmuch/JMAP bridge

2022-05-09 Thread Eliza Velasquez
Hello notmuch, I hope this is an appropriate place to announce this! Apologies if not. I have just released a tool to synchronize notmuch mail with a JMAP server, i.e. synchronizing tags with keywords and mailboxes. It's very similar to lieer, which is a tool that does essentially the same but