GNOME Bugzilla – Bug 693420
Crash when adding contact list as attendee
Last modified: 2013-09-13 01:07:05 UTC
Original report: https://bugzilla.redhat.com/show_bug.cgi?id=909220 Reproduced in evolution-3.6.2-3.el7.x86_64 and evolution 3.7.5 from jhbuild Steps To Reproduce: 1. Create a contact list with several emails added 2. Create a meeting 3. Add a new attendee 4. Type the contact lists' name 5. In drop-down combobox select the created contact list Trace: [New LWP 2971] [New LWP 2972] [New LWP 2973] [New LWP 2976] [New LWP 2981] [New LWP 3010] [New LWP 3033] [New LWP 3034] [New LWP 3037] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: "/var/cache/abrt-di/usr/lib/debug/usr/lib64/libcairo-gobject.so.2.11200.8.debug": separate debug info file has no debug info warning: "/var/cache/abrt-di/usr/lib/debug/usr/lib64/libicudata.so.49.1.1.debug": separate debug info file has no debug info warning: Skipping deprecated .gdb_index section in /var/cache/abrt-di/usr/lib/debug/lib64/libkeyutils.so.1.4.debug. Do "set use-deprecated-index-sections on" before the file is read to use the section anyway. Core was generated by `evolution'. Program terminated with signal 6, Aborted.
+ Trace 231499
Thread 1 (Thread 0x7fe91d06fa00 (LWP 2971))
Note, that contact list contacts can be added correctly using 'Attendees' dialog
Thanks for a bug report. I can confirm the crash.
Created attachment 237095 [details] [review] evo patch for evolution; The reason is that the e_meeting_store_remove_attendee() is called twoce for the same contact, once at attendee_edited_cb(), the second time in attendee_editing_canceled_cb(), during the previous removal. I see multiple ways of fixing this, but I chose this one, because the gtk_tree_model_row_deleted() should be called *after* the row is removed from the store, not before. This also helps to avoid re-invocation of the e_meeting_store_remove_attendee() in attendee_editing_canceled_cb(), because the 'attendee' is not in the store any more.
Created commit b1fc3c5 in evo master (3.7.91+) Created commit 4dbbb69 in evo gnome-3-6 (3.6.4+)