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 310966 - gw: evolution hangs after trying to rename a folder
gw: evolution hangs after trying to rename a folder
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: parthasarathi susarla
Evolution QA team
evolution[groupwise]
Depends on:
Blocks:
 
 
Reported: 2005-07-20 09:33 UTC by C Shilpa
Modified: 2013-09-13 00:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Patch for the bug (2.40 KB, patch)
2005-08-24 06:31 UTC, parthasarathi susarla
committed Details | Review

Description C Shilpa 2005-07-20 09:33:23 UTC
Version details: 2.3.5
Distribution/Version: SuSE 9.3

1. Right-click on a folder and select rename.
2. Type a different name and click on OK.
After the action is taken evolution hangs.
Here is the stack trace:

Comment 1 C Shilpa 2005-07-20 09:48:59 UTC
evolution hangs after sometime wrt the above scenario.
But if we try to rename folders one after another, ie,  rename a folder. Now
immediately after the folder is renamed rename another folder. Evolution hangs.
Here is the stack trace:

Thread 1 (Thread 1097744000 (LWP 16945))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 pthread_cond_wait
    from /lib/tls/libpthread.so.0
  • #5 e_mutex_lock
    at e-msgport.c line 1078
  • #6 camel_store_rename_folder
    at camel-store.c line 466
  • #7 em_folder_utils_rename_folder
    at em-folder-utils.c line 560
  • #8 emft_popup_rename_folder
    at em-folder-tree.c line 2082
  • #9 ep_activate
    at e-popup.c line 303
  • #10 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #12 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #14 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #15 gtk_widget_activate
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #16 gtk_menu_shell_activate_item
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #17 gtk_menu_shell_append
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #18 gtk_menu_attach_to_widget
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #19 gtk_marshal_BOOLEAN__VOID
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #20 g_closure_ref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #22 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #25 gtk_widget_get_default_style
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #26 gtk_propagate_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #27 gtk_main_do_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #28 gdk_add_client_message_filter
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #29 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #30 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #31 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #32 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #33 main
    at main.c line 602

Comment 2 Not Zed 2005-08-10 04:30:23 UTC
it may be this, the store getting locks out of order.

  • #4 pthread_cond_wait
    from /lib/tls/libpthread.so.0
  • #5 e_mutex_lock
    at e-msgport.c line 1078
  • #6 groupwise_refresh_folder
    at camel-groupwise-folder.c line 797
  • #7 store_refresh
    at camel-groupwise-store.c line 773


rename folder locks the store:folder_lock, then locks every renamed folder:lock
in turn

so make sure store refresh does the same i guess.
Comment 3 parthasarathi susarla 2005-08-24 06:31:43 UTC
Created attachment 51226 [details] [review]
Patch for the bug
Comment 4 vivek jain 2005-08-24 07:35:51 UTC
I have applied the patch, it works, I believe it should be ok to commit it.
Comment 5 parthasarathi susarla 2005-08-25 05:55:37 UTC
Patch committed on 24th august.
Comment 6 C Shilpa 2005-08-26 12:28:07 UTC
verified using evolution-2.3.8.0.200508260453-0.snap.novell.11.1. Marking bug as
verified.