Bug 1344888 - [abrt] Crash under e_mail_folder_find_duplicate_messages_sync()
Summary: [abrt] Crash under e_mail_folder_find_duplicate_messages_sync()
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 24
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:f842807e4ada240728dce26fd04...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-12 07:48 UTC by Niki Guldbrand
Modified: 2016-06-13 10:39 UTC (History)
4 users (show)

Fixed In Version: evolution-3.20.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-13 10:39:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (61.73 KB, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: cgroup (148 bytes, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: core_backtrace (56.15 KB, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: dso_list (26.67 KB, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: environ (2.10 KB, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: exploitable (82 bytes, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: limits (1.29 KB, text/plain)
2016-06-12 07:48 UTC, Niki Guldbrand
no flags Details
File: maps (174.08 KB, text/plain)
2016-06-12 07:49 UTC, Niki Guldbrand
no flags Details
File: mountinfo (3.99 KB, text/plain)
2016-06-12 07:49 UTC, Niki Guldbrand
no flags Details
File: namespaces (102 bytes, text/plain)
2016-06-12 07:49 UTC, Niki Guldbrand
no flags Details
File: open_fds (3.74 KB, text/plain)
2016-06-12 07:49 UTC, Niki Guldbrand
no flags Details
File: proc_pid_status (1.12 KB, text/plain)
2016-06-12 07:49 UTC, Niki Guldbrand
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-06-12 07:49 UTC, Niki Guldbrand
no flags Details

Description Niki Guldbrand 2016-06-12 07:48:42 UTC
Description of problem:
I just added a new filter rule, and marked all messages in my inbox,  then executed "Apply filters" on them.

Version-Release number of selected component:
evolution-3.20.2-1.fc24

Additional info:
reporter:       libreport-2.7.1
backtrace_rating: 4
cmdline:        evolution
crash_function: camel_message_info_ptr
executable:     /usr/bin/evolution
global_pid:     21617
kernel:         4.5.5-300.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
reproducible:   Not sure how to reproduce the problem
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 camel_message_info_ptr at camel-folder-summary.c:4620
 #1 e_mail_folder_find_duplicate_messages_sync at e-mail-folder-utils.c:796
 #2 mail_folder_find_duplicate_messages_thread at e-mail-folder-utils.c:660
 #3 run_in_thread at gsimpleasyncresult.c:898
 #4 io_job_thread at gioscheduler.c:85
 #5 g_task_thread_pool_thread at gtask.c:1288
 #7 g_thread_proxy at gthread.c:780

Comment 1 Niki Guldbrand 2016-06-12 07:48:48 UTC
Created attachment 1167089 [details]
File: backtrace

Comment 2 Niki Guldbrand 2016-06-12 07:48:49 UTC
Created attachment 1167090 [details]
File: cgroup

Comment 3 Niki Guldbrand 2016-06-12 07:48:51 UTC
Created attachment 1167091 [details]
File: core_backtrace

Comment 4 Niki Guldbrand 2016-06-12 07:48:53 UTC
Created attachment 1167092 [details]
File: dso_list

Comment 5 Niki Guldbrand 2016-06-12 07:48:54 UTC
Created attachment 1167093 [details]
File: environ

Comment 6 Niki Guldbrand 2016-06-12 07:48:56 UTC
Created attachment 1167094 [details]
File: exploitable

Comment 7 Niki Guldbrand 2016-06-12 07:48:58 UTC
Created attachment 1167095 [details]
File: limits

Comment 8 Niki Guldbrand 2016-06-12 07:49:00 UTC
Created attachment 1167096 [details]
File: maps

Comment 9 Niki Guldbrand 2016-06-12 07:49:02 UTC
Created attachment 1167097 [details]
File: mountinfo

Comment 10 Niki Guldbrand 2016-06-12 07:49:03 UTC
Created attachment 1167098 [details]
File: namespaces

Comment 11 Niki Guldbrand 2016-06-12 07:49:05 UTC
Created attachment 1167099 [details]
File: open_fds

Comment 12 Niki Guldbrand 2016-06-12 07:49:06 UTC
Created attachment 1167100 [details]
File: proc_pid_status

Comment 13 Niki Guldbrand 2016-06-12 07:49:08 UTC
Created attachment 1167101 [details]
File: var_log_messages

Comment 14 Milan Crha 2016-06-13 10:39:48 UTC
Thanks for a bug report. It seems to me that you execute "Remove duplicates" on a set of messages, then you executed "Apply filters" on the same set, while this duplicates removal was still processing, when some messages had been moved to a different folder by a filter. The "Remove duplicates" code didn't count with such possibility, which led to the crash.

I'm updating the code to verify that the returned message info structure is a valid pointer, not a NULL, like in the case of this crash report.

Created commit 44743d4 in evo master (3.21.3+) [1]
Created commit a59c0a5 in evo gnome-3-20 (3.20.4+)

[1] https://git.gnome.org/browse/evolution/commit/?id=44743d4


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