Bug 2190282 - [abrt] bubblemail: dismiss(): mail.py:277:dismiss:KeyError: '3d28cd23d0f477cf043036fe1521f85c'
Summary: [abrt] bubblemail: dismiss(): mail.py:277:dismiss:KeyError: '3d28cd23d0f477cf...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bubblemail
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alexander Ploumistos
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:086f4316d60448214e2a10d4b9b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-27 18:20 UTC by klaussemmler
Modified: 2023-05-08 11:56 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-08 11:49:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details
File: namespaces (171 bytes, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details
File: cpuinfo (2.96 KB, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details
File: mountinfo (3.96 KB, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details
File: backtrace (828 bytes, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details
File: open_fds (2.31 KB, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details
File: environ (2.07 KB, text/plain)
2023-04-27 18:20 UTC, klaussemmler
no flags Details

Description klaussemmler 2023-04-27 18:20:30 UTC
Version-Release number of selected component:
bubblemail-1.8-5.fc38

Additional info:
reporter:       libreport-2.17.9
kernel:         6.2.12-300.fc38.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/bubblemaild
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-bubblemaild-3621.scope
uid:            1000
reason:         mail.py:277:dismiss:KeyError: '3d28cd23d0f477cf043036fe1521f85c'
executable:     /usr/bin/bubblemaild
type:           Python3
package:        bubblemail-1.8-5.fc38
runlevel:       N 5
exception_type: KeyError
crash_function: dismiss
interpreter:    python3-3.11.3-1.fc38.x86_64

Truncated backtrace:
mail.py:277:dismiss:KeyError: '3d28cd23d0f477cf043036fe1521f85c'

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/bubblemail/plugins/libnotifyplugin.py", line 109, in action_handler
    self.actions['dismiss'](mail[M.UUID])
  File "/usr/lib/python3.11/site-packages/bubblemail/mail.py", line 277, in dismiss
    self[uuid][0] = True
    ~~~~^^^^^^
KeyError: '3d28cd23d0f477cf043036fe1521f85c'

Local variables in innermost frame:
self: {'5a82598b338aee2fff43d3f312843982': [True, {'uuid': '5a82598b338aee2fff43d3f312843982', 'account': '21f43cb8', 'datetime': '1640271690', 'subject': 'some subject', 'name': 'somewebsite.de', 'address': 'some', 'recipients': 'recipient', 'avatar': '/usr/share/bubblemail/avatars/A.png'}]}
uuid: '3d28cd23d0f477cf043036fe1521f85c'
commit: True

Comment 1 klaussemmler 2023-04-27 18:20:33 UTC
Created attachment 1960493 [details]
File: os_info

Comment 2 klaussemmler 2023-04-27 18:20:34 UTC
Created attachment 1960494 [details]
File: namespaces

Comment 3 klaussemmler 2023-04-27 18:20:36 UTC
Created attachment 1960495 [details]
File: cpuinfo

Comment 4 klaussemmler 2023-04-27 18:20:37 UTC
Created attachment 1960496 [details]
File: mountinfo

Comment 5 klaussemmler 2023-04-27 18:20:38 UTC
Created attachment 1960497 [details]
File: backtrace

Comment 6 klaussemmler 2023-04-27 18:20:39 UTC
Created attachment 1960498 [details]
File: open_fds

Comment 7 klaussemmler 2023-04-27 18:20:41 UTC
Created attachment 1960499 [details]
File: environ

Comment 8 Alexander Ploumistos 2023-04-27 18:29:52 UTC
Thanks for the report, I'll forward it upstream. You may be asked to do some testing and/or maybe specify some of the message details you've sanitized (e.g. mail server, headers, etc.).

Can you describe how this happened and if it's reproducible?

Comment 9 klaussemmler 2023-04-27 18:39:54 UTC
Thanks for the fast reply.

The crash message from abrt showed up when surfing the web. My Mail provider is posteo and it was an mail from amazon. I never have seen this message before so I don’t think it is reproducible in an easy way. I have not used the gnome shell extension as it is incompatible with Gnome 44.

Comment 10 Alexander Ploumistos 2023-04-27 18:52:13 UTC
(In reply to klaus.semmler from comment #9)
> Thanks for the fast reply.

I just happened to be around :)


> The crash message from abrt showed up when surfing the web. My Mail provider
> is posteo and it was an mail from amazon.

Just a while guess, was there by any chance an ß or something similar in the title?


> I never have seen this message
> before so I don’t think it is reproducible in an easy way. I have not used
> the gnome shell extension as it is incompatible with Gnome 44.

Development takes place on Arch and from what I've understood they are lagging a bit with the update to Gnome 44, hence the absence of a compatible extension for the moment.


@zebob.m:
Robert, I'm taking this, I hope it's ok with you.

Comment 11 klaussemmler 2023-04-27 18:57:41 UTC
> Just a while guess, was there by any chance an ß or something similar in the title?

There where umlauts (like äöü) in the title but no ß.

Comment 12 Alexander Ploumistos 2023-04-27 19:11:02 UTC
It's probably not the umlauts, I've just tested, but then again I'm still on F37.
Forwarding upstream.

Comment 13 Razer 2023-04-28 09:34:43 UTC
Bubblemail developper here,

Just took few minutes to look at the code. Since the data integrity is checked just the line above the crash, can be nothing but some kind of race condition between plugins dismissing the same thing at the exact same moment.
I've wrapped the thing in a try, let's see
By the way sorry for the lack of support for gnome 44, as it says I'm waiting for it on archlinux

Comment 14 Alexander Ploumistos 2023-05-08 09:24:58 UTC
Hello Klaus,

You can get the updated extension for F38 from here:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-88eb862645

Have you experienced the reported issue again? If not and since it has been addressed upstream, I'm leaning towards closing this bug.

Comment 15 klaussemmler 2023-05-08 11:49:48 UTC
I have not experienced the issue again and the extension seems to work fine. I close this issue now and vote on bodhi.

Comment 16 Alexander Ploumistos 2023-05-08 11:56:43 UTC
(In reply to klaus.semmler from comment #15)
> I have not experienced the issue again and the extension seems to work fine.
> I close this issue now and vote on bodhi.

Thank you, don't hesitate to reach out if you encounter the crash again. It should be fixed in the next bubblemail release.


Note You need to log in before you can comment on or make changes to this bug.