GNOME Bugzilla – Bug 709677
crash when connecting SIP client
Last modified: 2013-10-10 14:06:49 UTC
Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1016298 SIP-accounts are broken in empathy-accounts, they cannot be even selected while online, and if you select it while it's offline, and then make it online, it will lead to unpredictable results.
warning: core file may not match specified executable file. [New LWP 31215] [New LWP 31221] [New LWP 31217] [New LWP 31216] warning: Could not load shared library symbols for 4 libraries, e.g. /lib64/libX11.so.6. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `empathy-accounts'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 232589
Thread 1 (Thread 0x7f7830313a40 (LWP 31215))
https://git.gnome.org/browse/telepathy-account-widgets/commit/?id=4874591ca5fd0981a2fa471dffb8975001c807aa introduced an infinite loop: - reload_contact_info() is called - TP_CONNECTION_FEATURE_CONTACT_INFO isn't prepared on the connection so we try to prepare it - connection_contact_info_prepared_cb is called and succeed (trying to prepare a non CORE feature isn't fatal) and then call reload_contact_info() - TP_CONNECTION_FEATURE_CONTACT_INFO is still not prepared on the connection, retry to prepare it - etc. Marco: why did you introduced this commit? It's way cleaner to rely on the client factory to prepare feature than manually do it it. empathy-accounts do so by preparing the account manager before doing anything else and using EmpathyClient asking to prepare CONTACT_INFO. Can't we do the same with GOA?
Because I introduced it before fully understanding how the client factory worked in empathy. I opened #706892 a few weeks ago about this.
Created attachment 256842 [details] [review] prevent infinite loop if ContactInfo is not implemented
Here is a simple workaround as we should really fix this loop ASAP.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.