Bug 2321107

Summary: [abrt] evolution-data-server: soup_client_message_io_skip(): evolution-calendar-factory killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: evolution-data-serverAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: brian, carlos.dourado, gnome-sig, gwync, mcrha, mikhail.v.gavrilov, mkjp, rstrode
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5ebf536e3ba603cc85db76d5bac71db02b6a8f5
Whiteboard: abrt_hash:4c98317142ec046cc440525c3df91d375f8519f6;VARIANT_ID=workstation;
Fixed In Version: evolution-data-server-3.55.2 evolution-data-server-3.54.3-2.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-20 00:26:20 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: proc_pid_status
none
File: maps
none
File: limits
none
File: environ
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: backtrace none

Description Mikhail 2024-10-22 18:42:57 UTC
Version-Release number of selected component:
evolution-data-server-3.54.1-1.fc42

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         evolution-calendar-factory killed by SIGSEGV
journald_cursor: s=c08fca4645be44ba87460a04aefc1948;i=2167348;b=d908627812fd4ea48c59515b04e1d222;m=7fd9ce442;t=6251396ff640f;x=3453a5f87bdb6535
executable:     /usr/libexec/evolution-calendar-factory
cmdline:        /usr/libexec/evolution-calendar-factory
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/evolution-calendar-factory.service
rootdir:        /
uid:            1000
kernel:         6.12.0-0.rc4.39.fc42.x86_64+debug
package:        evolution-data-server-3.54.1-1.fc42
runlevel:       N 5
dso_list:       /usr/libexec/evolution-calendar-factory evolution-data-server-3.54.1-1.fc42.x86_64 (Fedora Project) 1729489739
backtrace_rating: 4
crash_function: soup_client_message_io_skip

Truncated backtrace:
Thread no. 1 (17 frames)
 #0 soup_client_message_io_skip at ../libsoup/soup-client-message-io.c:107
 #1 soup_message_io_skip at ../libsoup/soup-message.c:2835
 #2 soup_client_input_stream_close_fn at ../libsoup/soup-client-input-stream.c:185
 #3 g_input_stream_close at ../gio/ginputstream.c:544
 #4 g_input_stream_dispose at ../gio/ginputstream.c:101
 #6 e_soup_session_send_message_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/libedataserver/e-soup-session.c:2023
 #7 e_soup_session_send_message_simple_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/libedataserver/e-soup-session.c:2075
 #8 e_webdav_session_propfind_internal_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/libedataserver/e-webdav-session.c:1433
 #9 e_webdav_session_propfind_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/libedataserver/e-webdav-session.c:1489
 #10 e_webdav_session_getctag_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/libedataserver/e-webdav-session.c:3310
 #11 ecb_caldav_get_changes_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/calendar/backends/caldav/e-cal-backend-caldav.c:891
 #12 e_cal_meta_backend_get_changes_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/calendar/libedata-cal/e-cal-meta-backend.c:5150
 #13 ecmb_refresh_internal_sync at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/calendar/libedata-cal/e-cal-meta-backend.c:822
 #14 e_cal_backend_custom_operation_thread at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/calendar/libedata-cal/e-cal-backend.c:4651
 #16 cal_backend_dispatch_thread at /usr/src/debug/evolution-data-server-3.54.1-1.fc42.x86_64/src/calendar/libedata-cal/e-cal-backend.c:430
 #18 g_thread_proxy at ../glib/gthread.c:892
 #20 __clone3 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Comment 1 Mikhail 2024-10-22 18:43:01 UTC
Created attachment 2053160 [details]
File: proc_pid_status

Comment 2 Mikhail 2024-10-22 18:43:03 UTC
Created attachment 2053161 [details]
File: maps

Comment 3 Mikhail 2024-10-22 18:43:06 UTC
Created attachment 2053162 [details]
File: limits

Comment 4 Mikhail 2024-10-22 18:43:08 UTC
Created attachment 2053163 [details]
File: environ

Comment 5 Mikhail 2024-10-22 18:43:09 UTC
Created attachment 2053164 [details]
File: open_fds

Comment 6 Mikhail 2024-10-22 18:43:10 UTC
Created attachment 2053165 [details]
File: mountinfo

Comment 7 Mikhail 2024-10-22 18:43:12 UTC
Created attachment 2053166 [details]
File: os_info

Comment 8 Mikhail 2024-10-22 18:43:13 UTC
Created attachment 2053167 [details]
File: cpuinfo

Comment 9 Mikhail 2024-10-22 18:43:15 UTC
Created attachment 2053168 [details]
File: core_backtrace

Comment 10 Mikhail 2024-10-22 18:43:17 UTC
Created attachment 2053169 [details]
File: exploitable

Comment 11 Mikhail 2024-10-22 18:43:19 UTC
Created attachment 2053170 [details]
File: backtrace

Comment 12 Milan Crha 2024-10-23 06:06:18 UTC
Thanks for a bug report. This is crashing in the libsoup3 code, thus I move this there for further investigation. The backtrace suggests the `io` parameter of the soup_client_message_io_skip() is NULL.

Comment 13 Milan Crha 2024-11-08 07:02:21 UTC
Possibly related upstream report:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/386

Comment 14 Milan Crha 2024-11-08 07:02:29 UTC
*** Bug 2324309 has been marked as a duplicate of this bug. ***

Comment 15 Milan Crha 2024-11-15 11:38:26 UTC
*** Bug 2325952 has been marked as a duplicate of this bug. ***

Comment 16 Brian J. Murrell 2025-01-08 19:31:29 UTC
I don't know why this happened


reporter:       libreport-2.17.15
rootdir:        /
executable:     /usr/libexec/evolution-calendar-factory
cmdline:        /usr/libexec/evolution-calendar-factory
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/evolution-calendar-factory.service
journald_cursor: s=6b102c5b0a334757b3fed410c95192f6;i=177d9a39;b=76db9cbe46cc47eabe3d5cb5059db2e6;m=3b8420994;t=62b36c7684bae;x=770d406c685cc338
package:        evolution-data-server-3.54.1-1.fc41
uid:            1001
runlevel:       N 5
dso_list:       /usr/libexec/evolution-calendar-factory evolution-data-server-3.54.1-1.fc41.x86_64 (Fedora Project) 1731280315
crash_function: soup_client_message_io_skip
comment:        I don't know why this happened
backtrace_rating: 4
type:           CCpp
kernel:         6.11.6-300.fc41.x86_64
reason:         evolution-calendar-factory killed by SIGSEGV

Comment 17 Jules Bertholet 2025-01-13 02:56:04 UTC
Crash on session startup


reporter:       libreport-2.17.15
type:           CCpp
reason:         evolution-calendar-factory killed by SIGSEGV
journald_cursor: s=72f13672a2864666be006fc70fa1d9f4;i=2066b33;b=58ea0d5a627e4deb8485f2de51e4e2ab;m=e0f1dbd5;t=62b34bb510850;x=5dca1d2992121b0a
executable:     /usr/libexec/evolution-calendar-factory
cmdline:        /usr/libexec/evolution-calendar-factory
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/evolution-calendar-factory.service
rootdir:        /
uid:            1000
kernel:         6.12.7-200.fc41.x86_64
package:        evolution-data-server-3.54.2-1.fc41
runlevel:       N 5
backtrace_rating: 4
crash_function: soup_client_message_io_skip
comment:        Crash on session startup

Comment 18 Milan Crha 2025-01-29 16:11:55 UTC
I just committed a fix upstream which fixes the problem for me (it happened, to me, when the server returned 503 response). The change can be found at [1]. It'll be part of the 3.55.2 release of the evolution-data-server, which is planned for this Friday. Please, let me know if you face this with that or any later version (it's for the to-be 3.56.x stable series, thus Fedora 42). Thanks in advance.

[1] https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/584

Comment 19 Brian J. Murrell 2025-02-06 14:35:40 UTC
Don't know why or how this happened.


reporter:       libreport-2.17.15
rootdir:        /
executable:     /usr/libexec/evolution-calendar-factory
cmdline:        /usr/libexec/evolution-calendar-factory
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/evolution-calendar-factory.service
journald_cursor: s=6b102c5b0a334757b3fed410c95192f6;i=182d1df8;b=76db9cbe46cc47eabe3d5cb5059db2e6;m=e415887a68;t=62c27440c8560;x=995f47c45725955c
package:        evolution-data-server-3.54.3-1.fc41
uid:            1001
runlevel:       N 5
dso_list:       /usr/libexec/evolution-calendar-factory evolution-data-server-3.54.3-1.fc41.x86_64 (Fedora Project) 1737118541
crash_function: soup_client_message_io_skip
comment:        Don't know why or how this happened.
backtrace_rating: 4
type:           CCpp
kernel:         6.11.6-300.fc41.x86_64
reason:         evolution-calendar-factory killed by SIGSEGV

Comment 20 Jasmin 2025-02-27 08:54:20 UTC
I booted the computer, logged in. Evolution is in the autostart, but crashed immediately without any user interaction from me.


reporter:       libreport-2.17.15
type:           CCpp
reason:         evolution-addressbook-factory killed by SIGSEGV
journald_cursor: s=150a905aabd04b059601f99674bfd493;i=145a04e;b=314aa19a6b894ca7870b6661888c84c7;m=3209615f5;t=62f0a8feeb27e;x=21b7546117665062
executable:     /usr/libexec/evolution-addressbook-factory
cmdline:        /usr/libexec/evolution-addressbook-factory
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/evolution-addressbook-factory.service
rootdir:        /
uid:            1000
kernel:         6.12.15-200.fc41.x86_64
package:        evolution-data-server-3.54.3-1.fc41
runlevel:       N 5
backtrace_rating: 4
crash_function: soup_client_message_io_skip
comment:        I booted the computer, logged in. Evolution is in the autostart, but crashed immediately without any user interaction from me.

Comment 21 Brian J. Murrell 2025-03-14 15:54:25 UTC
Don't know why this happened.


reporter:       libreport-2.17.15
rootdir:        /
executable:     /usr/libexec/evolution-calendar-factory
cmdline:        /usr/libexec/evolution-calendar-factory
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/evolution-calendar-factory.service
journald_cursor: s=6b102c5b0a334757b3fed410c95192f6;i=1897cff3;b=d7df338fd2be4331b4211307736a457b;m=338fdfcc72;t=6304e29fd6bad;x=9e4d2a9f50e717ac
package:        evolution-data-server-3.54.3-1.fc41
uid:            1001
runlevel:       N 5
dso_list:       /usr/libexec/evolution-calendar-factory evolution-data-server-3.54.3-1.fc41.x86_64 (Fedora Project) 1737118541
crash_function: soup_client_message_io_skip
comment:        Don't know why this happened.
backtrace_rating: 4
type:           CCpp
kernel:         6.13.6-300.vanilla.fc41.x86_64
reason:         evolution-calendar-factory killed by SIGSEGV

Comment 22 Brian J. Murrell 2025-03-23 18:03:54 UTC
Don't know why this happened.


reporter:       libreport-2.17.15
rootdir:        /
executable:     /usr/libexec/evolution-calendar-factory
cmdline:        /usr/libexec/evolution-calendar-factory
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/evolution-calendar-factory.service
journald_cursor: s=6b102c5b0a334757b3fed410c95192f6;i=18827204;b=bace33e0fe144fb099020f376494150f;m=61e2126f7d;t=62eff8780a38b;x=91db83576c661d70
package:        evolution-data-server-3.54.3-1.fc41
uid:            1001
runlevel:       N 5
dso_list:       /usr/libexec/evolution-calendar-factory evolution-data-server-3.54.3-1.fc41.x86_64 (Fedora Project) 1737118541
crash_function: soup_client_message_io_skip
comment:        Don't know why this happened.
backtrace_rating: 4
type:           CCpp
kernel:         6.12.15-200.fc41.x86_64
reason:         evolution-calendar-factory killed by SIGSEGV

Comment 23 Brian J. Murrell 2025-03-23 18:08:02 UTC
(In reply to Milan Crha from comment #18)
> It'll be part of the 3.55.2 release of the evolution-data-server, which
> is planned for this Friday. Please, let me know if you face this with that
> or any later version (it's for the to-be 3.56.x stable series, thus Fedora
> 42). Thanks in advance.

Can this not be backported to the Evolution release that is in the currently supported Fedora 41?  I doubt most people are going to be willing to upgrade their O/S to a pre-release just to get this persistent bug fixed.

Comment 24 Brian J. Murrell 2025-03-23 18:13:38 UTC
Don't know why this happened.


reporter:       libreport-2.17.15
rootdir:        /
executable:     /usr/libexec/evolution-addressbook-factory
cmdline:        /usr/libexec/evolution-addressbook-factory
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/evolution-addressbook-factory.service
journald_cursor: s=6b102c5b0a334757b3fed410c95192f6;i=182d2587;b=76db9cbe46cc47eabe3d5cb5059db2e6;m=e4813d7d09;t=62c27afc18801;x=f311cd8f03683313
package:        evolution-data-server-3.54.3-1.fc41
uid:            1001
runlevel:       N 5
dso_list:       /usr/libexec/evolution-addressbook-factory evolution-data-server-3.54.3-1.fc41.x86_64 (Fedora Project) 1737118541
crash_function: soup_client_message_io_skip
comment:        Don't know why this happened.
backtrace_rating: 4
type:           CCpp
kernel:         6.11.6-300.fc41.x86_64
reason:         evolution-addressbook-factory killed by SIGSEGV

Comment 25 Milan Crha 2025-03-24 09:40:25 UTC
Right, it can be backported. It seemed like not that often crash, thus I did not want to do that, but it looks like your server has a problem, which triggers the crash quite often. Interesting it's sometimes the calendar factory and sometimes the address book factory.

Would you mind to give it a try before I make the update official, please? I'd like to verify it really fixes it. It did for me, but it's not unusual to have things fixed on my end and when the users use it in their real life environments it's not fixed on their end.

A scratch build with the backported patch can be found here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=130685115

You cannot see whether the (known) conditions had been triggered or not, the only way is that it'll crash or not, with a similar backtrace.

Comment 26 Brian J. Murrell 2025-03-24 14:50:00 UTC
I've installed the scratch build and rebooted even.

I guess we just wait and see if I hit this failure again or not.

Comment 27 Milan Crha 2025-03-24 14:57:56 UTC
> I guess we just wait and see if I hit this failure again or not.

Yes, thank you. I'll left it up to you for how long to wait. Maybe a week max. The reproducer, as I had it, depended on the server conditions. It stroke only if the server returned with a 503 response.

Comment 28 Brian J. Murrell 2025-04-02 15:59:28 UTC
I guess we can call the scratch build good.  I don't think I have seen any of these crashes since installing it.  Thanks for the build and attention on this!

Comment 29 Fedora Update System 2025-04-03 06:24:58 UTC
FEDORA-2025-baebf8aaac (evolution-data-server-3.54.3-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-baebf8aaac

Comment 30 Milan Crha 2025-04-03 06:25:51 UTC
Thank you. I filled an update ^^^ for it.

Comment 31 Fedora Update System 2025-04-04 02:21:21 UTC
FEDORA-2025-baebf8aaac has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-baebf8aaac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-baebf8aaac

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

Comment 32 Fedora Update System 2025-04-20 00:26:20 UTC
FEDORA-2025-baebf8aaac (evolution-data-server-3.54.3-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.