[Bug 1402422] Re: evolution should not be linked with -Bsymbolic-functions

2014-12-18 Thread Steffen Kieß
I've updated the description for bug #831308.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/1402422

Title:
  evolution should not be linked with -Bsymbolic-functions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1402422/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 831308] Re: Evolution crash when copy/move contact between address books

2014-12-18 Thread Steffen Kieß
** Description changed:

- Start evolution - Create dummy/any contact in Personal address-book
- - Create another address-book - Copy dummy contact from Personal
- to another address-book - Copy/Move dummy contact from another to
- Personal address-book - Crash
+ [Impact]
  
- Message about duplicate contact expected
+ Evolution crashes when attempting to merge contacts (e.g. when copying
+ or moving contacts between address books).
  
- Instead:
-  e-utils-ERROR **: eab-contact-duplicate-detected.ui: Invalid type function 
on line 90: 'eab_contact_display_get_type'
+ This is rather annoying as the user might not be aware of the cause of
+ the crash (i.e. that a contact with the same name already exists in the
+ destination address book).
+ 
+ The fix is to compile evolution without -Bsymbolic-functions. Compiling
+ with -Bsymbolic-functions is not supported by upstream
+ (https://bugzilla.gnome.org/show_bug.cgi?id=594473). The fix for this
+ issue for Vivid is in bug #1402422.
+ 
+ 
+ [Test case]
+ 
+ Steps to reproduce:
+ - Start evolution
+ - Create contact with full name dummy in Personal address book
+ - Create contact with full name dummy in Personal address book
+ 
+ Expected behavior: Message about merging the contact
+ 
+ Actual behavior:
+ (evolution:3262): evolution-util-ERROR **: eab-contact-duplicate-detected.ui: 
Invalid type function on line 88: 'eab_contact_display_get_type'
  Trace/breakpoint trap (core dumped)
  
- ProblemType: Bug
- DistroRelease: Ubuntu 11.10
- Package: evolution 3.1.5-0ubuntu2
- ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
- Uname: Linux 3.0.0-9-generic i686
- Architecture: i386
- Date: Mon Aug 22 16:24:18 2011
- InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Alpha i386 (20110814)
- ProcEnviron:
-  LANGUAGE=en_US:en
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- SourcePackage: evolution
- UpgradeStatus: No upgrade log present (probably fresh install)
- --- 
- ApportVersion: 1.23-0ubuntu2
- Architecture: i386
- DistroRelease: Ubuntu 11.10
- InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Alpha i386 (20110814)
- Package: evolution 3.2.0-0ubuntu2
- PackageArchitecture: i386
- ProcEnviron:
-  LANGUAGE=en_US:en
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
- ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
- Tags:  oneiric running-unity
- Uname: Linux 3.0.0-12-generic i686
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ 
+ [Regression potential]
+ 
+ Regression potential is rather low. There is the possibility that some
+ plugins rely on the semantic of -Bsymbolic-functions (i.e. have internal
+ function which are exported and their names clash) but this seems rather
+ unlikely as all (or at least most) other distributions compile without
+ -Bsymbolic-functions.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/831308

Title:
  Evolution crash when copy/move contact between address books

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/831308/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1402422] [NEW] evolution should not be linked with -Bsymbolic-functions

2014-12-14 Thread Steffen Kieß
Public bug reported:

evolution should not be linked with -Bsymbolic-functions as it relies on
the fact that some function calls (e.g. to
eab_contact_display_get_type()) go through the PLT.

See also
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/831308/comments/7
and https://bugzilla.gnome.org/show_bug.cgi?id=594473 (evolution doesn't
seem to support building with -Bsymbolic-functions).

This seems to be fixed for current versions of evolution-ews:
https://launchpad.net/ubuntu/+source/evolution-ews/3.12.7-1

This affects both evolution 3.2 (in Ubuntu 12.04 LTS) and 3.10 (in
Ubuntu 14.04 LTS).

** Affects: evolution (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

  evolution should not be linked with -Bsymbolic-functions as it relies on
  the fact that some function calls (e.g. to
  eab_contact_display_get_type()) go through the PLT.
  
  See also
  https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/831308/comments/7
  and https://bugzilla.gnome.org/show_bug.cgi?id=594473 (evolution doesn't
  seem to support building with -Bsymbolic-functions).
  
  This seems to be fixed for current versions of evolution-ews:
  https://launchpad.net/ubuntu/+source/evolution-ews/3.12.7-1
+ 
+ This affects both evolution 3.2 (in Ubuntu 12.04 LTS) and 3.10 (in
+ Ubuntu 14.04 LTS).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/1402422

Title:
  evolution should not be linked with -Bsymbolic-functions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1402422/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 831308] Re: Evolution crash when copy/move contact between address books

2013-01-12 Thread Steffen Kieß
This problem is caused by the fact that
a) there are definitions of eab_contact_display_get_type() in 3 libraries:
   - /usr/lib/evolution/3.2/libecontacteditor.so.0
   - /usr/lib/evolution/3.2/modules/libevolution-module-addressbook.so
   - /usr/lib/evolution/3.2/plugins/liborg-gnome-vcard-inline.so and
b) the code is linked with -Bsymbolic-functions (which seems to be turned on in 
Ubuntu by default), which means that the both the first and the second 
definition are used (because calls to eab_contact_display_get_type() do not go 
through the PLT).

eab_contact_display_get_type() tries to register the type
EABContactDisplay which only succeeds the first time (for
libevolution-module-addressbook.so). The second time (for
libecontacteditor.so.0) the type registration fails which causes this
error message:


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

(evolution:20644): e-utils-ERROR **: eab-contact-duplicate-detected.ui: Invalid 
type function on line 90: 'eab_contact_display_get_type'
Trace/breakpoint trap (core dumped)


The solution probably is not to use -Bsymbolic-functions for linking evolution.

#912081 and #996903 seem to be duplicates of this bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/831308

Title:
  Evolution crash when copy/move contact between address books

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/831308/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs