Bug 1770923

Summary: [abrt] ESimpleAsyncResult: Avoid thread scheduling race when finishing on idle
Product: [Fedora] Fedora Reporter: ehespinosa
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: caillon+fedoraproject, lucilanga, mcrha, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/756a76a1192d81e0a20bb4781d81287c72723ae3
Whiteboard: abrt_hash:a7374b87f0b0a8f702eb59fe7b3d603694190ca0;VARIANT_ID=workstation;
Fixed In Version: evolution-3.34.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-11 17:30:18 UTC Type: ---
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
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description ehespinosa 2019-11-11 13:56:04 UTC
Description of problem:
I was reading e-mail with Evolution

Version-Release number of selected component:
evolution-3.32.4-1.fc30

Additional info:
reporter:       libreport-2.10.1
backtrace_rating: 4
cmdline:        evolution
crash_function: WebKit::CallbackMap::invalidate
executable:     /usr/bin/evolution
journald_cursor: s=dee50f4de4ed41bb9fb8941ef950caf4;i=9a5;b=a8bbda8605a64654bc3433a4a2376d7e;m=6baae391;t=5971204dd978e;x=533b11093e84bb3b
kernel:         5.3.8-200.fc30.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1003

Comment 1 ehespinosa 2019-11-11 13:56:09 UTC
Created attachment 1634875 [details]
File: backtrace

Comment 2 ehespinosa 2019-11-11 13:56:10 UTC
Created attachment 1634876 [details]
File: cgroup

Comment 3 ehespinosa 2019-11-11 13:56:13 UTC
Created attachment 1634877 [details]
File: core_backtrace

Comment 4 ehespinosa 2019-11-11 13:56:14 UTC
Created attachment 1634878 [details]
File: cpuinfo

Comment 5 ehespinosa 2019-11-11 13:56:16 UTC
Created attachment 1634879 [details]
File: dso_list

Comment 6 ehespinosa 2019-11-11 13:56:18 UTC
Created attachment 1634880 [details]
File: environ

Comment 7 ehespinosa 2019-11-11 13:56:19 UTC
Created attachment 1634881 [details]
File: limits

Comment 8 ehespinosa 2019-11-11 13:56:24 UTC
Created attachment 1634882 [details]
File: maps

Comment 9 ehespinosa 2019-11-11 13:56:25 UTC
Created attachment 1634883 [details]
File: mountinfo

Comment 10 ehespinosa 2019-11-11 13:56:27 UTC
Created attachment 1634884 [details]
File: open_fds

Comment 11 ehespinosa 2019-11-11 13:56:28 UTC
Created attachment 1634885 [details]
File: proc_pid_status

Comment 12 Milan Crha 2019-11-11 17:30:18 UTC
Thanks for a bug report. The backtrace shows that there had played its role thread scheduling, finishing just added idle callback before the dedicated thread, which added that callback. I fixed this upstream for Fedora 31 and rawhide with:

Created commit [1] in evo master (3.35.2+)
Created commit [2] in evo gnome-3-34 (3.34.2+)

[1] https://gitlab.gnome.org/GNOME/evolution/commit/b4fa5a751af94faba57461fd767d5d3517b22d4c
[2] https://gitlab.gnome.org/GNOME/evolution/commit/01cc3a399261df924842c31d6c417b56adcd6ef5

Comment 13 Milan Crha 2020-01-22 17:48:57 UTC
*** Bug 1794026 has been marked as a duplicate of this bug. ***