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 407187 - [2.10] crash in em_folder_tree_model_set_folder_info at em-folder-tree-model.c:444
[2.10] crash in em_folder_tree_model_set_folder_info at em-folder-tree-model....
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: general
2.10.x (obsolete)
Other All
: High critical
: ---
Assigned To: Matthew Barnes
Evolution QA team
aklapper[fc7]
: 430817 447797 463981 464324 466638 467081 468058 469248 470700 472110 474485 478291 478325 479392 479613 480283 480940 481026 481559 484749 484751 485578 486959 487320 487577 490234 490522 492193 493073 498641 498666 499612 502648 506283 508401 511739 518163 520272 524910 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-12 19:58 UTC by Shawn Wilson
Modified: 2009-09-21 10:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Shawn Wilson 2007-02-12 19:58:38 UTC
What were you doing when the application crashed?
I had just checked my MS Exchange settings in the preferences screen and clicked on 'close'.


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 282779648 vsize: 0 resident: 282779648 share: 0 rss: 56913920 rss_rlim: 0
CPU usage: start_time: 1171309739 rtime: 0 utime: 3132 stime: 0 cutime:2772 cstime: 0 timeout: 360 it_real_value: 0 frequency: 13807

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

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1233164624 (LWP 24963)]
[New Thread -1433416800 (LWP 25261)]
[New Thread -1388930144 (LWP 24997)]
[New Thread -1398805600 (LWP 24995)]
[New Thread -1390412896 (LWP 24994)]
[New Thread -1380394080 (LWP 24993)]
[New Thread -1371608160 (LWP 24991)]
[New Thread -1363215456 (LWP 24990)]
[New Thread -1354822752 (LWP 24987)]
[New Thread -1301558368 (LWP 24983)]
[New Thread -1292772448 (LWP 24982)]
[New Thread -1283286112 (LWP 24980)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1233164624 (LWP 24963))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libc.so.6
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 segv_redirect
    at main.c line 426
  • #4 <signal handler called>
  • #5 IA__g_str_hash
    at gstring.c line 95
  • #6 IA__g_hash_table_insert
    at ghash.c line 231
  • #7 em_folder_tree_model_set_folder_info
    at em-folder-tree-model.c line 444
  • #8 em_folder_tree_model_set_folder_info
    at em-folder-tree-model.c line 542
  • #9 em_folder_tree_model_set_folder_info
    at em-folder-tree-model.c line 542
  • #10 emft_get_folder_info__got
    at em-folder-tree.c line 1794
  • #11 mail_msgport_replied
    at mail-mt.c line 461
  • #12 g_io_unix_dispatch
    at giounix.c line 162
  • #13 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #14 g_main_context_iterate
    at gmain.c line 2677
  • #15 IA__g_main_loop_run
    at gmain.c line 2881
  • #16 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #17 main
    at main.c line 615
  • #0 __kernel_vsyscall

Comment 1 Sebastien Bacher 2007-04-01 18:12:03 UTC
Ubuntu bug on GNOME 2.18.0: https://launchpad.net/bugs/99818

"evolution crashes when changing the sent folder of an exchange account

Binary package hint: evolution

Ubuntu Feisty

ProblemType: Crash
Architecture: i386
Date: Sun Apr 1 18:18:46 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/evolution-2.10
Package: evolution 2.10.0-0ubuntu2
...
.

Thread 1 (process 22917)

  • #0 IA__g_str_hash
    at gstring.c line 95
  • #1 IA__g_hash_table_insert
    at ghash.c line 231
  • #2 em_folder_tree_model_set_folder_info
    at em-folder-tree-model.c line 444
  • #3 em_folder_tree_model_set_folder_info
    at em-folder-tree-model.c line 542
  • #4 emft_get_folder_info__got
    at em-folder-tree.c line 1794
  • #5 mail_msgport_replied
    at mail-mt.c line 473
  • #6 g_io_unix_dispatch
    at giounix.c line 162
  • #7 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #8 g_main_context_iterate
    at gmain.c line 2677
  • #9 IA__g_main_loop_run
    at gmain.c line 2881
  • #10 bonobo_main
    at bonobo-main.c line 311
  • #11 main
    at main.c line 611

Comment 2 palfrey 2007-07-31 21:35:37 UTC
Marking as NEW due to duplicates.
Comment 3 palfrey 2007-07-31 21:35:57 UTC
*** Bug 447797 has been marked as a duplicate of this bug. ***
Comment 4 palfrey 2007-07-31 21:36:45 UTC
*** Bug 430817 has been marked as a duplicate of this bug. ***
Comment 5 palfrey 2007-07-31 21:38:11 UTC
Bug 393505 is another possible duplicate.
Comment 6 Ashish 2007-08-10 11:29:10 UTC
Assign to Ashish.
Comment 7 André Klapper 2007-08-22 14:00:51 UTC
*** Bug 469248 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2007-08-22 14:01:01 UTC
*** Bug 467081 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2007-08-22 14:01:03 UTC
*** Bug 466638 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2007-08-22 14:01:09 UTC
*** Bug 464324 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2007-08-22 14:01:10 UTC
*** Bug 463981 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-08-22 14:01:30 UTC
*** Bug 468058 has been marked as a duplicate of this bug. ***
Comment 13 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 21:57:52 UTC
*** Bug 479392 has been marked as a duplicate of this bug. ***
Comment 14 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 21:58:36 UTC
*** Bug 470700 has been marked as a duplicate of this bug. ***
Comment 15 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 21:58:41 UTC
*** Bug 472110 has been marked as a duplicate of this bug. ***
Comment 16 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 22:00:17 UTC
*** Bug 474485 has been marked as a duplicate of this bug. ***
Comment 17 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 22:00:27 UTC
*** Bug 478291 has been marked as a duplicate of this bug. ***
Comment 18 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 22:00:35 UTC
*** Bug 478325 has been marked as a duplicate of this bug. ***
Comment 19 Diego Escalante Urrelo (not reading bugmail) 2007-09-23 22:01:20 UTC
*** Bug 479613 has been marked as a duplicate of this bug. ***
Comment 20 Susana 2007-10-06 12:17:46 UTC
*** Bug 480283 has been marked as a duplicate of this bug. ***
Comment 21 Susana 2007-10-06 12:17:54 UTC
*** Bug 480940 has been marked as a duplicate of this bug. ***
Comment 22 Susana 2007-10-06 12:18:01 UTC
*** Bug 481026 has been marked as a duplicate of this bug. ***
Comment 23 Susana 2007-10-06 12:18:09 UTC
*** Bug 481559 has been marked as a duplicate of this bug. ***
Comment 24 Akhil Laddha 2007-10-16 05:03:19 UTC
*** Bug 486959 has been marked as a duplicate of this bug. ***
Comment 25 Akhil Laddha 2007-10-16 05:05:45 UTC
*** Bug 484749 has been marked as a duplicate of this bug. ***
Comment 26 Akhil Laddha 2007-10-16 05:06:03 UTC
*** Bug 484751 has been marked as a duplicate of this bug. ***
Comment 27 Akhil Laddha 2007-10-16 05:06:25 UTC
*** Bug 485578 has been marked as a duplicate of this bug. ***
Comment 28 Akhil Laddha 2007-11-20 06:49:58 UTC
*** Bug 493073 has been marked as a duplicate of this bug. ***
Comment 29 Akhil Laddha 2007-11-20 06:50:13 UTC
*** Bug 492193 has been marked as a duplicate of this bug. ***
Comment 30 Akhil Laddha 2007-11-20 06:50:25 UTC
*** Bug 490522 has been marked as a duplicate of this bug. ***
Comment 31 Akhil Laddha 2007-11-20 06:50:53 UTC
*** Bug 487577 has been marked as a duplicate of this bug. ***
Comment 32 Akhil Laddha 2007-11-20 06:51:15 UTC
*** Bug 487320 has been marked as a duplicate of this bug. ***
Comment 33 Akhil Laddha 2007-11-20 06:51:35 UTC
*** Bug 490234 has been marked as a duplicate of this bug. ***
Comment 34 Akhil Laddha 2007-11-21 07:10:53 UTC
*** Bug 498666 has been marked as a duplicate of this bug. ***
Comment 35 Akhil Laddha 2007-11-21 07:11:13 UTC
*** Bug 498641 has been marked as a duplicate of this bug. ***
Comment 36 Akhil Laddha 2007-11-26 05:58:45 UTC
*** Bug 499612 has been marked as a duplicate of this bug. ***
Comment 37 Akhil Laddha 2007-12-10 06:09:44 UTC
*** Bug 502648 has been marked as a duplicate of this bug. ***
Comment 38 André Klapper 2007-12-15 12:06:47 UTC
except from the original report here (ubuntu 6.10), all duplicates are from fedora 7 (gnome 2.18.x).
there haven't been any non-fedora or fedora8 reports so far.
Comment 39 André Klapper 2008-01-18 12:30:36 UTC
*** Bug 508401 has been marked as a duplicate of this bug. ***
Comment 40 Matthew Barnes 2008-01-22 23:22:43 UTC
I think this is another case of assuming the contents of a CamelFolderInfo is valid.  Providers must allocate and initialize their own structs, so Evolution should not trust the contents until it's validated.

Perhaps Camel should provide a supporting function for this:

   gboolean camel_folder_info_is_valid (CamelFolderInfo *info);

But then the burden of checking falls on anything that needs folder info, and we'll forever be playing "Whack-a-Mole" with this issue.

Another option is to break the API and make CamelFolderInfo an opaque struct with a sufficient API for accessing and manipulating the data.  Camel would then have tighter control over the integrity of these structs.

Either option is equally painful.  I think making CamelFolderInfo opaque is the better long term approach, but would likely cause a ruckus in the short term.

CC'ing Srini for his thoughts.
Comment 41 Srinivasa Ragavan 2008-01-28 17:07:16 UTC
Matt, if you got some time read CamelDS. IIRC Notzed had some thoughts around this.
Comment 42 Matthew Barnes 2008-01-29 01:50:14 UTC
Everything he's describing sounds like it could be done with SQLite, but I fear it will be some time yet before I reach the depth of understanding Notzed had about the issues and tradeoffs in Camel.

In the meantime, I'll just shut up and fix the crash.  :)
Comment 43 Akhil Laddha 2008-02-28 06:31:58 UTC
*** Bug 511739 has been marked as a duplicate of this bug. ***
Comment 44 Akhil Laddha 2008-02-28 06:32:25 UTC
*** Bug 518163 has been marked as a duplicate of this bug. ***
Comment 45 Akhil Laddha 2008-03-06 14:52:31 UTC
*** Bug 520272 has been marked as a duplicate of this bug. ***
Comment 46 Susana 2008-03-29 12:36:39 UTC
*** Bug 524910 has been marked as a duplicate of this bug. ***
Comment 47 Akhil Laddha 2008-05-21 12:19:11 UTC
*** Bug 506283 has been marked as a duplicate of this bug. ***
Comment 48 André Klapper 2008-08-22 15:38:02 UTC
No duplicates for a few months, might be fixed.
Comment 49 Sebastien Bacher 2008-10-29 16:28:59 UTC
the ubuntu submitter doesn't get the crash in the current version
Comment 50 Akhil Laddha 2009-08-03 12:12:29 UTC
Did you get similar crash any time later ?  Can you please try in 2.24.x / 2.26.x and report back, thanks. 
Comment 51 Akhil Laddha 2009-09-21 10:58:30 UTC
Thanks for taking the time to report this bug; however, closing due to lack of
response of the reporter, sorry. if you still see this issue with a current
release of evolution (2.26.3 or later), please reopen. thanks in advance.