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 240836 - LDAP Contact crash on update
LDAP Contact crash on update
Status: RESOLVED DUPLICATE of bug 240699
Product: evolution
Classification: Applications
Component: Contacts
unspecified
Other All
: Normal critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2003-04-06 18:13 UTC by Brad
Modified: 2003-05-12 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brad 2003-04-06 18:13:10 UTC
Package: Evolution
Priority: Critical
Version: 1.2.3
Synopsis: LDAP Contact crash on update
Bugzilla-Product: Evolution
Bugzilla-Component: Contacts [was: Addressbook]

Description:
Description of Problem:
Updating a contact that is stored in an LDAP database
causes evolution (the address cards portion anyway)
to crash.

The problem really is centered around the fact that evolution
does not properly interpret and parse the homePostalAddress
attribute correctly.  I have imported a bunch of contacts into
my LDAP directory using the homePostalAddress so that
evolution will show the address properly.  I have used the
format specified by the RFC that says to separate the
fields with $ symbols.  evolution just puts the whole string
including the $ symbols into the address1 line.

Steps to reproduce the problem:
1.  Manually add an entry to the LDAP directory according
to the attributes specified by evolution.  Note that I stored
the homePostalAddress according to the format specified
in RFC 1274 (using $ symbols between fields).
2. Search for a address in evolution and double click on it.
3. Correct the address in the evolution contact editor.
4. When I click on save/close, the address book portion of
    evolution crashes.

Additional Information:

Aside from the fact that this is very buggy and the contact
editor use of the homePostalAddress book doesn't comply
with RFC 1274, I would like to recommend that evolution 
store the address into the individual attributes that are
common to other common address books (Netscape, 
Mozilla, and Windows People Search/Address Book):

streetAddress: $street_address
l: $city
st: $state
postalCode: $zip_code



Debugging Information:

Backtrace was generated from '/usr/bin/evolution-addressbook'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 10405)]
0x403ccbb6 in waitpid ()
   from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 10405))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 gnome_segv_handle
    from /usr/lib/libgnomeui.so.32
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 gtk_window_show
    from /usr/lib/libgtk-1.2.so.0
  • #5 gnome_dialog_show
    from /usr/lib/libgnomeui.so.32
  • #6 gtk_marshal_NONE__NONE
    from /usr/lib/libgtk-1.2.so.0
  • #7 gtk_signal_real_emit
    from /usr/lib/libgtk-1.2.so.0
  • #8 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #9 gtk_widget_show
    from /usr/lib/libgtk-1.2.so.0
  • #10 glade_xml_set_common_params
    from /usr/lib/libglade.so.0
  • #11 glade_xml_build_widget
    from /usr/lib/libglade.so.0
  • #12 glade_xml_build_interface
    from /usr/lib/libglade.so.0
  • #13 glade_xml_construct
    from /usr/lib/libglade.so.0
  • #14 glade_xml_new
    from /usr/lib/libglade.so.0
  • #15 e_addressbook_search_dialog_new
  • #16 e_card_compare
    from /usr/lib/evolution/1.2/libebook.so.0
  • #17 e_book_get_default_book_uri
    from /usr/lib/evolution/1.2/libebook.so.0
  • #18 gtk_marshal_NONE
    from /usr/lib/libgtk-1.2.so.0
  • #19 gtk_handlers_run
    from /usr/lib/libgtk-1.2.so.0
  • #20 gtk_signal_real_emit
    from /usr/lib/libgtk-1.2.so.0
  • #21 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #22 e_book_view_listener_get_type
    from /usr/lib/evolution/1.2/libebook.so.0
  • #23 e_book_view_listener_get_type
    from /usr/lib/evolution/1.2/libebook.so.0
  • #24 gtk_marshal_NONE__NONE
    from /usr/lib/libgtk-1.2.so.0
  • #25 gtk_handlers_run
    from /usr/lib/libgtk-1.2.so.0
  • #26 gtk_signal_real_emit
    from /usr/lib/libgtk-1.2.so.0
  • #27 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #28 e_book_listener_get_type
    from /usr/lib/evolution/1.2/libebook.so.0
  • #29 g_timeout_dispatch
    from /usr/lib/libglib-1.2.so.0
  • #30 g_main_dispatch
    from /usr/lib/libglib-1.2.so.0
  • #31 g_main_iterate
    from /usr/lib/libglib-1.2.so.0
  • #32 g_main_run
    from /usr/lib/libglib-1.2.so.0
  • #33 gtk_main
    from /usr/lib/libgtk-1.2.so.0
  • #34 bonobo_main
    from /usr/lib/libbonobo.so.2
  • #35 main
  • #36 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libpthread.so.0


Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Gerardo Marin 2003-05-12 15:25:31 UTC

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