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 692688 - [abrt] Crash in strip_html_tags()
[abrt] Crash in strip_html_tags()
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Calendar
3.6.x
Other Linux
: Normal critical
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-01-28 09:18 UTC by Milan Crha
Modified: 2013-01-28 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ews patch (1.25 KB, patch)
2013-01-28 11:25 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2013-01-28 09:18:38 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=904236

Description of problem:
I clicked on "calendar", and it crashed. Appears the EWS access to the Calendar is having a problem.

Version-Release number of selected component:
evolution-data-server-3.6.2-3.fc18

Additional info:
backtrace_rating: 4
cmdline:        /usr/libexec/evolution-calendar-factory
crash_function: strip_html_tags
executable:     /usr/libexec/evolution-calendar-factory
kernel:         3.7.2-201.fc18.x86_64

Core was generated by `/usr/libexec/evolution-calendar-factory'.
Program terminated with signal 11, Segmentation fault.

Thread 9 (Thread 0x7fb257274800 (LWP 30075))

  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #1 g_main_context_poll
    at gmain.c line 3584
  • #2 g_main_context_iterate
    at gmain.c line 3285
  • #3 g_main_loop_run
    at gmain.c line 3484
  • #4 dbus_server_run_server
    at e-dbus-server.c line 222
  • #5 ffi_call_unix64
    at ../src/x86/unix64.S line 75
  • #6 ffi_call
    at ../src/x86/ffi64.c line 486
  • #7 g_cclosure_marshal_generic_va
    at gclosure.c line 1550
  • #8 _g_closure_invoke_va
    at gclosure.c line 840
  • #9 g_signal_emit_valist
    at gsignal.c line 3211
  • #10 g_signal_emit
    at gsignal.c line 3356
  • #11 e_dbus_server_run
    at e-dbus-server.c line 396
  • #12 main
    at evolution-calendar-factory.c line 137

Comment 1 Milan Crha 2013-01-28 11:25:59 UTC
Created attachment 234605 [details] [review]
ews patch

for evolution-ews;

Even I cannot reproduce this (my server doesn't return HTML body for a task), I see what could cause this crash, thus I changed the strip_html_tags() to avoid the crash. It's not perfect, but it'll not crash anymore.
Comment 2 Milan Crha 2013-01-28 11:28:40 UTC
Created commit 0f1d6c5 in ews master (3.7.5+)
Created commit bbc6124 in ews gnome-3-6 (3.6.4+)