GNOME Bugzilla – Bug 691574
Crash when copying a contact to an address book containing the same contact
Last modified: 2013-12-09 12:22:39 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.
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?
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!
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!
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 :)
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.