Bug 1498853

Summary: [abrt] Crash under e-data-cal-view.c:pending_flush_timeout_cb()
Product: [Fedora] Fedora Reporter: fred <fredoche>
Component: evolution-data-serverAssignee: Milan Crha <mcrha>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: alexl, caillon+fedoraproject, john.j5live, mbarnes, mcrha, rhughes, rstrode, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/aa6bbc668f04f497366d5663183ecd132615a964
Whiteboard: abrt_hash:df9d3ce619143a026bb4e0c2cd7ffd342115a4dc;VARIANT_ID=workstation;
Fixed In Version: evolution-data-server-3.26.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-06 06:26:10 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: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description fred 2017-10-05 12:24:27 UTC
Version-Release number of selected component:
evolution-data-server-3.24.6-1.fc26

Additional info:
reporter:       libreport-2.9.1
backtrace_rating: 4
cmdline:        /usr/libexec/evolution-calendar-factory-subprocess --factory ews --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx2366x3 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/2366/3
crash_function: signal_lookup_closure
executable:     /usr/libexec/evolution-calendar-factory-subprocess
journald_cursor: s=e685d5d5bf094855a02b56d272cfd613;i=70c3;b=5c87e552ab7e489ab6bb4bd96f3c2fc0;m=7140591e;t=55acba62f7115;x=e6e68941c94c8ef2
kernel:         4.12.14-300.fc26.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (4 frames)
 #0 signal_lookup_closure at gsignal.c:1556
 #4 e_gdbus_cal_view_emit_objects_added at /usr/src/debug/evolution-data-server-3.24.6/src/calendar/libegdbus/e-gdbus-cal-view.c:291
 #5 send_pending_adds at /usr/src/debug/evolution-data-server-3.24.6/src/calendar/libedata-cal/e-data-cal-view.c:652
 #6 pending_flush_timeout_cb at /usr/src/debug/evolution-data-server-3.24.6/src/calendar/libedata-cal/e-data-cal-view.c:692

Comment 1 fred 2017-10-05 12:24:35 UTC
Created attachment 1334774 [details]
File: backtrace

Comment 2 fred 2017-10-05 12:24:38 UTC
Created attachment 1334775 [details]
File: cgroup

Comment 3 fred 2017-10-05 12:24:40 UTC
Created attachment 1334776 [details]
File: core_backtrace

Comment 4 fred 2017-10-05 12:24:41 UTC
Created attachment 1334777 [details]
File: cpuinfo

Comment 5 fred 2017-10-05 12:24:44 UTC
Created attachment 1334778 [details]
File: dso_list

Comment 6 fred 2017-10-05 12:24:45 UTC
Created attachment 1334779 [details]
File: environ

Comment 7 fred 2017-10-05 12:24:47 UTC
Created attachment 1334780 [details]
File: exploitable

Comment 8 fred 2017-10-05 12:24:48 UTC
Created attachment 1334781 [details]
File: limits

Comment 9 fred 2017-10-05 12:24:54 UTC
Created attachment 1334782 [details]
File: maps

Comment 10 fred 2017-10-05 12:24:55 UTC
Created attachment 1334783 [details]
File: open_fds

Comment 11 fred 2017-10-05 12:24:57 UTC
Created attachment 1334784 [details]
File: proc_pid_status

Comment 12 fred 2017-10-05 12:24:59 UTC
Created attachment 1334785 [details]
File: var_log_messages

Comment 13 Milan Crha 2017-10-06 06:26:10 UTC
Thanks for a bug report. I see from the backtrace that the crash happened due to one thread being notifying about changes in one calendar view, while another thread had been freeing this view, thus the thread doing notifications had freed structures while it had been still using them.

I fixed it upstream, also for the address book part, with:

Created commit 695a5effa in eds master (3.27.1+) [1]
Created commit ebc99af05 in eds gnome-3-26 (3.26.2+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=695a5effa