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 694647 - Crash in flush Outbox after Forward filter
Crash in flush Outbox after Forward filter
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-02-25 05:14 UTC by Philip Wyett
Modified: 2013-02-27 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (582 bytes, patch)
2013-02-27 19:22 UTC, Milan Crha
committed Details | Review

Description Philip Wyett 2013-02-25 05:14:58 UTC
Creating a filter to forward to another email address sends to outbox but does send email.

---

Making a filter to forward to another email address, sends the message to the outbox. But then it will not be send, it stays in the outbox.

What should happen:

If i make a filter to forward to an email, it will be send.

What does happen:

The redirected mail(s) stays in the outbox and is not sent.
Comment 1 Matthew Barnes 2013-02-25 06:04:40 UTC
Try: gsettings set org.gnome.evolution.mail flush-outbox true

   org.gnome.evolution.mail

   Name: flush-outbox

   Summary: Flush Outbox after filtering

   Description: Whether to flush Outbox after filtering is done. Outbox
   flush will happen only when there was used any 'Forward to' filter
   action and approximately one minute after the last action invocation.
Comment 2 Philip Wyett 2013-02-25 08:42:22 UTC
After setting the option as described and running a test of forwarding using a filter. Evolution crashed and gave the following trace.

Stacktrace:
 #0  0x00007f247d584619 in g_mutex_get_impl (mutex=0x0) at /build/buildd/glib2.0-2.35.8/./glib/gthread-posix.c:121
         impl = <optimised out>
 #1  0x00007f247d5848a9 in g_mutex_unlock (mutex=<optimised out>) at /build/buildd/glib2.0-2.35.8/./glib/gthread-posix.c:229
         _g_boolean_var_ = <optimised out>
         status = <optimised out>
 #2  0x00007f2460c4b406 in session_forward_to_flush_outbox_cb (user_data=<error reading variable: value has been optimised out>) at e-mail-session.c:280
         session = 0x7f2481f1e280
 #3  0x00007f247d545a9b in g_timeout_dispatch (source=source@entry=0x7f242c01f830, callback=<optimised out>, user_data=<optimised out>) at /build/buildd/glib2.0-2.35.8/./glib/gmain.c:4413
         timeout_source = <optimised out>
         again = <optimised out>
 #4  0x00007f247d544e85 in g_main_dispatch (context=0x7f2481e01df0) at /build/buildd/glib2.0-2.35.8/./glib/gmain.c:3054
         dispatch = 0x7f247d545a80 <g_timeout_dispatch>
         was_in_call = 0
         user_data = 0x7f2481f1e280
         callback = 0x7f2460c4b3c0 <session_forward_to_flush_outbox_cb>
         cb_funcs = 0x7f247d7f6a00 <g_source_callback_funcs>
         cb_data = 0x7f242c01fb50
         current_source_link = {data = 0x7f242c01f830, next = 0x0}
         need_destroy = <optimised out>
         source = 0x7f242c01f830
         current = 0x7f2481e4b0b0
         i = <optimised out>
 #5  g_main_context_dispatch (context=context@entry=0x7f2481e01df0) at /build/buildd/glib2.0-2.35.8/./glib/gmain.c:3630
 No locals.
 #6  0x00007f247d5451c8 in g_main_context_iterate (context=0x7f2481e01df0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimised out>) at /build/buildd/glib2.0-2.35.8/./glib/gmain.c:3701
         max_priority = 2147483647
         timeout = 4834
         some_ready = 1
         allocated_nfds = <optimised out>
         fds = 0x7f2482896c20
         nfds = <optimised out>
 #7  0x00007f247d54563a in g_main_loop_run (loop=0x7f24821c4360) at /build/buildd/glib2.0-2.35.8/./glib/gmain.c:3895
         __PRETTY_FUNCTION__ = "g_main_loop_run"
 #8  0x00007f247df3c4a5 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 No symbol table info available.
 #9  0x00007f24812db299 in main (argc=1, argv=0x7fff4b7f8e18) at main.c:711
         shell = 0x7f2481e161a0
         settings = <optimised out>
         error = 0x0
Comment 3 Milan Crha 2013-02-27 19:17:21 UTC
Thanks for a bug report. I can confirm this, I get the crash too, but only in 3.6.x, not with git master.
Comment 4 Milan Crha 2013-02-27 19:22:32 UTC
Created attachment 237559 [details] [review]
evo patch

for evolution;

Ugly typo in the code.
Comment 5 Milan Crha 2013-02-27 19:23:34 UTC
Created commit 235a344 in evo gnome-3-6 (3.6.4+)