After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691574 - Crash when copying a contact to an address book containing the same contact
Crash when copying a contact to an address book containing the same contact
Status: RESOLVED NOTGNOME
Product: evolution
Classification: Applications
Component: Contacts
3.4.x (obsolete)
Other Linux
: High critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-01-11 18:27 UTC by Dylan McCall
Modified: 2013-12-09 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GDB session where Evolution crashes instead of merging contacts (16.93 KB, text/plain)
2013-12-09 06:12 UTC, Dylan McCall
Details

Description Dylan McCall 2013-01-11 18:27:24 UTC
It is possible to have the same contact in a few different address books. Evolution makes this pretty easy with the "Copy Contact To" action for contacts. However, if the target address book already has the same contact, Evolution crashes with the following output:

(evolution:6186): e-web-view.c-WARNING **: Disabling webkit plugin: Gnome Shell Integration

(evolution:6186): e-web-view.c-WARNING **: Disabling webkit plugin: iTunes Application Detector
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
dragging 1 card(s)

#This is where I drop a contact over a different address book

(evolution:6186): GLib-GObject-WARNING **: cannot register existing type `EABContactDisplay'

(evolution:6186): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

** (evolution:6186): ERROR **: eab-contact-duplicate-detected.ui: Invalid type function on line 90: 'eab_contact_display_get_type'
zsh: trace trap  evolution



The trace trap (SIGTRAP) part seems kind of interesting ;)

I'm going to list two different ways to reproduce this...

Steps to reproduce A:
1. Create a new address book.
2. From any other address book, select a contact, choose "Copy Contact To," and choose the new address book.
3. Repeat step 2.

Steps to reproduce B:
1. In any existing address book, create a new contact.
2. In that same address book, create another new contact with the same email address, or the same name.

These both produce the same crash on two different systems, one running Ubuntu 12.04 (Evolution 3.4) and one running Ubuntu 12.10 (Evolution 3.6), and it was discovered in the real world. I will give it a try in Fedora, soon, unless someone else gets there first.
Comment 1 Dylan McCall 2013-01-11 20:51:47 UTC
Okay, I tested this in Fedora 17 and Fedora 18 and the contact merging dialog works correctly. So, looks like this could be specific to Ubuntu :( I filed this downstream, here: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1098717. I don't know Evolution very well, so don't take my word for it, but from a quick look at Debian patches / stuff on the current version it doesn't look like this part of the application has been touched. Perhaps Ubuntu is building the application with an unusual configuration?
Comment 2 André Klapper 2013-01-12 10:51:02 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see https://wiki.ubuntu.com/DebuggingProgramCrash or http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 3 André Klapper 2013-08-24 15:25:10 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 4 Dylan McCall 2013-12-09 06:12:51 UTC
Created attachment 263790 [details]
GDB session where Evolution crashes instead of merging contacts

Okay, sorry I forgot about this one. I reproduced the crash with Evolution 3.10.1, and I'm attaching the output from the GDB session.

I haven't done this before and I'm probably doing something wrong. It _looks_ like I installed Evolution's debug packages, but then there's nothing inside Evolution in that stack trace, that I can see. Still, maybe it'll make sense to you? Let me know if I can provide more information. I'm paying attention now :)
Comment 5 Matthew Barnes 2013-12-09 12:22:39 UTC
I think this is Ubuntu-specific.  We've had similar issues with Ubuntu in the past (bug 594473) because of a particular linker flag they and they alone use by default, which causes problems for the way Evolution is structured.  But I thought they fixed it already.

Recommend trying to reproduce this on a different distro.