[Bug 291201] ktp-contactlist crashes when setting status to "Offline" after trying to connect to a server with an expired SSL/TLS certificate

Martin Klapetek martin.klapetek at gmail.com
Wed Jan 11 10:30:48 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=291201


Martin Klapetek <martin.klapetek at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.klapetek at gmail.com




--- Comment #1 from Martin Klapetek <martin klapetek gmail com>  2012-01-11 10:30:48 ---
This one is a bit tricky, it's a race condition. Basically what happens is that
when you click "Offline" and the combobox closes, your mouse stays right above
some contact and a tooltip is spawned. But before it can be fully drawn etc.,
the backend model data are already gone and therefore it hits null pointer and
crashes.

I have basic safety checks in place, but it will have to be more sophisticated
as that does not prevent the crash.

We could perhaps listen to some signal "going offline" (from global presence)
and don't create tooltips when it receive that signal.

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



More information about the Unassigned-bugs mailing list