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 309128 - e-d-s crashes at random times when using autocompletion
e-d-s crashes at random times when using autocompletion
Status: RESOLVED OBSOLETE
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-06-27 13:25 UTC by Bastien Nocera
Modified: 2008-10-31 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2005-06-27 13:25:24 UTC
I have a company-wide LDAP directory that I use to get my addresses.
This addressbook is set to autocomplete addresses on that LDAP
directory.
Attached is the backtrace with debugging. I should be able to reproduce
this without too much trouble (given time).


Debugging Information:

Backtrace was generated from '/usr/libexec/evolution-data-server-1.0'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208080704 (LWP 11115)]
[New Thread -1296327760 (LWP 11251)]
[Thread debugging using libthread_db enabled]
[New Thread -1208080704 (LWP 11115)]
[New Thread -1296327760 (LWP 11251)]
[Thread debugging using libthread_db enabled]
[New Thread -1208080704 (LWP 11115)]
[New Thread -1296327760 (LWP 11251)]
[New Thread -1220691024 (LWP 11139)]
[New Thread -1210197072 (LWP 11116)]
0x004507a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2

Thread 1 (Thread -1208080704 (LWP 11115))

  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libc.so.6
  • #2 do_system
    from /lib/tls/libc.so.6
  • #3 system
    from /lib/tls/libc.so.6
  • #4 system
    from /lib/tls/libpthread.so.0
  • #5 gnome_segv_handler
    at server.c line 117
  • #6 <signal handler called>
  • #7 e_data_book_view_notify_status_message
    at e-data-book-view.c line 313
  • #8 book_view_notify_status
    at e-book-backend-ldap.c line 370
  • #9 e_book_backend_ldap_reconnect
    at e-book-backend-ldap.c line 794
  • #10 poll_ldap
    at e-book-backend-ldap.c line 3025
  • #11 g_timeout_dispatch
    at gmain.c line 3306
  • #12 IA__g_main_context_dispatch
    at gmain.c line 1947
  • #13 g_main_context_iterate
    at gmain.c line 2578
  • #14 IA__g_main_loop_run
    at gmain.c line 2782
  • #15 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #16 main
    at server.c line 374

Comment 1 Sushma Rai 2005-07-01 12:22:05 UTC
I see that now notify_status() is called only when view is not null.
Are you still seeing any problem with this?
Comment 2 Bastien Nocera 2005-07-01 12:25:21 UTC
Well, yeah, I filed the bug 3 days ago.
Comment 3 Sushma Rai 2005-07-01 13:27:58 UTC
I see that e-d-s version is 1.0.0
and It's fixed in 1.2
I don't think we have any more releases for gnome-2-8 branch.
Comment 4 Bastien Nocera 2005-07-01 13:29:38 UTC
For shame. Do you have a pointer to which commit fixed this bug, or the patch
that was committed? I'd like to get it backported to the 1.0 branch.
Comment 5 Sushma Rai 2005-07-04 12:56:03 UTC
static void
book_view_notify_status (EDataBookView *view, const char *status)
{
        if (!view)
                return;
        e_data_book_view_notify_status_message (view, status);

}
is what I see in gnome-2-8 branch also.
Comment 6 Nagappan Alagappan 2005-07-12 14:19:00 UTC
Bastien: It seems from comment #5 gnome 2.8 and gnome 2.10 code base are same ?
Can you please verify this and update this bug ?
Comment 7 Sushma Rai 2005-08-20 09:14:44 UTC
Closing the bug.
If you are still facing this issue, please reopen.
Comment 8 Bastien Nocera 2006-10-02 15:55:54 UTC
I updated my system, double-checked the code (same as in comment #5). I still got the crash, and got this (better) backtrace:

Backtrace was generated from '/usr/libexec/evolution-data-server-1.0'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208441152 (LWP 6942)]
[New Thread -1275851856 (LWP 7343)]
[New Thread -1265362000 (LWP 7307)]
[New Thread -1210774608 (LWP 6943)]
0x006bb7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libc.so.6
  • #2 do_system
    from /lib/tls/libc.so.6
  • #3 system
    from /lib/tls/libc.so.6
  • #4 system
    from /lib/tls/libpthread.so.0
  • #5 gnome_segv_handler
    at server.c line 117
  • #6 <signal handler called>
  • #7 e_data_book_view_notify_status_message
    at e-data-book-view.c line 313
  • #8 book_view_notify_status
    at e-book-backend-ldap.c line 370
  • #9 e_book_backend_ldap_reconnect
    at e-book-backend-ldap.c line 794
  • #10 poll_ldap
    at e-book-backend-ldap.c line 3025
  • #7 e_data_book_view_notify_status_message
    message=0x80744d3 "") at e-data-book-view.c:313
313             GNOME_Evolution_Addressbook_BookViewListener_notifyProgress (
(gdb) list
308     {
309             CORBA_Environment ev;
310
311             CORBA_exception_init (&ev);
312
313             GNOME_Evolution_Addressbook_BookViewListener_notifyProgress (
314                     book_view->priv->listener, message, 0, &ev);
315
316             if (ev._major != CORBA_NO_EXCEPTION) {
317                     g_warning ("e_data_book_view_notify_status_message: Exception signaling BookViewListener!\n");
(gdb) p book_view
$1 = (EDataBookView *) 0x9383878
(gdb) p book_view->priv
$2 = (EDataBookViewPrivate *) 0x292929
(gdb) p book_view->priv->listener
Cannot access memory at address 0x292929

Got garbage in ->listener. Any hints as to what would be the problem?
Comment 9 Akhil Laddha 2008-08-22 11:15:02 UTC
can you please try on current stable 2.22.3.1 and confirm that crash still happens for you or it had been fixed, thanks in advance. 
Comment 10 Akhil Laddha 2008-10-31 12:45:51 UTC

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 with
current version 2.24.1 Thanks!