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 544115 - Exchange storage crashed at start up
Exchange storage crashed at start up
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.22.x
Other Linux
: High critical
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
evolution[disk-summary]
: 545460 557180 560590 567610 567621 593838 (view as bug list)
Depends on:
Blocks: 543389
 
 
Reported: 2008-07-22 06:58 UTC by Akhil Laddha
Modified: 2009-09-02 04:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Akhil Laddha 2008-07-22 06:58:11 UTC
Evolution 2.23.5 (after Cameldb commit)

Gdb traces of exchange-storage-process

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb60886e0 (LWP 3626)]
0x0805f296 in mse_get_folder_online_sync_updates (key=0x4, value=0x2, user_data=0x8183428) at mail-stub-exchange.c:582
582		if (mmsg->seq != seq) {
(gdb) t a a bt

Thread 1 (Thread 0xb60886e0 (LWP 3626))

  • #0 mse_get_folder_online_sync_updates
    at mail-stub-exchange.c line 582
  • #1 IA__g_hash_table_foreach
    at ghash.c line 1076
  • #2 get_folder_contents_online
    at mail-stub-exchange.c line 805
  • #3 get_folder_online
    at mail-stub-exchange.c line 899
  • #4 get_folder
    at mail-stub-exchange.c line 1007
  • #5 connection_handler
    at mail-stub.c line 127
  • #6 g_io_unix_dispatch
    at giounix.c line 162
  • #7 IA__g_main_context_dispatch
    at gmain.c line 2068
  • #8 g_main_context_iterate
    at gmain.c line 2701
  • #9 IA__g_main_loop_run
    at gmain.c line 2924
  • #10 bonobo_main
    at bonobo-main.c line 311
  • #11 main
    at main.c line 278
  • #0 mse_get_folder_online_sync_updates
    at mail-stub-exchange.c line 582
  • #1 IA__g_hash_table_foreach
    at ghash.c line 1076
  • #2 get_folder_contents_online
    at mail-stub-exchange.c line 805
  • #3 get_folder_online
    at mail-stub-exchange.c line 899
  • #4 get_folder
    at mail-stub-exchange.c line 1007
  • #5 connection_handler
    at mail-stub.c line 127
  • #6 g_io_unix_dispatch
    at giounix.c line 162
  • #7 IA__g_main_context_dispatch
    at gmain.c line 2068
  • #8 g_main_context_iterate
    at gmain.c line 2701
  • #9 IA__g_main_loop_run
    at gmain.c line 2924
  • #10 bonobo_main
    at bonobo-main.c line 311
  • #11 main
    at main.c line 278

Comment 1 Akhil Laddha 2008-07-22 07:56:01 UTC
Crash is happening 3 out of 5 times.


Valgrind of exchange-storage process

==5552== 
==5552== Use of uninitialised value of size 4
==5552==    at 0x805F296: mse_get_folder_online_sync_updates (mail-stub-exchange.c:582)
==5552==    by 0x5C5EF55: g_hash_table_foreach (ghash.c:1076)
==5552==    by 0x80625EA: get_folder_contents_online (mail-stub-exchange.c:805)
==5552==    by 0x80627E0: get_folder_online (mail-stub-exchange.c:899)
==5552==    by 0x8062DF1: get_folder (mail-stub-exchange.c:1007)
==5552==    by 0x80651C1: connection_handler (mail-stub.c:127)
==5552==    by 0x5CA3D7C: g_io_unix_dispatch (giounix.c:162)
==5552==    by 0x5C6D177: g_main_context_dispatch (gmain.c:2068)
==5552==    by 0x5C70812: g_main_context_iterate (gmain.c:2701)
==5552==    by 0x5C70D31: g_main_loop_run (gmain.c:2924)
==5552==    by 0x56BE0A2: bonobo_main (bonobo-main.c:311)
==5552==    by 0x805B968: main (main.c:278)
==5552== 
==5552== Invalid read of size 4
==5552==    at 0x805F296: mse_get_folder_online_sync_updates (mail-stub-exchange.c:582)
==5552==    by 0x5C5EF55: g_hash_table_foreach (ghash.c:1076)
==5552==    by 0x80625EA: get_folder_contents_online (mail-stub-exchange.c:805)
==5552==    by 0x80627E0: get_folder_online (mail-stub-exchange.c:899)
==5552==    by 0x8062DF1: get_folder (mail-stub-exchange.c:1007)
==5552==    by 0x80651C1: connection_handler (mail-stub.c:127)
==5552==    by 0x5CA3D7C: g_io_unix_dispatch (giounix.c:162)
==5552==    by 0x5C6D177: g_main_context_dispatch (gmain.c:2068)
==5552==    by 0x5C70812: g_main_context_iterate (gmain.c:2701)
==5552==    by 0x5C70D31: g_main_loop_run (gmain.c:2924)
==5552==    by 0x56BE0A2: bonobo_main (bonobo-main.c:311)
==5552==    by 0x805B968: main (main.c:278)
==5552==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==5552== 
==5552== Process terminating with default action of signal 11 (SIGSEGV)
==5552==  Access not within mapped region at address 0x8
==5552==    at 0x805F296: mse_get_folder_online_sync_updates (mail-stub-exchange.c:582)
==5552==    by 0x5C5EF55: g_hash_table_foreach (ghash.c:1076)
==5552==    by 0x80625EA: get_folder_contents_online (mail-stub-exchange.c:805)
==5552==    by 0x80627E0: get_folder_online (mail-stub-exchange.c:899)
==5552==    by 0x8062DF1: get_folder (mail-stub-exchange.c:1007)
==5552==    by 0x80651C1: connection_handler (mail-stub.c:127)
==5552==    by 0x5CA3D7C: g_io_unix_dispatch (giounix.c:162)
==5552==    by 0x5C6D177: g_main_context_dispatch (gmain.c:2068)
==5552==    by 0x5C70812: g_main_context_iterate (gmain.c:2701)
==5552==    by 0x5C70D31: g_main_loop_run (gmain.c:2924)
==5552==    by 0x56BE0A2: bonobo_main (bonobo-main.c:311)
==5552==    by 0x805B968: main (main.c:278)
==5552== 
Comment 2 Akhil Laddha 2008-07-22 08:28:13 UTC
cann't use evolution with exchange, it crashes like hell :(
Comment 3 Bharath Acharya 2008-07-22 11:28:50 UTC
Committed to Trunk as r1697
http://svn.gnome.org/viewvc/evolution-exchange?view=revision&revision=1697

This patch would check for the index value over-running the size of the messages array. Since all messages not being fetched at start up we face this crash. Now it should fail unnoticingly. Users won't notice any change but the root problem needs to be fixed. 
Comment 4 Bharath Acharya 2008-07-25 10:39:01 UTC
Reducing the priority as per comment #3
Comment 5 Bharath Acharya 2008-08-22 07:13:25 UTC
This is fixed on trunk with the href being read properly from the db. Closing.
Comment 6 Milan Crha 2008-12-12 12:41:43 UTC
*** Bug 560590 has been marked as a duplicate of this bug. ***
Comment 7 Milan Crha 2008-12-12 12:46:19 UTC
*** Bug 557180 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2009-01-13 15:47:15 UTC
*** Bug 567610 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2009-01-13 20:28:41 UTC
*** Bug 567621 has been marked as a duplicate of this bug. ***
Comment 10 Akhil Laddha 2009-05-08 06:28:57 UTC
*** Bug 545460 has been marked as a duplicate of this bug. ***
Comment 11 Akhil Laddha 2009-09-02 04:55:28 UTC
*** Bug 593838 has been marked as a duplicate of this bug. ***