[Touch-packages] [Bug 774071] Re: Indicator-datetime-service renders 100% CPU usage

2020-08-22 Thread Mister X
The problem seems to be that one call to e_cal_client_get_objects_for_uid does not result in a callback when querying a uid with infinite entries. Probably ecal tries to fetch all of them? Is there a different ecal function that one could call? How is it done in Evolution or Gnome calendar, so

[Touch-packages] [Bug 774071] Re: Indicator-datetime-service renders 100% CPU usage

2020-08-22 Thread Mister X
Output generated with: valgrind --tool=massif /usr/lib/x86_64-linux-gnu/indicator-datetime/indicator-datetime-service Can be viewed with: ms_print massif.out.8535 | less Might be the following function be at fault? unity::indicator::datetime::EdsEngine::Impl::fetch_detached_instances(_GObject*,

[Touch-packages] [Bug 774071] Re: Indicator-datetime-service renders 100% CPU usage

2020-08-21 Thread Mister X
This is still an issue in Ubuntu 20.04. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to indicator-datetime in Ubuntu. https://bugs.launchpad.net/bugs/774071 Title: Indicator-datetime-service renders 100% CPU usage Status

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

2020-08-15 Thread Mister X
After investigating a bit more, the issue is probably that `e_cal_component_get_dtstart` returns a nullptr for a call in get_appointment in EdsEngine. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to indicator-datetime in

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

2020-08-15 Thread Mister X
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]

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

2020-08-15 Thread Mister X
Ah, I see the comment box breaks lines. I add it as an attachment here. ** Attachment added: "stack.txt" https://bugs.launchpad.net/ubuntu/+source/indicator-datetime/+bug/1891740/+attachment/5401678/+files/stack.txt -- You received this bug notification because you are a member of Ubuntu

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

2020-08-15 Thread Mister X
Public bug reported: # 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