Indicator Applet Crashes with unity::indicator::datetime::DateTime::get() const: assertion failed: (m_dt)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-datetime (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
# Error Message
The date-time indicator crashes with the following error message when started in the terminal:
Indicator-
Bail out! Indicator-
# 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.
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: datetime- service( _ZN5unity9indic ator8datetime8D ateTimeaSERKS2_ +0x45)[ 0x55abe5d8ba6f] datetime- service( _ZN5unity9indic ator8datetime9E dsEngine4Impl15 get_appointment EP11_ECalClient RSt10shared_ ptrI13_ GCancellableEP1 4_ECalComponent P10_GTimeZone+ 0x1c4)[ 0x55abe5d9210f] datetime- service( _ZN5unity9indic ator8datetime9E dsEngine4Impl20 add_event_ to_subtaskEP14_ ECalComponentPN S3_13ClientSubt askEP10_ GTimeZone+ 0x9c)[0x55abe5d 92ce3] datetime- service( _ZN5unity9indic ator8datetime9E dsEngine4Impl24 on_event_ fetch_list_ doneEPv+ 0x21c)[ 0x55abe5d9171f] datetime- service( _ZN5unity9indic ator8datetime9E dsEngine4Impl24 fetch_detached_ instancesEP8_ GObjectP13_ GAsyncResultPv+ 0xe5)[0x55abe5d 91221] datetime- service( _ZN5unity9indic ator8datetime9E dsEngine4Impl29 on_event_ generated_ list_readyEPv+ 0x26)[0x55abe5d 9131f] 64-linux- gnu/libecal- 2.0.so. 1(+0x25d85) [0x7f2834aedd85 ] 64-linux- gnu/libecal- 2.0.so. 1(+0x2d204) [0x7f2834af5204 ] 64-linux- gnu/libgio- 2.0.so. 0(g_simple_ async_result_ complete+ 0x86)[0x7f28346 405c6] 64-linux- gnu/libgio- 2.0.so. 0(+0xa068f) [0x7f283464068f ] 64-linux- gnu/libglib- 2.0.so. 0(g_main_ context_ dispatch+ 0x14e)[ 0x7f2834468e8e] 64-linux- gnu/libglib- 2.0.so. 0(+0x52240) [0x7f2834469240 ] 64-linux- gnu/libglib- 2.0.so. 0(g_main_ loop_run+ 0x83)[0x7f28344 69533] datetime- service( main+0x59b) [0x55abe5d5dffb ] 64-linux- gnu/libc. so.6(__ libc_start_ main+0xf3) [0x7f28340450b3 ] datetime- service( _start+ 0x2e)[0x55abe5d 5ccee]
./indicator-
./indicator-
./indicator-
./indicator-
./indicator-
./indicator-
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
/lib/x86_
./indicator-
/lib/x86_
./indicator-