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 588959 - Expanding appointment crashes Evolution
Expanding appointment crashes Evolution
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.2.x (obsolete)
Other All
: High critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 600423 643566 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-07-18 15:51 UTC by Ben Willcox
Modified: 2012-10-19 10:38 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2


Attachments
Patch for evolution (1.05 KB, patch)
2012-02-10 06:30 UTC, Vibha Yadav
none Details | Review
Patch for evolution (1.05 KB, patch)
2012-02-10 09:18 UTC, Vibha Yadav
reviewed Details | Review

Description Ben Willcox 2009-07-18 15:51:04 UTC
Steps to reproduce:
1. Change to the Calendar view, select a time slot and start typing a description
2. without pressing Enter, expand the time slot downwards to alter the end time
3. Watch Evolution disappear...


Stack trace:


Other information:
Comment 1 Matthew Barnes 2009-07-18 16:01:26 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Akhil Laddha 2009-08-27 07:36:46 UTC
I can reproduce on 2.29.1 

System: Linux 2.6.27.21-0.1-pae #1 SMP 2009-03-31 14:50:44 +0200 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10502000
Selinux: No
Accessibility: Enabled
GTK+ Theme: Gilouche
Icon Theme: Gilouche
GTK+ Modules: canberra-gtk-module, gail:atk-bridge, gnomebreakpad

Memory status: size: 270831616 vsize: 270831616 resident: 39485440 share: 26554368 rss: 39485440 rss_rlim: 18446744073709551615
CPU usage: start_time: 1251358672 rtime: 390 utime: 356 stime: 34 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/home/akhil/opt/gnome2/bin/evolution'

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xa786fb90 (LWP 6492)]
[New Thread 0xaa698b90 (LWP 6360)]
[New Thread 0xabed0b90 (LWP 6358)]
[New Thread 0xaaeceb90 (LWP 6357)]
[New Thread 0xb2111b90 (LWP 6352)]
[New Thread 0xb2912b90 (LWP 6351)]
[New Thread 0xb31ffb90 (LWP 6350)]
[New Thread 0xb3bf0b90 (LWP 6349)]
[New Thread 0xb541bb90 (LWP 6347)]
[New Thread 0xb4c1ab90 (LWP 6346)]
0xffffe430 in __kernel_vsyscall ()

Thread 1 (Thread 0xb6084760 (LWP 6332))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 382
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 694
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 segv_redirect
    at main.c line 432
  • #7 <signal handler called>
  • #8 IA__g_type_check_instance_is_a
    at gtype.c line 3695
  • #9 IA__g_object_unref
    at gobject.c line 2370
  • #10 e_cal_model_free_component_data
    at e-cal-model.c line 2558
  • #11 e_day_view_remove_event_cb
    at e-day-view.c line 1777
  • #12 e_day_view_on_editing_stopped
    at e-day-view.c line 6328
  • #13 e_day_view_on_text_item_event
    at e-day-view.c line 5867
  • #14 gnome_canvas_marshal_BOOLEAN__BOXED
    from /usr/lib/libgnomecanvas-2.so.0
  • #15 IA__g_closure_invoke
    at gclosure.c line 767
  • #16 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #17 IA__g_signal_emit_valist
    at gsignal.c line 2987
  • #18 IA__g_signal_emit_by_name
    at gsignal.c line 3071
  • #19 emit_event
    at e-canvas.c line 250
  • #20 e_canvas_focus_out
    at e-canvas.c line 633
  • #21 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #22 g_type_class_meta_marshal
    at gclosure.c line 878
  • #23 IA__g_closure_invoke
    at gclosure.c line 767
  • #24 signal_emit_unlocked_R
    at gsignal.c line 3282
  • #25 IA__g_signal_emit_valist
    at gsignal.c line 2987
  • #26 IA__g_signal_emit
    at gsignal.c line 3034
  • #27 gtk_widget_event_internal
    at gtkwidget.c line 4761
  • #28 do_focus_change
    at gtkwindow.c line 5254
  • #29 gtk_window_real_set_focus
    at gtkwindow.c line 5456
  • #30 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #31 g_type_class_meta_marshal
    at gclosure.c line 878
  • #32 IA__g_closure_invoke
    at gclosure.c line 767
  • #33 signal_emit_unlocked_R
    at gsignal.c line 3282
  • #34 IA__g_signal_emit_valist
  • #35 IA__g_signal_emit
    at gsignal.c line 3034
  • #36 _gtk_window_internal_set_focus
    at gtkwindow.c line 1603
  • #37 gtk_widget_real_grab_focus
    at gtkwidget.c line 5159
  • #38 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #39 g_type_class_meta_marshal
    at gclosure.c line 878
  • #40 IA__g_closure_invoke
    at gclosure.c line 767
  • #41 signal_emit_unlocked_R
    at gsignal.c line 3282
  • #42 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #43 IA__g_signal_emit
    at gsignal.c line 3034
  • #44 IA__gtk_widget_grab_focus
    at gtkwidget.c line 5078
  • #45 e_day_view_on_event_click
    at e-day-view.c line 3230
  • #46 e_day_view_on_event_button_press
    at e-day-view.c line 3096
  • #47 e_day_view_on_main_canvas_button_press
    at e-day-view.c line 2936
  • #48 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #49 IA__g_closure_invoke
    at gclosure.c line 767
  • #50 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #51 IA__g_signal_emit_valist
    at gsignal.c line 2987
  • #52 IA__g_signal_emit
    at gsignal.c line 3034
  • #53 gtk_widget_event_internal
    at gtkwidget.c line 4761
  • #54 IA__gtk_propagate_event
    at gtkmain.c line 2396
  • #55 IA__gtk_main_do_event
    at gtkmain.c line 1586
  • #56 gdk_event_dispatch
    at gdkevents-x11.c line 2365
  • #57 IA__g_main_context_dispatch
    at gmain.c line 1814
  • #58 g_main_context_iterate
    at gmain.c line 2448
  • #59 IA__g_main_loop_run
    at gmain.c line 2656
  • #60 bonobo_main
    at bonobo-main.c line 311
  • #61 main
    at main.c line 732


----------- .xsession-errors (13548 sec old) ---------------------
** (nautilus:4112): WARNING **: Unable to add monitor: Not supported
** (nautilus:4112): WARNING **: Unable to add monitor: Not supported
Nautilus-Share-Message: REFRESHING SHARES
Nautilus-Share-Message: ------------------------------------------
Nautilus-Share-Message: spawn arg "net"
Nautilus-Share-Message: spawn arg "usershare"
Nautilus-Share-Message: spawn arg "info"
Nautilus-Share-Message: end of spawn args; SPAWNING
Nautilus-Share-Message: returned from spawn: SUCCESS: 
Nautilus-Share-Message: exit code 255
Nautilus-Share-Message: ------------------------------------------
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: usershares are currently disabled
--------------------------------------------------
Comment 3 Akhil Laddha 2009-09-09 11:18:46 UTC
see bug 395009 also
Comment 4 Akhil Laddha 2009-11-03 03:45:34 UTC
*** Bug 600423 has been marked as a duplicate of this bug. ***
Comment 5 Milan Crha 2009-11-03 12:50:24 UTC
(In reply to comment #3)
> see bug 395009 also

It can be this. I think I saw another too, quite old. the problem is the even get lost too early and then it crashes, if I recall correctly.
Comment 6 Milan Crha 2010-11-16 07:15:59 UTC
Similar downstream bug report from 2.32.0:
https://bugzilla.redhat.com/show_bug.cgi?id=653534

Program terminated with signal 11, Segmentation fault.

Thread 8 (Thread 17109)

  • #0 g_atomic_pointer_get
    at gatomic-gcc.c line 77
  • #1 g_once_init_enter
    at ../glib/gthread.h line 347
  • #2 g_output_stream_get_type
    at goutputstream.c line 48
  • #3 g_output_stream_set_pending
    at goutputstream.c line 1195
  • #4 g_output_stream_write
    at goutputstream.c line 211
  • #5 g_output_stream_write_all
    at goutputstream.c line 269
  • #6 g_data_output_stream_put_byte
    at gdataoutputstream.c line 230
  • #7 append_value_to_blob
    at gdbusmessage.c line 2110
  • #8 append_value_to_blob
    at gdbusmessage.c line 2088
  • #9 append_value_to_blob
    at gdbusmessage.c line 2046
  • #10 g_dbus_message_to_blob
    at gdbusmessage.c line 2295
  • #11 g_dbus_connection_send_message_unlocked
    at gdbusconnection.c line 1414
  • #12 remove_match_rule
    at gdbusconnection.c line 3040
  • #13 unsubscribe_id_internal
    at gdbusconnection.c line 3260
  • #14 g_dbus_connection_signal_unsubscribe
    at gdbusconnection.c line 3295
  • #15 g_dbus_proxy_finalize
    at gdbusproxy.c line 156
  • #16 g_object_unref
    at gobject.c line 2695
  • #17 e_cal_view_finalize
    at e-cal-view.c line 251
  • #18 g_object_unref
    at gobject.c line 2695
  • #19 free_dn_queries
    at gnome-cal.c line 1055
  • #20 update_query_async
    at gnome-cal.c line 1076
  • #21 message_proxy
    at gnome-cal.c line 187
  • #22 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #23 g_thread_create_proxy
    at gthread.c line 1897
  • #24 start_thread
    at pthread_create.c line 301
  • #25 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 133

Thread 1 (Thread 16443)

  • #0 e_day_view_on_text_item_event
    at e-day-view.c line 6439
  • #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 671

Comment 7 Akhil Laddha 2011-05-20 05:03:01 UTC
Just got similar crash in Evolution 3.1.2. I had 4 events created in line (one by one in day view) and was deleting them one by one.

(evolution:10020): calendar-gui-WARNING **: tooltip_get_view_event: index 3 is out of bounds [0,3) at array 0x9a52648

Program received signal SIGSEGV, Segmentation fault.
0xb5715218 in e_day_view_on_text_item_event (item=0x9a5dd48, event=0x9af1e70, day_view=0x9a56460) at e-day-view.c:6309
6309				pevent->x = ((GdkEventMotion *) event)->x_root;
(gdb) bt
  • #0 e_day_view_on_text_item_event
    at e-day-view.c line 6309
  • #1 gnome_canvas_marshal_BOOLEAN__BOXED
    at gnome-canvas-marshal.c line 128
  • #2 g_closure_invoke
    at gclosure.c line 767
  • #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 2418
  • #7 gnome_canvas_motion
    at gnome-canvas.c line 2675
  • #8 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #9 g_type_class_meta_marshal
    at gclosure.c line 878
  • #10 g_closure_invoke
    at gclosure.c line 767
  • #11 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #12 g_signal_emit_valist
    at gsignal.c line 2993
  • #13 g_signal_emit
    at gsignal.c line 3040
  • #14 gtk_widget_event_internal
    at gtkwidget.c line 6114
  • #15 gtk_widget_event
    at gtkwidget.c line 5830
  • #16 gtk_propagate_event
    at gtkmain.c line 2597
  • #17 gtk_main_do_event
    at gtkmain.c line 1872
  • #18 _gdk_event_emit
    at gdkevents.c line 71
  • #19 gdk_event_source_dispatch
    at gdkeventsource.c line 318
  • #20 g_main_dispatch
    at gmain.c line 2440
  • #21 g_main_context_dispatch
    at gmain.c line 3013
  • #22 g_main_context_iterate
    at gmain.c line 3091
  • #23 g_main_loop_run
    at gmain.c line 3299
  • #24 gtk_main
    at gtkmain.c line 1358
  • #25 main
    at main.c line 744

Comment 8 Akhil Laddha 2011-05-20 05:04:09 UTC
*** Bug 643566 has been marked as a duplicate of this bug. ***
Comment 9 Johann Glaser 2011-06-24 16:34:40 UTC
still there in 3.0.0

More information: when clicking at an empty space in the calendar view (time
without an appointment), it seems to work around the problem.

But not resolved at all.

TODO: set version to 3.0.0
Comment 10 Johann Glaser 2011-10-15 17:06:19 UTC
Really want to postpone fixing a crash?
Comment 11 Akhil Laddha 2011-10-17 06:28:43 UTC
I cann't reproduce the crash with Evolution 3.2.1 but i see invalid reads while following steps from original bug description

==11550== Invalid read of size 4
==11550==    at 0x7463852: e_day_view_on_event_click (e-day-view.c:3539)
==11550==    by 0x74631C7: e_day_view_on_event_button_press (e-day-view.c:3359)
==11550==    by 0x7462B99: e_day_view_on_main_canvas_button_press (e-day-view.c:3196)
==11550==    by 0x50E2571: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:85)
==11550==    by 0x5859E13: g_closure_invoke (gclosure.c:774)
==11550==    by 0x5872590: signal_emit_unlocked_R (gsignal.c:3272)
==11550==    by 0x5871A0F: g_signal_emit_valist (gsignal.c:3013)
==11550==    by 0x5871C6F: g_signal_emit (gsignal.c:3060)
==11550==    by 0x526DE5F: gtk_widget_event_internal (gtkwidget.c:6132)
==11550==    by 0x526D6EC: gtk_widget_event (gtkwidget.c:5848)
==11550==    by 0x50E23D3: gtk_propagate_event (gtkmain.c:2614)
==11550==    by 0x50E0FC0: gtk_main_do_event (gtkmain.c:1837)
==11550==  Address 0xfc97d90 is 0 bytes inside a block of size 64 free'd
==11550==    at 0x4028FDB: realloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==11550==    by 0x58D983D: g_array_maybe_expand (garray.c:689)
==11550==    by 0x58D8DB9: g_array_append_vals (garray.c:353)
==11550==    by 0x74660C6: e_day_view_add_event (e-day-view.c:4584)
==11550==    by 0x745BFBF: process_component (e-day-view.c:742)
==11550==    by 0x745C38C: model_rows_inserted_cb (e-day-view.c:845)
==11550==    by 0x43ED63B: e_marshal_VOID__INT_INT (e-marshal.c:1092)
==11550==    by 0x5859E13: g_closure_invoke (gclosure.c:774)
==11550==    by 0x5872590: signal_emit_unlocked_R (gsignal.c:3272)
==11550==    by 0x5871983: g_signal_emit_valist (gsignal.c:3003)
==11550==    by 0x5871C6F: g_signal_emit (gsignal.c:3060)
==11550==    by 0x42560CB: e_table_model_rows_inserted (e-table-model.c:556)
==11550== 
==11550== Invalid read of size 4
==11550==    at 0x4386DB6: gnome_canvas_item_raise_to_top (gnome-canvas.c:760)
==11550==    by 0x746385B: e_day_view_on_event_click (e-day-view.c:3539)
==11550==    by 0x74631C7: e_day_view_on_event_button_press (e-day-view.c:3359)
==11550==    by 0x7462B99: e_day_view_on_main_canvas_button_press (e-day-view.c:3196)
==11550==    by 0x50E2571: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:85)
==11550==    by 0x5859E13: g_closure_invoke (gclosure.c:774)
==11550==    by 0x5872590: signal_emit_unlocked_R (gsignal.c:3272)
==11550==    by 0x5871A0F: g_signal_emit_valist (gsignal.c:3013)
==11550==    by 0x5871C6F: g_signal_emit (gsignal.c:3060)
==11550==    by 0x526DE5F: gtk_widget_event_internal (gtkwidget.c:6132)
==11550==    by 0x526D6EC: gtk_widget_event (gtkwidget.c:5848)
==11550==    by 0x50E23D3: gtk_propagate_event (gtkmain.c:2614)
==11550==  Address 0xe75e510 is 0 bytes inside a block of size 376 free'd
==11550==    at 0x4028053: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==11550==    by 0x592D0ED: g_slice_free1 (gslice.c:907)
==11550==    by 0x5877458: g_type_free_instance (gtype.c:1930)
==11550==    by 0x58625E8: g_object_unref (gobject.c:2759)
==11550==    by 0x430068D: canvas_emit_event (e-canvas.c:156)
==11550==    by 0x430151E: canvas_focus_out_event (e-canvas.c:582)
==11550==    by 0x50E2571: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:85)
==11550==    by 0x585A118: g_type_class_meta_marshal (gclosure.c:885)
==11550==    by 0x5859E13: g_closure_invoke (gclosure.c:774)
==11550==    by 0x587274F: signal_emit_unlocked_R (gsignal.c:3310)
==11550==    by 0x5871A0F: g_signal_emit_valist (gsignal.c:3013)
==11550==    by 0x5871C6F: g_signal_emit (gsignal.c:3060)
Comment 12 Vibha Yadav 2012-02-10 06:30:11 UTC
Created attachment 207234 [details] [review]
Patch for evolution

From the warnings tooltip_get_view_event shows event is out of bound and hence returns NULL.

Hence adding a NULL check.
Comment 13 Vibha Yadav 2012-02-10 09:18:51 UTC
Created attachment 207236 [details] [review]
Patch for evolution

From the warnings tooltip_get_view_event shows event is out of bound and hence
returns NULL.

Hence adding a NULL check.
Comment 14 André Klapper 2012-09-19 08:35:22 UTC
(In reply to comment #13)
> Created an attachment (id=207236) [details] [review]
> Patch for evolution

Typos should get fixed first, like
/*In case event is out of  bound pevent is NULL*/
Comment 15 Milan Crha 2012-10-19 10:38:04 UTC
I updated the patch slightly and included it in sources:

Created commit 012a346 in evo master (3.7.1+)
Created commit eb35c54 in evo gnome-3-6 (3.6.2+)