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 357795 - Segfault deleting a search folder
Segfault deleting a search folder
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.12.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-09-26 12:05 UTC by Sebastien Bacher
Modified: 2008-04-30 10:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Sebastien Bacher 2006-09-26 12:05:46 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/evolution/+bug/46455

"Description of the problem:
Sometimes if you delete a used search folder evolution will crash with a segfault.

Steps to reproduce (assumes an existing profile)
1. Start evolution .
2. Press Shift+Ctrl-S to bring up the preferences window and click on the Add button.
3. Type example@example.com in the Email Address field and click forward.
4. Select a server type of USENET news and put news.gmane.org in the server field. Clear the username field so it is empty and click forward.
5. Click forward.
6. Change the server type to sendmail and click forward.
7. Change the Name to gmanetest and click foward.
8. Click apply.
9. Click the close button in the Evolution Preferences window.
10. Go the menu Folder -> Subscriptions.
11. Change the server to gmanetest. When it finishes searching click on gmane -> gmane.linux -> gmane.linux.ubuntu and tick gmane.linux.ubuntu.devel . Click close.
12. In evolution's main window click on Folder -> New.
13. Type recentdevel in the Folder name field then select Search Folders. Click on the Create button.
14. In the New Search Folder window click on the Add button. Change Sender to "Date Sent". Change is to "is after". Click on the <click here to select a date> button.
...
15. In the Select a time window change the "current time" in Compare against to "a time relative to the current time". Ensure a 1 is in the left hand field and change seconds to months. Click OK.
16. Back in the New Search Folder window click on the Add button under Search Folder Sources. In the Select Folder window open up gmanetest and select g.l.u.devel. Click the Add button.
17. Back in the New Search Folder window click on OK.
18. At the left of the main Evolution window open the search folder branch and click on recentdevel. This should cause it to find matching messages. If it remains empty close and restart evolution and repeat step 18.
19. With the recentdevel folder open and displaying its message press the right mouse button over it in the left hand pane and go to Delete. In the Delete window click the Delete button.

Expected result:
Main window to be refereshed. Search folder to be deleted.

Actual result:
Evolution segfaults. Upon restarting search folder is deleted.

Additional information:
Reproduced with a clean profile.
...
> Thanks for your bug. That works fine for me. Could you get a backtrace with evolution-data-server and evolution-dbg installed?
...
http://librarian.launchpad.net/2952898/evolution-searchfolder-backtrace-withsymols.txt
Evolution search folder deletetion segfault backtrace (with requested debug symbols)

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

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Core was generated by `evolution --component=mail'.
Program terminated with signal 11, Segmentation fault.
  • #0 ??
  • #0 ??
  • #1 camel_message_info_user_tag
    from /usr/lib/libcamel-provider-1.2.so.8
  • #2 camel_vee_store_new
    from /usr/lib/libcamel-provider-1.2.so.8
  • #3 camel_message_info_user_tag
    from /usr/lib/libcamel-provider-1.2.so.8
  • #4 ml_tree_value_at
    at message-list.c line 1253
  • #5 etmc_value_at
    at e-tree-memory-callbacks.c line 104
  • #6 e_tree_model_value_at
    at e-tree-model.c line 783
  • #7 etta_value_at
    at e-tree-table-adapter.c line 611
  • #8 e_table_model_value_at
    at e-table-model.c line 130
  • #9 ect_draw
    at e-cell-text.c line 726
  • #10 e_cell_draw
    at e-cell.c line 277
  • #11 eti_draw
    at e-table-item.c line 2001
  • #12 gnome_canvas_item_move
    from /usr/lib/libgnomecanvas-2.so.0
  • #13 gnome_canvas_item_new
    from /usr/lib/libgnomecanvas-2.so.0
  • #14 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 g_type_class_meta_marshal
    at gclosure.c line 567
  • #16 IA__g_closure_invoke
    at gclosure.c line 490
  • #17 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #18 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #19 IA__g_signal_emit
    at gsignal.c line 2241

Comment 1 Sebastien Bacher 2006-09-26 12:23:09 UTC
It's happening with GNOME 2.16.0 too, debug backtrace from it:

"Program received signal SIGSEGV, Segmentation fault.

Thread 47100543369056 (LWP 28065)

  • #0 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #1 ??
  • #2 ??
  • #3 msg_private.9715
    from /usr/lib64/libglib-2.0.so.0
  • #4 camel_message_info_free
    at camel-folder-summary.c line 2786
  • #5 clear_info
    at message-list.c line 2316
  • #6 IA__g_hash_table_foreach
    at ghash.c line 662
  • #7 clear_tree
    at message-list.c line 2335
  • #8 regen_list_regened
    at message-list.c line 2768
  • #9 mail_msgport_replied
    at mail-mt.c line 461
  • #10 IA__g_main_context_dispatch
    at gmain.c line 2045

Comment 2 Sitsofe Wheeler 2007-08-31 09:23:06 UTC
Still here in
Ubuntu Gutsy
evolution 2.11.91-0ubuntu1

Can the version number that this bug is against be bumped up?
Comment 3 Matthew Barnes 2008-03-11 00:33:30 UTC
Bumping version to a stable release.
Comment 4 Sitsofe Wheeler 2008-04-16 11:58:25 UTC
I can no longer reproduce this bug in Ubuntu Hardy evolution 2.22.1-0ubuntu2 ...
Comment 5 Akhil Laddha 2008-04-30 10:55:07 UTC
Closing as per comment#4