[Bug 50353] _tp_base_client_handle_channels does not check error for null (assertion) thus segfault if so

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 31 17:42:07 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=50353

--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-05-31 08:42:07 PDT ---
(In reply to comment #2)
> (empathy-chat:3619): empathy-CRITICAL **: empathy_tp_chat_new: assertion
> `TP_IS_ACCOUNT (account)' failed

This is the real bug: either the assertion is valid (in which case some bug is
causing it to be false), or it isn't (in which case it should be removed - this
is less likely, though).

The segfault for which you have reported a backtrace (Comment #2) is a symptom
of that, but I'd prefer to fix the real bug in empathy-chat rather than working
around the symptoms.

If you can reproduce this again with G_DEBUG=fatal-warnings in Empathy's
environment, that'll produce a different backtrace in which that warning is
treated as fatal, so the function at the top of the stack will be g_logv.
(fatal_warnings as mentioned in Comment #1 might also work, but fatal-warnings
is what the documentation says...)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list