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 665986 - [abrt] Crash when failed to get a message from a server
[abrt] Crash when failed to get a message from a server
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Mail
3.4.x
Other Linux
: Normal critical
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-12-12 09:05 UTC by Milan Crha
Modified: 2012-07-26 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ews patch (2.22 KB, patch)
2012-07-24 18:06 UTC, Milan Crha
committed Details | Review
ews patch ][ (1004 bytes, patch)
2012-07-26 13:43 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2011-12-12 09:05:44 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=761609

libreport version: 2.0.7
abrt_version:   2.0.6
backtrace_rating: 4
cmdline:        evolution
comment:        Running evolution with EWS enabled, checking mail and moving
mail to another folder
crash_function: camel_ews_folder_get_message
executable:     /usr/bin/evolution
kernel:         3.1.2-1.fc16.x86_64
pid:            22880
reason:         Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
time:           Thu 08 Dec 2011 16:22:28 GMT

Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.

Thread 6 (Thread 0x7f86f3e76980 (LWP 22880))

  • #0 ews_cancel_request
    at e-ews-connection.c line 340
  • #1 g_closure_invoke
    at gclosure.c line 774
  • #2 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #3 g_signal_emit_valist
    at gsignal.c line 3003
  • #4 g_signal_emit
    at gsignal.c line 3060
  • #5 g_cancellable_cancel
    at gcancellable.c line 507
  • #6 mail_reader_message_selected_cb
    at e-mail-reader.c line 2747
  • #7 g_closure_invoke
    at gclosure.c line 774
  • #8 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #9 g_signal_emit_valist
    at gsignal.c line 3003
  • #10 g_signal_emit
    at gsignal.c line 3060
  • #11 on_cursor_activated_idle
    at message-list.c line 4040
  • #12 g_main_dispatch
    at gmain.c line 2425
  • #13 g_main_context_dispatch
    at gmain.c line 2995
  • #14 g_main_context_iterate
    at gmain.c line 3073
  • #15 g_main_loop_run
    at gmain.c line 3281
  • #16 gtk_main
    at gtkmain.c line 1362
  • #17 main
    at main.c line 696

Thread 3 (Thread 0x7f86ec4e6700 (LWP 22882))

  • #0 read
    from /lib64/libpthread.so.0
  • #1 read
    at /usr/include/bits/unistd.h line 45
  • #2 unix_signal_helper_thread
    at gmain.c line 4551
  • #3 g_thread_create_proxy
    at gthread.c line 1962
  • #4 start_thread
    from /lib64/libpthread.so.0
  • #5 clone
    from /lib64/libc.so.6

Comment 1 Milan Crha 2012-07-24 15:06:14 UTC
Yes another downstream bug report from 3.4.3:
https://bugzilla.redhat.com/show_bug.cgi?id=842273

in camel_ews_folder_get_message (error=0xa5f3505c, cancellable=0xf70e988, uid=0x10562c00 "...", folder=0x88cc5f0, pri=<optimized out>) at camel-ews-folder.c:458
      mime_content = e_ews_item_get_mime_content (items->data);

Thread 2 (Thread 0xb76b18c0 (LWP 1540))

  • #0 ews_cancel_request
    at e-ews-connection.c line 450
  • #1 g_cclosure_marshal_VOID__VOIDv
    at gmarshal.c line 115
  • #2 _g_closure_invoke_va
    at gclosure.c line 840
  • #3 g_signal_emit_valist
    at gsignal.c line 3211
  • #4 g_signal_emit
    at gsignal.c line 3356
  • #5 g_cancellable_cancel
    at gcancellable.c line 507
  • #6 mail_reader_message_selected_cb
    at e-mail-reader.c line 2760
  • #7 g_cclosure_marshal_VOID__STRING
    at gmarshal.c line 964
  • #8 g_closure_invoke
    at gclosure.c line 777
  • #9 signal_emit_unlocked_R
    at gsignal.c line 3551
  • #10 g_signal_emit_valist
    at gsignal.c line 3300
  • #11 g_signal_emit
    at gsignal.c line 3356
  • #12 on_cursor_activated_idle
    at message-list.c line 3987
  • #13 g_idle_dispatch
    at gmain.c line 4657
  • #14 g_main_dispatch
    at gmain.c line 2539
  • #15 g_main_context_dispatch
    at gmain.c line 3075
  • #16 g_main_context_iterate
    at gmain.c line 3146
  • #17 g_main_loop_run
    at gmain.c line 3340
  • #18 gtk_main
    at gtkmain.c line 1161
  • #19 main
    at main.c line 681

Comment 2 Milan Crha 2012-07-24 18:06:19 UTC
Created attachment 219597 [details] [review]
ews patch

for evolution-ews;

This should fix the issue, though it's just kind of workaround, because I do not know what exactly failed here. It also introduces new strings, but as with the Basic authentication patch, it might not be an issue in ews.
Comment 3 Milan Crha 2012-07-24 18:09:46 UTC
Created commit 152c097 in ews master (3.5.5+)
Created commit 959c78e in ews gnome-3-4 (3.4.4+)
Comment 4 Milan Crha 2012-07-24 18:13:03 UTC
I'm building a test package at [1] with the patch included for Fedora 17, it'll be evolution-ews-3.4.3-1.12.fc17. Please give it a try.

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=4326370
Comment 5 Milan Crha 2012-07-26 13:35:04 UTC
Err, it turned out [1] that my change was too "aggressive", sending emails resulted in "No items found" error, which is wrong. As Reid mentioned,
the message was properly sent, only evolution claimed this misleading error.

[1] thanks Reid,
    https://mail.gnome.org/archives/evolution-hackers/2012-July/msg00023.html
Comment 6 Milan Crha 2012-07-26 13:43:35 UTC
Created attachment 219690 [details] [review]
ews patch ][

for evolution-ews;

This is updated patch, with reverted parts.

Created commit 98dbe0a in ews masater (3.5.5+)
Created commit 46cc222 in ews gnome-3-4 (3.4.4+)


I'm building evolution-ews-3.4.3-1.13.fc17 with updated patch at:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4331201