Bug 2135815

Summary: Please backport upstream patches for segmentation fault
Product: [Fedora] Fedora Reporter: Jan Remes <jan.remes>
Component: libappindicatorAssignee: Timotheus Pokorra <mailinglists>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 36CC: davide, echevemaster, epel-packagers-sig, jose, mailinglists, michel, ngompa13, oliver, philip.wyett
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libappindicator-12.10.1-0.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 01:15:46 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:

Description Jan Remes 2022-10-18 14:00:59 UTC
Description of problem:

On my Fedora 36, mattermost-desktop is regularly crashing with the following in journal:
mattermost-desk[38352]: segfault at 164002a32000 ip 00007f29cca33c95 sp 00007ffe25a7c410 error 4 in libappindicator3.so.1.0.0[7f29cca2f000+6000]

According to https://github.com/mattermost/desktop/issues/1235, this issue is tied to libappindiactor upstream bug https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1867996. The patches that fix the upstream bug seem not to be applied to Fedora's libappindicator.


Version-Release number of selected component (if applicable):
libappindicator-12.10.0-32.fc36.x86_64


How reproducible:
Extended usage of Mattermost Dektop (possibly other Electron applications as well) causes the application to crash.


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jose Angel Torres 2022-10-30 06:22:59 UTC
This issue has causes Docker Desktop to seg fault in Fedora 37. A work around has been known for quite some time, libappindicator needs to be patched and bumped to v12.10.1. 
Docker Desktop is completely unusable on Fedora.


See also this link for additional information:
https://mattermost.atlassian.net/browse/MM-23228?focusedCommentId=104391

Regular crashes with Docker Desktop give the following error:
[  439.483568] Docker Desktop[4668]: segfault at 1e2401e56000 ip 00007f7fbbff1c85 sp 00007ffd086cac60 error 4 in libappindicator3.so.1.0.0[7f7fbbfed000+6000]

Comment 2 Timotheus Pokorra 2022-11-07 22:53:01 UTC
It seems that there has not been a v12.10.1 release at https://launchpad.net/libappindicator

At https://launchpad.net/ubuntu/+source/libappindicator/12.10.1+20.10.20200706.1-0ubuntu1 there is a link to 
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libappindicator/12.10.1+20.10.20200706.1-0ubuntu1/libappindicator_12.10.1+20.10.20200706.1.orig.tar.gz

I was able to build use that tarball to build a package for Fedora.
I have built 12.10.1 for rawhide now.

I will also build it for Fedora 37.

Comment 3 Fedora Update System 2022-11-07 23:15:57 UTC
FEDORA-2022-15d6ad46a0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-15d6ad46a0

Comment 4 Fedora Update System 2022-11-08 10:12:09 UTC
FEDORA-2022-15d6ad46a0 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-15d6ad46a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-15d6ad46a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Jose Angel Torres 2022-11-13 12:13:32 UTC
Thank you Timotheus for doing this. This new libappindicator fixes the segfaults with Docker Desktop on Fedora 37.

Comment 6 Jan Remes 2022-11-14 12:55:41 UTC
(In reply to Jose Angel Torres from comment #5)
> Thank you Timotheus for doing this. This new libappindicator fixes the
> segfaults with Docker Desktop on Fedora 37.

+1 thank you. After installing this version on F36, I haven't observed a single crash of Mattermost.

Comment 7 Fedora Update System 2022-11-15 01:15:46 UTC
FEDORA-2022-15d6ad46a0 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.