GNOME Bugzilla – Bug 303685
evolution-data-server crashes trying to add contact to ldap server
Last modified: 2005-07-27 09:18:41 UTC
Distribution: Fedora Core release Rawhide (Rawhide) Package: Evolution-Data-Server Severity: blocker Version: GNOME2.10.0 unspecified Gnome-Distributor: Red Hat, Inc Synopsis: evolution-data-server crashes trying to add contact to ldap server Bugzilla-Product: Evolution-Data-Server Bugzilla-Component: Calendar Bugzilla-Version: unspecified BugBuddy-GnomeVersion: 2.0 (2.10.0) Description: Description of the crash: evolution-data-server crashes trying to add contact to ldap server, or editing an existing entry. Personal address book is OK, just ldap, that used to work Steps to reproduce the crash: 1. edit, or add new entry 2. watch it crash and burn 3. Expected Results: should work How often does this happen? every time Additional Information: Debugging Information: Backtrace was generated from '/usr/libexec/evolution-data-server-1.2' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1208854848 (LWP 3821)] [New Thread -1263408208 (LWP 3880)] [New Thread -1252918352 (LWP 3879)] [New Thread -1242428496 (LWP 3845)] [New Thread -1210954832 (LWP 3822)] 0x00c44402 in ?? ()
+ Trace 59437
Thread 1 (Thread -1208854848 (LWP 3821))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-05-10 15:30 UTC ------- The original reporter of this bug does not have an account here. Reassigning to the person who moved it here, unknown@bugzilla.gnome.org. Previous reporter was bmillett@gmail.com.
(also filed downstream at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154956 )
My system: FC4 fresh install, evolution data converted from FC2. I see the same problem when replying. Disabling (= deleting) the Ldap contact folder doesn't help. Replying works again when removing /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so . Here the backtrace (similar to the one above ...):
+ Trace 61386
in_segv = 1 #6 <signal handler called> No symbol table info available. #7 0x00ef9318 in ?? () from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so No symbol table info available. #8 0x00efa81a in build_mods_from_contacts (bl=0x81d0218, current=0x81d8ec0, new=0x81d9f58, new_dn_needed=0xbf8839b0) at e-book-backend-ldap.c:1081 current_prop_bers = (struct berval **) 0x81d9d90 adding = 0 result = (GPtrArray *) 0x8194184 i = 2 #9 0x00efeea9 in modify_contact_search_handler (op=0x81db7a8, res=0x81d8270) at e-book-backend-ldap.c:1653 e =
The stack is overwritten in email_ber(). That might cause these problems. Here's the fix: evolution-data-server-1.2.2/addressbook/backends/ldap/e-book-backend-ldap.c.fix_ldap_crash 2005-03-06 15:56:37.000000000 +0100 +++ evolution-data-server-1.2.2/addressbook/backends/ldap/e-book-backend-ldap.c 2005-06-27 11:18:03.000000000 +0200 @@ -2127,7 +2137,7 @@ email_ber(EContact *contact) { struct berval** result; - const char *emails[3]; + const char *emails[4]; int i, j, num = 0; for (i = 0; i < 4; i ++) {
*** This bug has been marked as a duplicate of 311684 ***