Bug 329861 - Cannot open KTP contact list
Summary: Cannot open KTP contact list
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: git-latest
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 00:28 UTC by Dan
Modified: 2014-01-12 16:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2014-01-12 00:28:27 UTC
When I start KDE, I see the KTP contact list, but if I close it, I cannot open it anymore.

Clicking with the right button and clicking in "Contact list..." doesn't show the contact list.

I compiled everything from git. Maybe a bug?

Reproducible: Always

Steps to Reproduce:
1. close the contact list
2. click in "contact list..." to open it
3. nothing happens
Actual Results:  
No contact list.

Expected Results:  
It should display the contact list.

If you need testing, just ask.
Comment 1 Dan 2014-01-12 00:33:13 UTC
A workaround is to killall ktp-contactlist everytime I want to open it.
Comment 2 David Edmundson 2014-01-12 10:15:31 UTC
It works fine here.  There must be something different in your setup.

The way it's meant to work is:
 - if you click the contact list and it's already open it brings it to the front
 - if it's not open, it opens it

Is the contact list running at the time that you click it and it doesn't load. 
What window manager do you use?
Comment 3 Martin Klapetek 2014-01-12 11:10:35 UTC
So if you close the contactlist, the process is still running?
Comment 4 Dan 2014-01-12 14:00:13 UTC
(In reply to comment #2)
> The way it's meant to work is:
>  - if you click the contact list and it's already open it brings it to the
> front
>  - if it's not open, it opens it
> 
> Is the contact list running at the time that you click it and it doesn't
> load. 
> What window manager do you use?

David, I use Kwin as window manager. When KDE starts, the contact list is displayed. If I click on the "Instant Messaging Presence" icon in the systray, it closes. Then, if I click on the same icon with the right button and "Contact list..." it will not open anymore.

And yes, the ktp-contactlist process is running when I click on the "Instant Messaging Presence" icon and it doesn't load the contact list.

Is there a way to debug this? A way to show you the log of what's happening?
Comment 5 Dan 2014-01-12 14:02:47 UTC
(In reply to comment #3)
> So if you close the contactlist, the process is still running?

Martin, yes. If I close the contact list, "ktp-contactlist" process keeps running.
Comment 6 Martin Klapetek 2014-01-12 14:36:16 UTC
You can attach gdb to it, get the PID of the process then run

gdb attach <PID>

(you might need to run that as root)

then once gdb starts, type "bt" and it should give you a backtrace, then paste it here.
Comment 7 Dan 2014-01-12 15:58:50 UTC
(In reply to comment #6)
> You can attach gdb to it, get the PID of the process then run
> 
> gdb attach <PID>
> 
> (you might need to run that as root)
> 
> then once gdb starts, type "bt" and it should give you a backtrace, then
> paste it here.

Martin, the problem is that the process "ktp-contactlist" doesn't crash. It just keeps running, so I cannot get a backtrace (as far as I understand, the backtrace is possible to get when the process crashes, right?).

Is there other way to debug this?
Comment 8 Dan 2014-01-12 16:23:02 UTC
(In reply to comment #6)
> then once gdb starts, type "bt" and it should give you a backtrace, then
> paste it here.

Martin, forget it. The problem was with Mysql and Akonadi. I updated Mysql and removed ~/.local/share/akonadi. There was an error when running Mysql:

stderr: "2014-01-12 14:06:35 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

So, I'm marking this as INVALID. Thank you!