Bug 1544296 - [abrt] Check validity of returned values in 'Folder Sizes' function
Summary: [abrt] Check validity of returned values in 'Folder Sizes' function
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution-ews
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:dcf44496071c069c0dcfbd59a06...
: 1563637 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-12 01:29 UTC by John Williams
Modified: 2018-04-04 11:25 UTC (History)
8 users (show)

Fixed In Version: evolution-ews-3.27.91
Clone Of:
Environment:
Last Closed: 2018-02-12 11:54:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (86.74 KB, text/plain)
2018-02-12 01:29 UTC, John Williams
no flags Details
File: cgroup (195 bytes, text/plain)
2018-02-12 01:29 UTC, John Williams
no flags Details
File: core_backtrace (42.15 KB, text/plain)
2018-02-12 01:29 UTC, John Williams
no flags Details
File: cpuinfo (1.39 KB, text/plain)
2018-02-12 01:29 UTC, John Williams
no flags Details
File: dso_list (28.64 KB, text/plain)
2018-02-12 01:29 UTC, John Williams
no flags Details
File: environ (1.93 KB, text/plain)
2018-02-12 01:29 UTC, John Williams
no flags Details
File: exploitable (82 bytes, text/plain)
2018-02-12 01:30 UTC, John Williams
no flags Details
File: limits (1.29 KB, text/plain)
2018-02-12 01:30 UTC, John Williams
no flags Details
File: maps (134.13 KB, text/plain)
2018-02-12 01:30 UTC, John Williams
no flags Details
File: mountinfo (3.95 KB, text/plain)
2018-02-12 01:30 UTC, John Williams
no flags Details
File: open_fds (5.01 KB, text/plain)
2018-02-12 01:30 UTC, John Williams
no flags Details
File: proc_pid_status (1.28 KB, text/plain)
2018-02-12 01:30 UTC, John Williams
no flags Details

Description John Williams 2018-02-12 01:29:44 UTC
Description of problem:
No idea

Version-Release number of selected component:
evolution-3.26.4-1.fc27

Additional info:
reporter:       libreport-2.9.3
backtrace_rating: 4
cmdline:        evolution
crash_function: ews_settings_get_folder_sizes_thread
executable:     /usr/bin/evolution
journald_cursor: s=e8119c474de748038dfe0a0fef31f304;i=10af59;b=fd174540ee4c4640a6d9bdf6f0255cb8;m=4ac79320c5;t=564f9acb90634;x=f10b616de7bda1ed
kernel:         4.14.13-300.fc27.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (2 frames)
 #0 ews_settings_get_folder_sizes_thread at /usr/src/debug/evolution-ews-3.26.4-1.fc27.x86_64/src/configuration/e-ews-config-utils.c:697
 #1 g_thread_proxy at gthread.c:784

Comment 1 John Williams 2018-02-12 01:29:50 UTC
Created attachment 1394759 [details]
File: backtrace

Comment 2 John Williams 2018-02-12 01:29:51 UTC
Created attachment 1394760 [details]
File: cgroup

Comment 3 John Williams 2018-02-12 01:29:53 UTC
Created attachment 1394761 [details]
File: core_backtrace

Comment 4 John Williams 2018-02-12 01:29:55 UTC
Created attachment 1394762 [details]
File: cpuinfo

Comment 5 John Williams 2018-02-12 01:29:57 UTC
Created attachment 1394763 [details]
File: dso_list

Comment 6 John Williams 2018-02-12 01:29:58 UTC
Created attachment 1394764 [details]
File: environ

Comment 7 John Williams 2018-02-12 01:30:00 UTC
Created attachment 1394765 [details]
File: exploitable

Comment 8 John Williams 2018-02-12 01:30:01 UTC
Created attachment 1394766 [details]
File: limits

Comment 9 John Williams 2018-02-12 01:30:04 UTC
Created attachment 1394767 [details]
File: maps

Comment 10 John Williams 2018-02-12 01:30:05 UTC
Created attachment 1394768 [details]
File: mountinfo

Comment 11 John Williams 2018-02-12 01:30:07 UTC
Created attachment 1394769 [details]
File: open_fds

Comment 12 John Williams 2018-02-12 01:30:08 UTC
Created attachment 1394770 [details]
File: proc_pid_status

Comment 13 Milan Crha 2018-02-12 11:54:48 UTC
Thanks for a bug report. If I read the backtrace and the related code properly, then you've used either right-click EWS account->Folder Sizes... context menu option or in EWS account Properties->EWS Settings->Folder Sizes button. The problem seems to be that one of the folders failed to return some folder, which led to this crash.

I could not reproduce this myself, but I think I see the weak point in the code, thus I changed it for 3.27.91+ with commit:
https://git.gnome.org/browse/evolution-ews/commit/?id=4eaf3ee

Comment 14 Florian van Oudgaarden 2018-04-04 11:25:41 UTC
*** Bug 1563637 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.