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 704181 - Froze while filtering messages
Froze while filtering messages
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.8.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[filters]
: 700850 704231 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-07-14 01:07 UTC by André Klapper
Modified: 2013-08-09 15:45 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8


Attachments
eds patch (1.39 KB, patch)
2013-07-18 16:53 UTC, Milan Crha
committed Details | Review

Description André Klapper 2013-07-14 01:07:59 UTC
evolution-3.8.3-2.fc19.i686 froze while just scrolling through the message list of my IMAP+ account.

gdb -p 123 output:


Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3600.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
(gdb) thread apply all bt


(gdb) list
428	
429		g_object_unref (settings);
430	
431		return shell;
432	}
433	
434	gint
435	main (gint argc,
436	      gchar **argv)
437	{

(gdb) info registers
eax            0xfffffe00	-512
ecx            0x80	128
edx            0x1	1
ebx            0xc4c04e4	206308580
esp            0xbfebb428	0xbfebb428
ebp            0x1	0x1
esi            0x0	0
edi            0x8cdec30	147713072
eip            0xb77c2424	0xb77c2424 <__kernel_vsyscall+16>
eflags         0x200206	[ PF IF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
Comment 1 Matthew Barnes 2013-07-14 01:32:50 UTC
Filtering actions still block the UI.  Major rewrite needed.
Comment 2 Matthew Barnes 2013-07-15 11:50:21 UTC
*** Bug 704231 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2013-07-15 12:08:23 UTC
...which triggers gnome-shell's
   “Inbox (26 unread, 1970 total) - Evolution” is not responding.
   You may choose to wait a short while for it to continue or 
   force the application to quit entirely.
a few times every day for me. 
So much for gnome-shell not being disruptive, to "do your work". ;)
Comment 4 Milan Crha 2013-07-18 16:53:05 UTC
Created attachment 249548 [details] [review]
eds patch

for evolution-data-server;

An "interim" solution. I do not think it's a fault of the CamelFolder, it's rather a fault of the imapx, and some other consecutive changes, like the job scheduler, calling free function in the main thread, instead of a dedicated thread.
Comment 5 Milan Crha 2013-07-18 16:56:10 UTC
Created commit 2524e6b in eds master (3.9.5+)
Created commit 8bbf459 in eds gnome-3-8 (3.8.4+)
Comment 6 Matthew Barnes 2013-07-18 17:15:29 UTC
(In reply to comment #4)
> An "interim" solution. I do not think it's a fault of the CamelFolder, it's
> rather a fault of the imapx, and some other consecutive changes, like the job
> scheduler, calling free function in the main thread, instead of a dedicated
> thread.

It's the fault of CamelFilterDriver for blocking in its finalize() method.
finalize() methods should never ever block.
Comment 7 André Klapper 2013-07-18 19:53:36 UTC
Thanks a lot; looking forward to the package update in F19.
Comment 8 Milan Crha 2013-08-09 15:45:37 UTC
*** Bug 700850 has been marked as a duplicate of this bug. ***