Bug 2140239

Summary: Crash when quickly switching messages
Product: [Fedora] Fedora Reporter: Ignacio Hernandez <ignacio.hernandez>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 37CC: caillon+fedoraproject, lucilanga, mcrha, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 06:40:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace
none
backtrace none

Description Ignacio Hernandez 2022-11-04 22:26:14 UTC
Description of problem:

I am getting a crash with a null pointer dereference. The failure happens when jumping between messages quickly using arrow keys. The backend is ews.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Milan Crha 2022-11-07 07:41:29 UTC
Thanks for a bug report. Saying "it crashes" is not much useful, as you can imagine. Do you have an ABRT report for the crash, please? Or a backtrace is sufficient, to see where it crashed and possibly why. You can get the backgrace from `coredumpctl`, if it was caught, or you can simply run evolution from a terminal under gdb and get the backtrace directly. You should have installed debuginfo packages for the libraries, to have the backtrace usable. You can do it like this:

   $ sudo dnf install evolution-data-server-debuginfo evolution-debuginfo libsoup3-debuginfo glib2-debuginfo gtk3-debuginfo --enablerepo=fedora-debginfo --enablerepo=updates-debuginfo --enablerepo=updaes-testing-debuginfo

Make sure it'll install the same version as the installed package version:

   $ rpm -q evolution evolution-data-server libsoup3 glib2 gtk3

With that installed, you can run evolution under gdb:

   $ gdb evolution --batch  --ex r --ex bt --ex "t a a bt" --ex q &>bt.txt

It will run evolution and then print backtrace when it's stopped. 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).

Comment 2 Ignacio Hernandez 2022-11-08 03:45:26 UTC
Created attachment 1922969 [details]
backtrace

Comment 3 Ignacio Hernandez 2022-11-08 03:45:51 UTC
Created attachment 1922971 [details]
backtrace

Comment 4 Ignacio Hernandez 2022-11-08 03:47:11 UTC
Thanks for looking into this, here are a couple of backtraces, let me know if there is anything else I can do to help,

Comment 5 Milan Crha 2022-11-08 06:40:03 UTC
Thanks for the update. I see you did not install debug info packages I asked you to do, thus the backtraces are not as detailed as they could be, but luckily there is something at least partly useful. It leads to bug #2135163, thus I mark this as a duplicate of it.

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