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 402752 - Crash when opening Exchange inbox
Crash when opening Exchange inbox
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.8.x
Other Linux
: Normal critical
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
: 468843 516522 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-31 08:50 UTC by Sebastien Bacher
Modified: 2008-06-13 06:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
proposed eex patch (preventing) (2.09 KB, patch)
2008-06-04 14:24 UTC, Milan Crha
committed Details | Review

Description Sebastien Bacher 2007-01-31 08:50:55 UTC
That bug has been opened on https://launchpad.net/ubuntu/+source/evolution/+bug/63715

"...
Simply, opening my inbox on an Exchange server crashes evolution-exchange-backend immediately.
...
Memory status: size: 74022912 vsize: 0 resident: 74022912 share: 0 rss: 21893120 rss_rlim: 0
CPU usage: start_time: 1160582847 rtime: 0 utime: 675 stime: 0 cutime:587 cstime: 0 timeout: 88 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/libexec/evolution-exchange'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234336080 (LWP 4580)]
[New Thread -1236325472 (LWP 12839)]
[New Thread -1236059232 (LWP 4584)]
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1236325472 (LWP 12839))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 IA__g_str_hash
    at gstring.c line 95
  • #5 IA__g_hash_table_lookup
    at ghash.c line 231
  • #6 e_cal_backend_exchange_add_object
    at e-cal-backend-exchange.c line 565
  • #7 add_vevent
    at e-cal-backend-exchange-calendar.c line 179
  • #8 add_ical
    at e-cal-backend-exchange-calendar.c line 270
  • #9 get_changed_events
    at e-cal-backend-exchange-calendar.c line 511
  • #10 g_thread_create_proxy
    at gthread.c line 553
  • #11 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #12 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Akhil Laddha 2007-08-21 13:19:28 UTC
*** Bug 468843 has been marked as a duplicate of this bug. ***
Comment 2 Tobias Mueller 2007-09-22 00:10:49 UTC
As suggested in https://launchpad.net/ubuntu/+source/evolution/+bug/63715/comments/16, this might be due to broken gnutls stuff.
Anyway: Adding STACKTRACE keyword.
Comment 3 Milan Crha 2008-06-04 12:16:26 UTC
*** Bug 516522 has been marked as a duplicate of this bug. ***
Comment 4 Milan Crha 2008-06-04 12:18:22 UTC
I do not believe in gnutls, it's just uid is empty/NULL, thus it crashes. See frame #8 of Thread 2.
Comment 5 Milan Crha 2008-06-04 14:24:17 UTC
Created attachment 112135 [details] [review]
proposed eex patch (preventing)

for evolution-exchange;

I remember we debug this (remotely) with someone, and if I recall correctly, Exchange was really returning an invalid component, with empty UID. Where it got there is a question, but it definitely came from the server.

Thus this patch checks for such situations and makes necessary things to not crash there. I would like to propose that as "fixing this bug", if you agree.

BTW, I thought such patch was committed already in code some time back, but it seems like not, somehow.
Comment 6 Srinivasa Ragavan 2008-06-06 09:27:53 UTC
Bharath: Review?
Comment 7 otto_rey 2008-06-13 02:26:13 UTC
Here is the same problem.

so: fedora 9
evolution version: 2.22.2
evolution-exchange version: 2.22.1

Additional data:
- Fedora 8 with and without updates, works without problems
- Fedora 9 with and without updates, crash with exchange accounts

(Exchange Accounts on Fedora 9 never worked)
Comment 8 Bharath Acharya 2008-06-13 04:09:15 UTC
A valid check. Commit to Trunk/Stable.
Comment 9 Milan Crha 2008-06-13 06:24:17 UTC
Committed to trunk. Committed revision 1683.
Committed to gnome-2-22. Committed revision 1684.

The patch is for evolution-exchange finally, I named it here wrong.