keyhotee git commit 4ee8f688006e7e0f0e33edd01cf0acc92090ade4
BitShares git commit 11fb258a0a2a415fdbca18befca103001080e3b8
fc git commit ff2173c8d60629a278e48614baaa292463c572cf
I may have figured out how to reproduce the issue of
duplicate messages in the inbox (issue #238), but I will need to re-create my profiles since
they no longer open after login (issue #237).
I received two separate messages that were sent in the same minute from one of my contacts. I closed and re-opened the profile, and those two messages multiplied to 7 messages (1 of them unread). Repeating this process, the messages multiplied further to 19 to 60 to 113 to 226 to 430; each time, one of the messages was unread. Finally I deleted all the duplicate messages, intending to keep the two original messages. I closed and re-opened my profile and noticed many instances of these messages on the console:
3014340ms th_a MailboxModel.cpp:82 fillMailHeader ] invalid_key
unable to find key 4b5e0130f16e98346eebdd913611feaf896821b07292196d2f7b9b34bcd7deef
{"key":"4b5e0130f16e98346eebdd913611feaf896821b07292196d2f7b9b34bcd7deef"}
th_a level_pod_map.hpp:60 fetch
error fetching key 4b5e0130f16e98346eebdd913611feaf896821b07292196d2f7b9b34bcd7deef
{"key":"4b5e0130f16e98346eebdd913611feaf896821b07292196d2f7b9b34bcd7deef"}
th_a level_pod_map.hpp:70 fetch
{"digest":"4b5e0130f16e98346eebdd913611feaf896821b07292196d2f7b9b34bcd7deef"}
th_a bitchat_message_db.cpp:148 fetch_data
3014340ms th_a MailboxModel.cpp:82 fillMailHeader ] invalid_key
unable to find key d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572
{"key":"d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572"}
th_a level_pod_map.hpp:60 fetch
error fetching key d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572
{"key":"d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572"}
th_a level_pod_map.hpp:70 fetch
{"digest":"d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572"}
th_a bitchat_message_db.cpp:148 fetch_data
The original two messages had disappeared from this profile. I closed and tried to re-open this profile, but Keyhotee hung indefinitely until I killed the process.
Earlier when my two profiles were functioning properly, I sent 3 messages within a 1-2 minute period from my Founder ID in one profile to a spare identity in the other profile. When I opened the spare identity profile, I received all 3 messages. I closed and re-opened the profile, and there were 6 messages (3 of them unread). I'm guessing that sending multiple messages from one ID to another in a relatively short period of time (less than 15 minutes, if I recall correctly based on the first time this happened earlier this month) somehow contributes to the duplication of inbox messages for the recipient.
Edit: I forgot to mention that Keyhotee crashed when I attempted to delete the hundreds of duplicate messages. Here is the console output:
2979684ms th_a MailboxModel.cpp:321 getFullMessage ] invalid_key
unable to find key d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572
{"key":"d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572"}
th_a level_pod_map.hpp:60 fetch
error fetching key d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572
{"key":"d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572"}
th_a level_pod_map.hpp:70 fetch
{"digest":"d0c410e019dd4f203600dfc927a33afb3a52dba3f21e81b1e60641747d708572"}
th_a bitchat_message_db.cpp:148 fetch_data
KeyhoteeD: /home/eblack/tempfiles/keyhotee/src/keyhotee/ContactListEdit.cpp:285: void ContactListEdit::SetCollectedContacts(const TRecipientPublicKeys&): Assertion `recipient.valid()' failed.
Aborted (core dumped)