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 640382 - [abrt] Prevent a crash in e_week_view_on_text_item_event()
[abrt] Prevent a crash in e_week_view_on_text_item_event()
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.8.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 655232 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-01-24 08:03 UTC by Milan Crha
Modified: 2013-10-17 09:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (workaround) (1.37 KB, patch)
2013-10-17 09:21 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2011-01-24 08:03:54 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=672114

abrt version: 1.1.14
architecture: i686
Attached file: backtrace
cmdline: /usr/bin/evolution
comment: Sometimes (without any particular regularity) evolution crashes
whenever a day is clicked on in the calendar viewing mode (this happened here
again)
component: evolution
crash_function: e_week_view_on_text_item_event
executable: /usr/bin/evolution
kernel: 2.6.35.10-74.fc14.i686
package: evolution-2.32.1-1.fc14
rating: 4
reason: Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1295827884
uid: 500

How to reproduce
-----
1. Click on a date entry in the calendar

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

Thread 1 (Thread 16233)

  • #0 e_week_view_on_text_item_event
    at e-week-view.c line 3706
  • #1 gnome_canvas_marshal_BOOLEAN__BOXED
    at gnome-canvas-marshal.c line 128
  • #2 g_closure_invoke
    at gclosure.c line 766
  • #3 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #4 g_signal_emit_valist
    at gsignal.c line 2993
  • #5 g_signal_emit
    at gsignal.c line 3040
  • #6 emit_event
    at gnome-canvas.c line 2648
  • #7 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #8 g_type_class_meta_marshal
    at gclosure.c line 877
  • #9 g_closure_invoke
    at gclosure.c line 766
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #11 g_signal_emit_valist
    at gsignal.c line 2993
  • #12 g_signal_emit
    at gsignal.c line 3040
  • #13 gtk_widget_event_internal
    at gtkwidget.c line 4992
  • #14 IA__gtk_propagate_event
    at gtkmain.c line 2460
  • #15 IA__gtk_main_do_event
    at gtkmain.c line 1665
  • #16 gdk_event_dispatch
    at gdkevents-x11.c line 2377
  • #17 g_main_dispatch
    at gmain.c line 2149
  • #18 g_main_context_dispatch
    at gmain.c line 2702
  • #19 g_main_context_iterate
    at gmain.c line 2780
  • #20 g_main_loop_run
    at gmain.c line 2988
  • #21 IA__gtk_main
    at gtkmain.c line 1237
  • #22 main
    at main.c line 679

Comment 1 Fabio Durán Verdugo 2011-07-25 03:34:53 UTC
*** Bug 655232 has been marked as a duplicate of this bug. ***
Comment 2 Milan Crha 2012-08-03 11:04:25 UTC
Another downstream bug from evolution 3.4.3:
https://bugzilla.redhat.com/show_bug.cgi?id=845384

Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.
0x0000003dbee8d56b in e_week_view_on_text_item_event (item=item@entry=0x333e400 [EText], gdkevent=0x1fdbe40, week_view=0x2eebbf0 [EWeekView]) at e-week-view.c:3678
3678			pevent->x = ((GdkEventMotion *) gdkevent)->x_root;

Thread 1 (Thread 0x7f8fa85cd9c0 (LWP 2590))

  • #0 e_week_view_on_text_item_event
    at e-week-view.c line 3678
  • #1 gnome_canvas_marshal_BOOLEAN__BOXED
    at gnome-canvas-marshal.c line 128
  • #2 g_closure_invoke
    at gclosure.c line 777
  • #3 signal_emit_unlocked_R
    at gsignal.c line 3551
  • #4 g_signal_emit_valist
    at gsignal.c line 3310
  • #5 g_signal_emit
    at gsignal.c line 3356
  • #6 emit_event
    at gnome-canvas.c line 2372
  • #7 emit_event
    at gnome-canvas.c line 2258
  • #8 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #9 g_closure_invoke
    at gclosure.c line 777
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3589
  • #11 g_signal_emit_valist
    at gsignal.c line 3310
  • #12 g_signal_emit
    at gsignal.c line 3356
  • #13 gtk_widget_event_internal
    at gtkwidget.c line 6380
  • #14 gtk_widget_event
    at gtkwidget.c line 6037
  • #15 propagate_event_up
    at gtkmain.c line 2390
  • #16 propagate_event
    at gtkmain.c line 2490
  • #17 gtk_main_do_event
    at gtkmain.c line 1713
  • #18 gdk_event_source_dispatch
    at gdkeventsource.c line 358
  • #19 g_main_dispatch
    at gmain.c line 2539
  • #20 g_main_context_dispatch
    at gmain.c line 3075
  • #21 g_main_context_iterate
    at gmain.c line 3146
  • #22 g_main_loop_run
    at gmain.c line 3340
  • #23 gtk_main
    at gtkmain.c line 1161
  • #24 main
    at main.c line 681

Comment 3 Milan Crha 2012-08-03 11:05:24 UTC
Err, I forgot about comment and xsession_errors:

Deleting a calendar all day event (A birthday, I had the date wrong but it was in three different calendars).

xsession_errors:
:(evolution:2590): Gtk-CRITICAL **: gtk_targets_include_uri: assertion `targets != NULL || n_targets == 0' failed
:(evolution:2590): Gtk-CRITICAL **: gtk_targets_include_text: assertion `targets != NULL || n_targets == 0' failed
:(evolution:2590): Gtk-CRITICAL **: gtk_targets_include_image: assertion `targets != NULL || n_targets == 0' failed
:(evolution:2590): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
:(evolution:2590): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
:(evolution:2590): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject'
:(evolution:2590): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
:(evolution:2590): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
:(evolution:2590): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
:(evolution:2590): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject'
:(evolution:2590): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
:(evolution:2590): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GObject'
:(evolution:2590): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
:(evolution:2590): calendar-gui-WARNING **: tooltip_get_view_event: index 2 is out of bounds [0,2) at array 0xd83e60
:(evolution:2590): calendar-gui-WARNING **: tooltip_get_view_event: index 2 is out of bounds [0,2) at array 0xd83e60
:(evolution:2590): calendar-gui-WARNING **: tooltip_get_view_event: index 2 is out of bounds [0,2) at array 0xd83e60
Comment 4 Milan Crha 2013-10-14 10:22:26 UTC
Downstream bug report about the same from 3.8.5:
https://bugzilla.redhat.com/show_bug.cgi?id=1018589

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

Thread 1 (Thread 0x7f2542574a40 (LWP 2183))

  • #0 e_week_view_on_text_item_event
    at e-week-view.c line 3929
  • #1 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #2 ffi_call
    at ../src/x86/ffi64.c line 522
  • #3 g_cclosure_marshal_generic
    at gclosure.c line 1454
  • #4 g_closure_invoke
    at gclosure.c line 777
  • #5 signal_emit_unlocked_R
    at gsignal.c line 3584
  • #6 g_signal_emit_valist
    at gsignal.c line 3338
  • #7 g_signal_emit
    at gsignal.c line 3384
  • #8 emit_event
    at gnome-canvas.c line 2446
  • #9 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #10 g_closure_invoke
    at gclosure.c line 777
  • #11 signal_emit_unlocked_R
    at gsignal.c line 3622
  • #12 g_signal_emit_valist
    at gsignal.c line 3338
  • #13 g_signal_emit
    at gsignal.c line 3384
  • #14 gtk_widget_event_internal
    at gtkwidget.c line 6714
  • #15 gtk_widget_event
    at gtkwidget.c line 6371
  • #16 propagate_event_up
    at gtkmain.c line 2393
  • #17 propagate_event
    at gtkmain.c line 2501
  • #18 gtk_main_do_event
    at gtkmain.c line 1716
  • #19 _gdk_display_flush_events
    at gdkdisplay.c line 2035
  • #20 gdk_window_flush_events
    at gdkwindow.c line 11610
  • #21 _g_closure_invoke_va
    at gclosure.c line 840
  • #22 g_signal_emit_valist
    at gsignal.c line 3234
  • #23 g_signal_emit_by_name
    at gsignal.c line 3424
  • #24 gdk_frame_clock_flush_idle
    at gdkframeclockidle.c line 312
  • #25 gdk_threads_dispatch
    at gdk.c line 788
  • #26 g_timeout_dispatch
    at gmain.c line 4413
  • #27 g_main_dispatch
    at gmain.c line 3054
  • #28 g_main_context_dispatch
    at gmain.c line 3630
  • #29 g_main_context_iterate
    at gmain.c line 3701
  • #30 g_main_loop_run
    at gmain.c line 3895
  • #31 gtk_main
    at gtkmain.c line 1156
  • #32 main
    at main.c line 707

Comment 5 Milan Crha 2013-10-17 09:21:52 UTC
Created attachment 257485 [details] [review]
evo patch (workaround)

for evolution;

I cannot reproduce this on will, but I know it can happen from time to time. Let's use this workaround, which will prevent the crash, until the UI gets its revamp done.
Comment 6 Milan Crha 2013-10-17 09:24:58 UTC
Created commit af81b13 in evo master (3.11.1+)
Created commit 12e2745 in evo gnome-3-10 (3.10.2+)