Bug 2107751

Summary: [abrt] glib2's G_TLS_CERTIFICATE_FLAGS_NONE causes infinite loop
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: evolution-data-serverAssignee: Milan Crha <mcrha>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: caillon+fedoraproject, mcrha, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/b3cebd6c39be2317c8302069fd7c383aa7a5ba78
Whiteboard: abrt_hash:e7c00e868602263a31ad30b1a2042be74a6832ad;VARIANT_ID=workstation;
Fixed In Version: evolution-data-server-3.44.3-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-18 08:35:16 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: 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 Mikhail 2022-07-15 20:51:26 UTC
Description of problem:
After upgrade evolution-calendar-factory eat a lot of memory 300G!!! And crashed when all memory is exhausted.

Version-Release number of selected component:
evolution-data-server-3.44.3-1.fc37

Additional info:
reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/evolution-addressbook-factory.service
cmdline:        /usr/libexec/evolution-addressbook-factory
crash_function: source_registry_object_added_no_owner
executable:     /usr/libexec/evolution-addressbook-factory
journald_cursor: s=60feaa34b788404fb1cfd9bba8fe4618;i=10ed;b=e2c1e390ac7e45718098cd0f43346a17;m=186b8f9c;t=5e3de066bb6a0;x=ff0b2f951dbe9d76
kernel:         5.19.0-0.rc0.20220525gitfdaf9a5840ac.2.fc37.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #9 source_registry_object_added_no_owner at /usr/src/debug/evolution-data-server-3.44.3-1.fc37.x86_64/src/libedataserver/e-source-registry.c:867
 #10 source_registry_object_added_cb at /usr/src/debug/evolution-data-server-3.44.3-1.fc37.x86_64/src/libedataserver/e-source-registry.c:883
 #12 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3757
 #15 add_interfaces at ../gio/gdbusobjectmanagerclient.c:1672
 #16 on_control_proxy_g_signal at ../gio/gdbusobjectmanagerclient.c:1786
 #18 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3757
 #21 on_signal_received at ../gio/gdbusproxy.c:897
 #22 emit_signal_instance_in_idle_cb at ../gio/gdbusconnection.c:3790
 #26 g_main_context_iterate.constprop.0 at ../glib/gmain.c:4230
 #28 source_registry_object_manager_thread at /usr/src/debug/evolution-data-server-3.44.3-1.fc37.x86_64/src/libedataserver/e-source-registry.c:1163

Potential duplicate: bug 2094417

Comment 1 Mikhail 2022-07-15 20:51:29 UTC
Created attachment 1897517 [details]
File: backtrace

Comment 2 Mikhail 2022-07-15 20:51:31 UTC
Created attachment 1897518 [details]
File: core_backtrace

Comment 3 Mikhail 2022-07-15 20:51:32 UTC
Created attachment 1897519 [details]
File: cpuinfo

Comment 4 Mikhail 2022-07-15 20:51:33 UTC
Created attachment 1897520 [details]
File: dso_list

Comment 5 Mikhail 2022-07-15 20:51:34 UTC
Created attachment 1897521 [details]
File: environ

Comment 6 Mikhail 2022-07-15 20:51:35 UTC
Created attachment 1897522 [details]
File: limits

Comment 7 Mikhail 2022-07-15 20:51:36 UTC
Created attachment 1897523 [details]
File: maps

Comment 8 Mikhail 2022-07-15 20:51:37 UTC
Created attachment 1897524 [details]
File: mountinfo

Comment 9 Mikhail 2022-07-15 20:51:38 UTC
Created attachment 1897525 [details]
File: open_fds

Comment 10 Mikhail 2022-07-15 20:51:39 UTC
Created attachment 1897526 [details]
File: proc_pid_status

Comment 11 Mikhail 2022-07-15 20:57:28 UTC
Similar problem has been detected:

After upgrade evolution-calendar-factory eat a lot of memory 300G!!! And crashed when all memory is exhausted.

reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-2390.scope
cmdline:        /usr/libexec/evolution-data-server/evolution-alarm-notify
crash_function: source_registry_object_added_no_owner
executable:     /usr/libexec/evolution-data-server/evolution-alarm-notify
journald_cursor: s=60feaa34b788404fb1cfd9bba8fe4618;i=1101;b=e2c1e390ac7e45718098cd0f43346a17;m=186e17b2;t=5e3de066e3eb7;x=26f66e306b71bc02
kernel:         5.19.0-0.rc0.20220525gitfdaf9a5840ac.2.fc37.x86_64
package:        evolution-data-server-3.44.3-1.fc37
reason:         evolution-alarm-notify killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 12 Mikhail 2022-07-16 13:36:04 UTC
Similar problem has been detected:

After upgrade systemd to 251.3-1.fc37 version, evolution-calendar-factory exhaust all memory and crashes.
Downgrading systemd to previous version (251.2-1.fc37) did not helps avoid this issue.

reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/evolution-addressbook-factory.service
cmdline:        /usr/libexec/evolution-addressbook-factory
crash_function: source_registry_object_added_no_owner
executable:     /usr/libexec/evolution-addressbook-factory
journald_cursor: s=50b987753d7046a08b3abc1458bb7502;i=1e00e;b=47141e543e70475c8d50eccdbead072c;m=326c18da;t=5e3eb6a7495a2;x=293171ce43ff4136
kernel:         5.18.0-0.rc4.20220428git8f4dd16603ce834.36.fc37.x86_64
package:        evolution-data-server-3.44.3-1.fc37
reason:         evolution-addressbook-factory killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 13 Mikhail 2022-07-16 14:41:18 UTC
Similar problem has been detected:

After upgrade systemd to 251.3-1.fc37 version, evolution-calendar-factory exhaust all memory and crashes.
Downgrading systemd to previous version (251.2-1.fc37) did not helps avoid this issue.

reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/evolution-calendar-factory.service
cmdline:        /usr/libexec/evolution-calendar-factory
crash_function: source_registry_object_added_no_owner
executable:     /usr/libexec/evolution-calendar-factory
journald_cursor: s=50b987753d7046a08b3abc1458bb7502;i=1e02a;b=47141e543e70475c8d50eccdbead072c;m=326f2e47;t=5e3eb6a77ab0e;x=68bbfed8262d3354
kernel:         5.18.0-0.rc4.20220428git8f4dd16603ce834.36.fc37.x86_64
package:        evolution-data-server-3.44.3-1.fc37
reason:         evolution-calendar-factory killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 Mikhail 2022-07-16 14:41:38 UTC
Similar problem has been detected:

After upgrade systemd to 251.3-1.fc37 version, evolution-calendar-factory exhaust all memory and crashes.
Downgrading systemd to previous version (251.2-1.fc37) did not helps avoid this issue.

reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-2409.scope
cmdline:        /usr/libexec/evolution-data-server/evolution-alarm-notify
crash_function: source_registry_object_added_no_owner
executable:     /usr/libexec/evolution-data-server/evolution-alarm-notify
journald_cursor: s=50b987753d7046a08b3abc1458bb7502;i=1e00b;b=47141e543e70475c8d50eccdbead072c;m=326bbfe1;t=5e3eb6a743ca9;x=9570dd87ad5c8312
kernel:         5.18.0-0.rc4.20220428git8f4dd16603ce834.36.fc37.x86_64
package:        evolution-data-server-3.44.3-1.fc37
reason:         evolution-alarm-notify killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 15 Milan Crha 2022-07-18 08:35:16 UTC
Thanks for a bug report. I can reproduce it too and I figured it's a side-effect of this [1] glib2 change. I made a change upstream [2], which is built now and an update had been filled [3] for the rawhide. You should be able to update the evolution-data-server package soon, the version is evolution-data-server-3.44.3-2.

[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2576
[2] https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/a942d4b49
[3] https://bodhi.fedoraproject.org/updates/FEDORA-2022-c8b421c46c

Comment 16 Mikhail 2022-07-18 10:25:37 UTC
Thanks for such a quick fix.
Although I wrote that this happened after a systemd update, in fact it is related to the event in my calendar. A new day has come and the bug has ceased to repeat itself. I changed my computer clock to July 16 and the bug happened again.
I confirms that with evolution-data-server-3.44.3-2.fc37 bug not happened with  July 16.

Comment 17 Milan Crha 2022-07-18 10:45:57 UTC
Thanks for the confirmation.

This happened when connecting to the calendar, when there were no TLS errors detected.