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 722698 - Crash creating a new folder
Crash creating a new folder
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.11.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 667122 726074 726756 726839 735036 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-01-21 14:48 UTC by Fabiano Fidêncio
Modified: 2014-12-01 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug #722698 - Crash creating a new folder (1.44 KB, patch)
2014-01-21 14:49 UTC, Fabiano Fidêncio
reviewed Details | Review
Bug #722698 - Crash creating a new folder (1.31 KB, patch)
2014-01-21 15:53 UTC, Fabiano Fidêncio
committed Details | Review
61695f0 to push to 3-10 (1.07 KB, patch)
2014-08-04 07:44 UTC, Iain Lane
none Details | Review

Description Fabiano Fidêncio 2014-01-21 14:48:25 UTC
To reproduce:
- Open evolution
- Go to mail view
- Try to create a new folder

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffdc9cc25c in folder_tree_maybe_expand_row (model=0x1674120, tree_path=0x150a4b0, iter=0x7fffffffd4d0, folder_tree=0x1682350)
    at em-folder-tree.c:545
545             u = g_hash_table_lookup (priv->select_uris_table, key);
 
(gdb) bt
  • #0 folder_tree_maybe_expand_row
    at em-folder-tree.c line 545
  • #1 e_marshal_VOID__POINTER_POINTER
    at e-marshal.c line 1970
  • #2 g_closure_invoke
    at gclosure.c line 777
  • #3 signal_emit_unlocked_R
    at gsignal.c line 3586
  • #4 g_signal_emit_valist
    at gsignal.c line 3330
  • #5 g_signal_emit
    at gsignal.c line 3386
  • #6 em_folder_tree_model_set_folder_info
    at em-folder-tree-model.c line 1235
  • #7 folder_tree_model_folder_subscribed_cb
    at em-folder-tree-model.c line 1412
  • #8 g_closure_invoke
    at gclosure.c line 777
  • #9 signal_emit_unlocked_R
    at gsignal.c line 3586
  • #10 g_signal_emit_valist
    at gsignal.c line 3330
  • #11 g_signal_emit
    at gsignal.c line 3386
  • #12 subscribable_emit_folder_subscribed_cb
    at camel-subscribable.c line 78
  • #13 g_main_dispatch
    at gmain.c line 3066
  • #14 g_main_context_dispatch
    at gmain.c line 3642
  • #15 g_main_context_iterate
    at gmain.c line 3713
  • #16 g_main_loop_run
    at gmain.c line 3907
  • #17 gtk_main
    from /lib64/libgtk-3.so.0
  • #18 main
    at main.c line 680

From an IRC talk with Matthew Barnes:
12:28 <@  mbarnes> fidencio: looks like the signal IDs "loading_row_id" and "loaded_row_id" never get disconnected in EMFolderTree
12:28 <@  mbarnes> fidencio: which means the signals will fire after EMFolderTree is finalized
12:29 <@  mbarnes> "selection_changed_handler_id" too, for that matter
Comment 1 Fabiano Fidêncio 2014-01-21 14:49:23 UTC
Created attachment 266876 [details] [review]
Bug #722698 - Crash creating a new folder
Comment 2 Matthew Barnes 2014-01-21 15:45:01 UTC
You're disconnecting "loading_row_id" twice, but otherwise looks good.
Comment 3 Fabiano Fidêncio 2014-01-21 15:53:54 UTC
Created attachment 266894 [details] [review]
Bug #722698 - Crash creating a new folder
Comment 4 Fabiano Fidêncio 2014-01-21 15:55:18 UTC
Attachment 266894 [details] pushed as 555912b - Bug #722698 - Crash creating a new folder
Comment 5 Matthew Barnes 2014-01-21 15:55:36 UTC
Review of attachment 266894 [details] [review]:

Good to go.
Comment 6 Jürg Billeter 2014-02-13 15:53:51 UTC
It looks like this bug is present in the recently released Evolution 3.10.4. I've verified that the patch works on top of 3.10.4. Ok to push it to the gnome-3-10 branch?
Comment 7 Matthew Barnes 2014-02-13 16:49:08 UTC
Sure, although I don't know if we're doing another 3.10 release.
Comment 8 Jürg Billeter 2014-02-13 18:29:36 UTC
Ok, pushed to gnome-3-10 just in case. Might be useful even without release for distros cherry-picking fixes (or directly building from git stable branches).
Comment 9 Milan Crha 2014-02-18 06:40:49 UTC
*** Bug 667122 has been marked as a duplicate of this bug. ***
Comment 10 Matthew Barnes 2014-03-12 12:28:37 UTC
*** Bug 726074 has been marked as a duplicate of this bug. ***
Comment 11 Milan Crha 2014-03-20 07:49:50 UTC
*** Bug 726756 has been marked as a duplicate of this bug. ***
Comment 12 Milan Crha 2014-03-27 10:40:09 UTC
*** Bug 726839 has been marked as a duplicate of this bug. ***
Comment 13 Sasa Ostrouska 2014-04-15 17:40:48 UTC
Just as a note, we have applied this patch over the 3.10.4 build, but now every time I try to create a new folder the folder is created correctly but its displayed like it was a tree of folders. Of course clicking on the small triangle on the left side of the folder trying to expand the tree it does not expand nothing as there is only one folder and not a tree of them.
Comment 14 Milan Crha 2014-04-16 17:56:27 UTC
When you are talking about it, I see it too. I noticed it, but didn't know it was caused by this patch. I'd like to fix it soon.
Comment 15 Sasa Ostrouska 2014-04-16 18:13:13 UTC
I noticed it, because before without the patch it was crashing , but later when i applied the patch i tried that if it fixed it and noticed immediately this thing. Fix is very welcome also for a 3.10.x series.
Comment 16 Milan Crha 2014-04-17 12:00:57 UTC
The problem is not caused by a patch here, it is caused by this commit:
https://git.gnome.org/browse/evolution/commit/?id=b0106cc8
Comment 17 Milan Crha 2014-04-17 12:51:35 UTC
I made changes on both evolution-data-server and evolution sides. It'll not fix everything, but the most cases and creation of folders under On This Computer it will. Backport of the patches to 3.10.4 might be simple.

Created commit fbec8fe in eds master (3.13.1+) [1]
Created commit 61695f0 in evo master (3.13.1+) [2]

Created commit 5cc6ad8 in eds evolution-data-server-3-12 (3.12.2+)
Created commit 2aae852 in evo evolution-3-12 (3.12.2+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=fbec8fe
[2] https://git.gnome.org/browse/evolution/commit/?id=61695f0
Comment 18 Iain Lane 2014-08-04 07:44:31 UTC
Created attachment 282422 [details] [review]
61695f0 to push to 3-10

fbec8fe cherry-picks cleanly

61695f0 requires a small adjustment - attached.

Would you please push both to gnome-3-10?
Comment 19 Milan Crha 2014-08-27 06:45:13 UTC
(In reply to comment #18)
> Would you please push both to gnome-3-10?

I'm not a fan of applying changes to dead branches, I'm sorry. Distributions can find your change here.
Comment 20 Milan Crha 2014-12-01 15:13:30 UTC
*** Bug 735036 has been marked as a duplicate of this bug. ***