-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.2.1-deb] Crasher: New source temporarily appears under name of deleted source #859
Comments
so i had a hard time repro'ing but after a few tries i did see a similar issue: STR
If you don't see that the first time, repeat by deleting the source below it. |
More info: I just saw that the sources ended up being removed from the source list after a long time waiting. There was no indicator of the sync retrying to connect to the server and I did not see the sync in an active state for minutes. |
after leaving the client running for a while, i created a couple new sources, returned and saw the client crash with this in the logs (it was sudden and I can't remember if I clicked on logout or a source or did nothing):
|
I'm starting to suspect that the issue is GUI-only because it looks like update_conversation is trying to add the new source messages to
This is the line of code where it fails: self.conversation_layout.insertWidget(index, conversation_item, alignment=Qt.AlignLeft) Adding logs around securedrop-client/securedrop_client/gui/widgets.py Lines 696 to 718 in 79b0cf7
SourceConversationWrapper or use an existing one from our dict here -- it appears that we're using an existing SourceConversationWrapper for a new source that has reference to a deleted layout)
|
I'm unable to reproduce the original issue today (again on 0.2.1-deb), but I'm also not seeing "Failed to delete" errors today; the issue may only arise in combination with that error. |
Encountered during QA. May be related to #858.
STR:
Expected behavior
The new source "surreal yo-yo" appears.
Actual behavior
The source "benign artichoke" re-appears with "Reply not downloaded yet" placeholder. After a while, it transitions to "surreal yo-yo" with the correct placeholder. Clicking "surreal yo-yo" crashes the client with the following stack trace. Restarting the client, we can select the source without crashing.
Full logs. Note that I again encountered the "failed to delete at server" timeout before the deletion succeeded.
The text was updated successfully, but these errors were encountered: