Bug 1990730

Summary: [abrt] ESoupAuthNegotiate: Improve thread safety
Product: [Fedora] Fedora Reporter: adrian-007
Component: evolution-ewsAssignee: Milan Crha <mcrha>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: caillon+fedoraproject, mcrha, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a5a4179534170e45506042648d4fd9a0b414d779
Whiteboard: abrt_hash:9b1089f1c968a39a7748bf21191f771040629347;VARIANT_ID=kde;
Fixed In Version: evolution-ews-3.40.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-06 06:59:55 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: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description adrian-007 2021-08-06 05:17:31 UTC
Description of problem:
Started system, authenticated to Kerberos and started Evolution - which also uses Kerberos authentication to corporate e-mail account.

Version-Release number of selected component:
evolution-data-server-3.40.3-1.fc34

Additional info:
reporter:       libreport-2.15.2
backtrace_rating: 4
cmdline:        /usr/libexec/evolution-calendar-factory
crash_function: g_type_check_instance_cast
executable:     /usr/libexec/evolution-calendar-factory
journald_cursor: s=4c619185ca304e839bf3dfedbd351f42;i=16ace8;b=f55d7f89dc52417e92fb5a4f32a52b30;m=1a9d1f1e;t=5c8dcca8e9c26;x=1a666948cfce6612
kernel:         5.13.6-200.fc34.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (9 frames)
 #0 g_type_check_instance_cast at ../gobject/gtype.c:4114
 #1 e_soup_auth_negotiate_message_finished at /usr/src/debug/evolution-ews-3.40.3-1.fc34.x86_64/src/EWS/common/e-soup-auth-negotiate.c:118
 #2 _g_closure_invoke_va at ../gobject/gclosure.c:873
 #5 soup_session_process_queue_item at ../libsoup/soup-session.c:2036
 #7 async_run_queue at ../libsoup/soup-session.c:2085
 #8 idle_run_queue at ../libsoup/soup-session.c:2112
 #12 g_main_context_iterate.constprop.0 at ../glib/gmain.c:4131
 #14 e_ews_soup_thread at /usr/src/debug/evolution-ews-3.40.3-1.fc34.x86_64/src/EWS/common/e-ews-connection.c:1799
 #15 g_thread_proxy at ../glib/gthread.c:826

Comment 1 adrian-007 2021-08-06 05:17:35 UTC
Created attachment 1811346 [details]
File: backtrace

Comment 2 adrian-007 2021-08-06 05:17:37 UTC
Created attachment 1811347 [details]
File: cgroup

Comment 3 adrian-007 2021-08-06 05:17:39 UTC
Created attachment 1811348 [details]
File: core_backtrace

Comment 4 adrian-007 2021-08-06 05:17:40 UTC
Created attachment 1811349 [details]
File: cpuinfo

Comment 5 adrian-007 2021-08-06 05:17:41 UTC
Created attachment 1811350 [details]
File: dso_list

Comment 6 adrian-007 2021-08-06 05:17:42 UTC
Created attachment 1811351 [details]
File: environ

Comment 7 adrian-007 2021-08-06 05:17:44 UTC
Created attachment 1811352 [details]
File: exploitable

Comment 8 adrian-007 2021-08-06 05:17:45 UTC
Created attachment 1811353 [details]
File: limits

Comment 9 adrian-007 2021-08-06 05:17:46 UTC
Created attachment 1811354 [details]
File: maps

Comment 10 adrian-007 2021-08-06 05:17:48 UTC
Created attachment 1811355 [details]
File: mountinfo

Comment 11 adrian-007 2021-08-06 05:17:49 UTC
Created attachment 1811356 [details]
File: open_fds

Comment 12 adrian-007 2021-08-06 05:17:51 UTC
Created attachment 1811357 [details]
File: proc_pid_status

Comment 13 Milan Crha 2021-08-06 06:23:53 UTC
Thanks for a bug report. I think this is the first time I see such crash. Looking into the code I see some weak points there, which I'm going to fix.

Comment 14 Milan Crha 2021-08-06 06:59:55 UTC
I cannot reproduce this, but I tried to address this with [1] for 3.41.2+ and 3.40.4+.

[1] https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/291f86e61783337fb26dbe2f4ebb10c3c18cad18