Bug 2265550 - evolution hangs when one tries to write a mail or to reply to a message
Summary: evolution hangs when one tries to write a mail or to reply to a message
Keywords:
Status: CLOSED DUPLICATE of bug 2249218
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-22 16:19 UTC by Harald Labes
Modified: 2024-02-27 09:19 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-27 09:19:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
debuginfo from evolutiion hang/crash (13.48 KB, text/plain)
2024-02-26 14:57 UTC, Harald Labes
no flags Details
Backtrace after pressing "New" (25.40 KB, text/plain)
2024-02-27 09:06 UTC, Harald Labes
no flags Details

Description Harald Labes 2024-02-22 16:19:21 UTC
When I try to write an email, no matter how I start the process (Clicking the "New"-button, choosing "New" from the "File"-Menu or just click "Reply"), nothing happens for a moment, then a window opens saying "Evolution is not responding" and I can choose between "Force quit" and "Wait". Choosing "Wait", after a few seconds the window just reappears and I have to quit the program.

Reproducible: Always

Steps to Reproduce:
1.Just try to write an email using one of methods to open the composer.
2.
3.
Actual Results:  
Window opens saying "Evolution is not responding" Force quit/Wait

Expected Results:  
Composer window opens so one can start writing the message to be sent.

Complete name of the installed package: evolution-3.50.4-1.fc39.x86_64

Comment 1 Milan Crha 2024-02-26 12:25:49 UTC
Thanks for a bug report. Could you install debuginfo packages:

   sudo dnf install glib2-debuginfo gtk3-debuginfo evolution-data-server-debuginfo evolution-debugingo --enablerepo=updates-debuginfo

and then, when you reproduce the hang (not a crash, right? the app freezes), then get a backtrace of the Evolution in that state, please?

You can get the backtrace with a command like this:

   gdb --batch --ex "t a a bt" --pid=`pidof evolution` &>bt.txt

Please check the bt.txt for any private information, like passwords, email addresses, server addresses,... I usually search for "pass" at least (quotes for clarity only), before sharing it anywhere.

Comment 2 Milan Crha 2024-02-26 12:26:26 UTC
Err, I forgot to ask, what is your WebKitGTK version, please? It's:

   rpm -q webkit2gtk4.1

Comment 3 Harald Labes 2024-02-26 14:57:30 UTC
Created attachment 2018950 [details]
debuginfo from evolutiion hang/crash

Comment 4 Harald Labes 2024-02-26 15:01:19 UTC
The version of webkit2gtk is webkit2gtk4.1-2.42.5-1.fc39.x86_64.

By the way, I observed that evolution now hangs already when I switch back from the terminal window (to start gdb) to the evolution window. Evolution freezes immediately and the notification window pops up requesting to "Force Quit" or "Wait".

Comment 5 Milan Crha 2024-02-26 17:58:02 UTC
Thanks for the update. The backtrace shows the main thread, the "Thread 1", is idle, which should mean the application is not stuck/frozen. The shell can notice the app unresponsive while the gdb command is running, because gdb stops the app execution until it (gdb) continues the execution or detaches from the process.

Simple Alt+Tab between the Evolution window and a terminal window (or other app window) should not cause these freezes for sure.

I tried to reproduce it here in a Fedora 39 with the same versions as you use, but no luck, I get no freezes at all.

Comment 6 Harald Labes 2024-02-26 21:20:16 UTC
Ah, my mistake, sorry. I wasn't explicit enough. The freeze happens when I switch to the terminal, start gdb on evolution, and then switch back to evolution again. Switching between evolution and the terminal without invoking gdb... no problem. Sorry, should have mentioned this.

Comment 7 Milan Crha 2024-02-27 07:31:08 UTC
I see. The app can be frozen as long as the gdb is running, which can take some time. The gdb can also waiting for an input (though the --batch mode may avoid it).

Could you reproduce the original freeze, when creating a new mail, and while Evolution will be frozen run the gdb command from a terminal, please?

Comment 8 Harald Labes 2024-02-27 09:06:40 UTC
Created attachment 2019095 [details]
Backtrace after pressing "New"

So, I started evolution and clicked the "New"-button. Immediately afterwards I started gdb. For the output, see the attachment.

Comment 9 Milan Crha 2024-02-27 09:19:18 UTC
Ah, I see, it's waiting for response from gpg. That's bug #2249218, which references upstream https://dev.gnupg.org/T6838 , where you can find a way to correct it.

*** This bug has been marked as a duplicate of bug 2249218 ***


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