Re: [Dovecot] Possible signed/unsigned bug in libdovecot-storage (2:2.0.14 )

2011-09-05 Thread Timo Sirainen
On 5.9.2011, at 13.11, Kui Zhang wrote: >> First you'll need to find "map_uid" of the message: >>> >> map_uid=`doveadm dump ~/mdbox/mailboxes/INBOX/dbox-Mails/|grep -A 10 >> uid=726974|grep -w map_uid|awk '{print $4}'` >> >> Next you can check that the reference count for the message really is

Re: [Dovecot] Possible signed/unsigned bug in libdovecot-storage (2:2.0.14 )

2011-09-05 Thread Kui Zhang
On Sun, Sep 4, 2011 at 8:45 AM, Timo Sirainen wrote: > On Sat, 2011-09-03 at 02:29 -0700, Kui Zhang wrote: >> > >> "Message has been copied too many times (32767+1)" >> it is mdbox, file size 10M >> >> I dont know if the message was ever copy that many times. I dont know >> any way to tell. > > I'

Re: [Dovecot] Possible signed/unsigned bug in libdovecot-storage (2:2.0.14 )

2011-09-04 Thread Timo Sirainen
On Sat, 2011-09-03 at 02:29 -0700, Kui Zhang wrote: > > >> "Message has been copied too many times (32767+1)" > it is mdbox, file size 10M > > I dont know if the message was ever copy that many times. I dont know > any way to tell. I'm pretty sure the message has been copied that many times. Poss

Re: [Dovecot] Possible signed/unsigned bug in libdovecot-storage (2:2.0.14 )

2011-09-03 Thread Kui Zhang
it is mdbox, file size 10M I dont know if the message was ever copy that many times. I dont know any way to tell. I was able to trigger the error message with following. a uid copy 726974 inbox_2 epoll_wait(5, {{EPOLLIN, {u32=39151008, u64=39151008}}}, 3, 18653) = 1 read(0, "a uid copy 726974

Re: [Dovecot] Possible signed/unsigned bug in libdovecot-storage (2:2.0.14 )

2011-09-02 Thread Timo Sirainen
On 3.9.2011, at 6.06, Kui Zhang wrote: > We are getting following errors when moving mail from inbox to any folder. > > "Message has been copied too many times (32767+1)" mdbox? Is it actually copied that many times?

[Dovecot] Possible signed/unsigned bug in libdovecot-storage (2:2.0.14 )

2011-09-02 Thread Kui Zhang
Hello We are getting following errors when moving mail from inbox to any folder. "Message has been copied too many times (32767+1)" lazy_expunge is enabled. Error messages seems to be from libdovecot-storage. Any one can confirm the bug? or knows of a work around? Thanks K.Z