[Bug 227841] net-im/telegram-desktop: 100% CPU usage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 10 04:51:39 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227841

Henry Hu <henry.hu.sh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(henry. |maintainer-feedback+
                   |hu.sh at gmail.com)            |

--- Comment #2 from Henry Hu <henry.hu.sh at gmail.com> ---
I can't reproduce this since those IPs are not blocked here. Can you try to
grab a stack trace of the busy thread?
A possible way to do this:
> pgrep telegram
<telegram pid>
> ps auxH -o lwp | grep <telegram pid>
<list of threads>

Here, you can find the thread which is consuming 100% cpu. The thread id is
listed as the last column.
Then, run gdb
> attach <telegram pid>
> thread <thread id>
> where

This will give you the backtrace of that thread. This may help in diagnosing
the problem.

Also, you may report a bug to upstream:
https://github.com/telegramdesktop/tdesktop/issues

Finally, you may run telegram under ktrace, to find out if telegram is busy
calling some system calls, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list