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 303685 - evolution-data-server crashes trying to add contact to ldap server
evolution-data-server crashes trying to add contact to ldap server
Status: RESOLVED DUPLICATE of bug 311684
Product: evolution-data-server
Classification: Platform
Component: Calendar
unspecified
Other other
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-05-10 15:30 UTC by bmillett
Modified: 2005-07-27 09:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description bmillett 2005-05-10 15:30:09 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 ?? ()

Thread 1 (Thread -1208854848 (LWP 3821))

  • #0 ??
  • #1 __waitpid_nocancel
    from /lib/libc.so.6
  • #2 do_system
    from /lib/libc.so.6
  • #3 system
    from /lib/libc.so.6
  • #4 system
    from /lib/libpthread.so.0
  • #5 gnome_segv_handler
    at server.c line 109
  • #6 <signal handler called>
  • #7 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
  • #8 build_mods_from_contacts
    at e-book-backend-ldap.c line 1081




------- 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.

Comment 1 Dave Malcolm 2005-05-10 21:30:49 UTC
(also filed downstream at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154956
)
Comment 2 Wolfgang Ocker 2005-06-22 08:24:30 UTC
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 ...):


  • #5 gnome_segv_handler
    at server.c line 109
                                                                               
                          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 =                                    
        
Comment 3 Wolfgang Ocker 2005-06-27 09:51:24 UTC
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 ++) {
Comment 4 Sushma Rai 2005-07-27 09:18:41 UTC

*** This bug has been marked as a duplicate of 311684 ***