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 781540 - (Week view) Crash in g_time_zone_get_offset > gcal_event_compare
(Week view) Crash in g_time_zone_get_offset > gcal_event_compare
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: Views
3.24.x
Other Linux
: Urgent blocker
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-20 14:15 UTC by Jeremy Bicha
Modified: 2017-11-24 22:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-04-20 14:15:42 UTC
Ubuntu has been getting crash reports for an issue in

gnome-calendar (11) g_time_zone_get_offset → g_date_time_to_instant → g_date_time_difference → g_date_time_compare → gcal_event_compare
Comment 1 Jeremy Bicha 2017-04-20 14:16:09 UTC


  • #0 g_time_zone_get_offset
    at ../../../../glib/gtimezone.c line 1808
  • #1 g_date_time_to_instant
    at ../../../../glib/gdatetime.c line 497
  • #2 g_date_time_difference
    at ../../../../glib/gdatetime.c line 1415
  • #3 g_date_time_compare
    at ../../../../glib/gdatetime.c line 1381
  • #4 gcal_event_compare
    at gcal-event.c line 1437
  • #5 g_list_insert_sorted_real
    at ../../../../glib/glist.c line 1029
  • #6 g_list_insert_sorted
    at ../../../../glib/glist.c line 1086
  • #7 add_event_to_weekday
    at views/gcal-week-header.c line 318
  • #8 add_event_to_grid
    at views/gcal-week-header.c line 693
  • #9 gcal_week_header_add_event
    at views/gcal-week-header.c line 1668
  • #10 cal_data_model_add_to_subscriber_except_its_range
    at e-cal-data-model.c line 1764
  • #11 cal_data_model_foreach_component
    at e-cal-data-model.c line 2547
  • #12 e_cal_data_model_subscribe
    at e-cal-data-model.c line 2709
  • #13 gcal_manager_set_subscriber
    at gcal-manager.c line 1190
  • #14 update_active_date
    at gcal-window.c line 423
  • #15 object_set_property
    at ../../../../gobject/gobject.c line 1423
  • #16 g_object_set_property
    at ../../../../gobject/gobject.c line 2371
  • #17 on_target_notify
    at ../../../../gobject/gbinding.c line 362
  • #18 g_closure_invoke
    at ../../../../gobject/gclosure.c line 804
  • #19 signal_emit_unlocked_R
    at ../../../../gobject/gsignal.c line 3635
  • #20 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3391
  • #21 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #22 g_object_dispatch_properties_changed
    at ../../../../gobject/gobject.c line 1064
  • #23 g_object_notify_by_spec_internal
    at ../../../../gobject/gobject.c line 1157
  • #24 g_object_notify
    at ../../../../gobject/gobject.c line 1205
  • #25 gcal_month_view_button_release
    at views/gcal-month-view.c line 2233
  • #26 _gtk_marshal_BOOLEAN__BOXEDv
    at ././gtk/gtkmarshalers.c line 131
  • #27 _g_closure_invoke_va
    at ../../../../gobject/gclosure.c line 867
  • #28 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3300
  • #29 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #30 gtk_widget_event_internal
    at ././gtk/gtkwidget.c line 7724
  • #31 propagate_event_up
    at ././gtk/gtkmain.c line 2578
  • #32 propagate_event
    at ././gtk/gtkmain.c line 2680
  • #33 gtk_main_do_event
    at ././gtk/gtkmain.c line 1901
  • #34 _gdk_event_emit
    at ././gdk/gdkevents.c line 73
  • #35 gdk_event_source_dispatch
    at ././gdk/x11/gdkeventsource.c line 367
  • #36 g_main_dispatch
    at ../../../../glib/gmain.c line 3203
  • #37 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3856
  • #38 g_main_context_iterate
    at ../../../../glib/gmain.c line 3929
  • #39 g_main_context_iteration
    at ../../../../glib/gmain.c line 3990
  • #40 g_application_run
    at ../../../../gio/gapplication.c line 2381
  • #41 main
    at main.c line 43

Comment 2 Jeremy Bicha 2017-04-20 14:17:11 UTC
.

Thread 1 (Thread 0x7f9c16e68b00 (LWP 17450))

  • #0 g_time_zone_get_offset
    at ../../../../glib/gtimezone.c line 1808
  • #1 g_date_time_to_instant
    at ../../../../glib/gdatetime.c line 497
  • #2 g_date_time_difference
    at ../../../../glib/gdatetime.c line 1415
  • #3 g_date_time_compare
    at ../../../../glib/gdatetime.c line 1381
  • #4 gcal_event_compare
    at gcal-event.c line 1437
  • #5 g_list_insert_sorted_real
    at ../../../../glib/glist.c line 1029
  • #6 g_list_insert_sorted
    at ../../../../glib/glist.c line 1086
  • #7 add_event_to_weekday
    at views/gcal-week-header.c line 318
  • #8 add_event_to_grid
    at views/gcal-week-header.c line 693
  • #9 gcal_week_header_add_event
    at views/gcal-week-header.c line 1668
  • #10 cal_data_model_add_to_subscriber_except_its_range
    at e-cal-data-model.c line 1764
  • #11 cal_data_model_foreach_component
    at e-cal-data-model.c line 2547
  • #12 e_cal_data_model_subscribe
    at e-cal-data-model.c line 2709
  • #13 gcal_manager_set_subscriber
    at gcal-manager.c line 1190
  • #14 update_active_date
    at gcal-window.c line 423
  • #15 object_set_property
    at ../../../../gobject/gobject.c line 1423
  • #16 g_object_set_property
    at ../../../../gobject/gobject.c line 2371
  • #17 on_target_notify
    at ../../../../gobject/gbinding.c line 362
  • #18 g_closure_invoke
    at ../../../../gobject/gclosure.c line 804
  • #19 signal_emit_unlocked_R
    at ../../../../gobject/gsignal.c line 3635
  • #20 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3391
  • #21 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #22 g_object_dispatch_properties_changed
    at ../../../../gobject/gobject.c line 1064
  • #23 g_object_notify_by_spec_internal
    at ../../../../gobject/gobject.c line 1157
  • #24 g_object_notify
    at ../../../../gobject/gobject.c line 1205
  • #25 gcal_month_view_button_release
    at views/gcal-month-view.c line 2233
  • #26 _gtk_marshal_BOOLEAN__BOXEDv
    at ././gtk/gtkmarshalers.c line 131
  • #27 _g_closure_invoke_va
    at ../../../../gobject/gclosure.c line 867
  • #28 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3300
  • #29 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #30 gtk_widget_event_internal
    at ././gtk/gtkwidget.c line 7724
  • #31 propagate_event_up
    at ././gtk/gtkmain.c line 2578
  • #32 propagate_event
    at ././gtk/gtkmain.c line 2680
  • #33 gtk_main_do_event
    at ././gtk/gtkmain.c line 1901
  • #34 _gdk_event_emit
    at ././gdk/gdkevents.c line 73
  • #35 gdk_event_source_dispatch
    at ././gdk/x11/gdkeventsource.c line 367
  • #36 g_main_dispatch
    at ../../../../glib/gmain.c line 3203
  • #37 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3856
  • #38 g_main_context_iterate
    at ../../../../glib/gmain.c line 3929
  • #39 g_main_context_iteration
    at ../../../../glib/gmain.c line 3990
  • #40 g_application_run
    at ../../../../gio/gapplication.c line 2381
  • #41 main
    at main.c line 43

Comment 3 Jeremy Bicha 2017-04-20 14:17:33 UTC
The crash reports are from gnome-calendar 3.24 on Ubuntu 17.04.
Comment 4 Georges Basile Stavracas Neto 2017-04-22 10:40:48 UTC
(In reply to Jeremy Bicha from comment #3)
> The crash reports are from gnome-calendar 3.24 on Ubuntu 17.04.

Are those reports from 3.24.0 (the released tarball) or gnome-3-24 branch? There are some commits that might have fixed that.
Comment 5 Georges Basile Stavracas Neto 2017-04-24 09:37:30 UTC
(In reply to Jeremy Bicha from comment #0)
> Ubuntu has been getting crash reports for an issue in
> 
> gnome-calendar (11) g_time_zone_get_offset → g_date_time_to_instant →
> g_date_time_difference → g_date_time_compare → gcal_event_compare

I believe commit 40993b1 fixed all the issues we used to have with the Week view. I also believe this is another symptom of the same issue that generated bug 781456 (and was also fixed by that commit). Could you please confirm that?

Meanwhile, I'll mark this bug as NEEDINFO.
Comment 6 André Klapper 2017-09-05 20:01:47 UTC
(In reply to Georges Basile Stavracas Neto from comment #5)
> I believe commit 40993b1 fixed all the issues we used to have with the Week
> view. I also believe this is another symptom of the same issue that
> generated bug 781456 (and was also fixed by that commit). Could you please
> confirm that?
> 
> Meanwhile, I'll mark this bug as NEEDINFO.

Jeremy: Any possibility to confirm?
Comment 7 Georges Basile Stavracas Neto 2017-11-24 22:18:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/136.