← Back to team overview

dx-packages team mailing list archive

[Bug 1891740] Re: Indicator Applet Crashes with unity::indicator::datetime::DateTime::get() const: assertion failed: (m_dt)

 

I added some debugging output to the DateTime class to create stacktrace
when a DateTime is assigned whose `m_dt` field is a `nullptr`.

The following is the stack trace when this happens:
./indicator-datetime-service(_ZN5unity9indicator8datetime8DateTimeaSERKS2_+0x45)[0x55abe5d8ba6f]
./indicator-datetime-service(_ZN5unity9indicator8datetime9EdsEngine4Impl15get_appointmentEP11_ECalClientRSt10shared_ptrI13_GCancellableEP14_ECalComponentP10_GTimeZone+0x1c4)[0x55abe5d9210f]
./indicator-datetime-service(_ZN5unity9indicator8datetime9EdsEngine4Impl20add_event_to_subtaskEP14_ECalComponentPNS3_13ClientSubtaskEP10_GTimeZone+0x9c)[0x55abe5d92ce3]
./indicator-datetime-service(_ZN5unity9indicator8datetime9EdsEngine4Impl24on_event_fetch_list_doneEPv+0x21c)[0x55abe5d9171f]
./indicator-datetime-service(_ZN5unity9indicator8datetime9EdsEngine4Impl24fetch_detached_instancesEP8_GObjectP13_GAsyncResultPv+0xe5)[0x55abe5d91221]
./indicator-datetime-service(_ZN5unity9indicator8datetime9EdsEngine4Impl29on_event_generated_list_readyEPv+0x26)[0x55abe5d9131f]
/lib/x86_64-linux-gnu/libecal-2.0.so.1(+0x25d85)[0x7f2834aedd85]
/lib/x86_64-linux-gnu/libecal-2.0.so.1(+0x2d204)[0x7f2834af5204]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_simple_async_result_complete+0x86)[0x7f28346405c6]
/lib/x86_64-linux-gnu/libgio-2.0.so.0(+0xa068f)[0x7f283464068f]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x14e)[0x7f2834468e8e]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52240)[0x7f2834469240]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x83)[0x7f2834469533]
./indicator-datetime-service(main+0x59b)[0x55abe5d5dffb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f28340450b3]
./indicator-datetime-service(_start+0x2e)[0x55abe5d5ccee]

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1891740

Title:
  Indicator Applet Crashes with
  unity::indicator::datetime::DateTime::get() const: assertion failed:
  (m_dt)

Status in indicator-datetime package in Ubuntu:
  New

Bug description:
  # Problem
  When the calendar is synced to a Google calendar that contains "task" entries, the indicator applet crashes. These entries are not shown in evolution/gnome-calendar either, so this issue might originate in some library code.

  # Error Message
  The date-time indicator crashes with the following error message when started in the terminal:
  Indicator-Datetime:ERROR:/build/indicator-datetime-SpDTj1/indicator-datetime-15.10+20.04.20200217/src/date-time.cpp:171:GDateTime* unity::indicator::datetime::DateTime::get() const: assertion failed: (m_dt)
  Bail out! Indicator-Datetime:ERROR:/build/indicator-datetime-SpDTj1/indicator-datetime-15.10+20.04.20200217/src/date-time.cpp:171:GDateTime* unity::indicator::datetime::DateTime::get() const: assertion failed: (m_dt)

  # Steps to reproduce
  - Create a "task" in your Google calendar
  - Sync the Google account with the calendar using the Online Accounts application
  - the indicator applet will crash as soon as the data is synced

  # Version
  I am using the indicator applet version 15.10+20.04.20200217-0ubuntu1 on Ubuntu 20.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1891740/+subscriptions


References