GNOME Bugzilla – Bug 751211
Crash on ESource::read-only property change notification
Last modified: 2017-04-17 18:20:40 UTC
I've got this crash when one of my ESource-s reported a read-only property change in a time when the gnome-calendar didn't know about the source.
+ Trace 235190
Thread 1 (Thread 0x7fc454b229c0 (LWP 6209))
Created attachment 305676 [details] [review] proposed patch Two things changes: a) the actual crash cause in on_client_readonly_changed(), to test whether the 'unit' is valid at all before dereferencing it b) the callback doesn't seem to be disconnected at all, thus added a disconnect of it on the source removal as well The b) might be enough, but just to be sure I included also a).