Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684832 - net-irc/telepathy-idle-0.2.0 : when Polari running, eats one cpu core
Summary: net-irc/telepathy-idle-0.2.0 : when Polari running, eats one cpu core
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on: 636576
Blocks:
  Show dependency tree
 
Reported: 2019-04-30 20:29 UTC by David Heidelberg (okias)
Modified: 2019-12-04 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Heidelberg (okias) 2019-04-30 20:29:50 UTC
Thread 1 "telepathy-idle" received signal SIGINT, Interrupt.
0x00007f6b6ae1f089 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
(gdb) bt
#0  0x00007f6b6ae1f089 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f6b6ae6dd38 in g_main_context_release () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6b6ae6dfa6 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6b6ae6eee2 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f6b6ac60d71 in tp_run_connection_manager () at /usr/lib64/libtelepathy-glib.so.0
#5  0x0000000000409685 in main (argc=1, argv=0x7ffdffb1ad68) at idle.c:45
(gdb)
Comment 1 David Heidelberg (okias) 2019-04-30 21:11:58 UTC
b ../glib-2.61.0/glib/ggettext.c:402
...
Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad201057f8 "Error writing data to TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) c
Continuing.

Thread 1 "telepathy-idle" hit Breakpoint 1, g_dgettext (domain=0x7fad20104bb2 "glib-networking", msgid=0x7fad20105840 "Error reading data from TLS socket") at ../glib-2.61.0/glib/ggettext.c:402
402	  return dgettext (domain, msgid);
(gdb) 

I wondering if this issue isn't related to https://bugs.gentoo.org/636576
Comment 2 Larry the Git Cow gentoo-dev 2019-12-04 21:00:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc9cd845aca68b641435f7758426aecc273c63a

commit bfc9cd845aca68b641435f7758426aecc273c63a
Author:     David Heidelberg <david@ixit.cz>
AuthorDate: 2019-10-08 20:05:54 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-12-04 20:51:17 +0000

    net-irc/telepathy-idle: fix 100% cpu usage and tests
    
    Added latest fixes from 0.2.0 branch.
    - fixes tests
    - fixes extreme CPU usage.
    It's unlikely that new version (0.2.1 nor 1.x) will be released soon, so
    let's merge these patches.
    
    Closes: https://bugs.gentoo.org/636576
    Closes: https://bugs.gentoo.org/684832
    Closes: https://github.com/gentoo/gentoo/pull/13221
    Signed-off-by: David Heidelberg <david@ixit.cz>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../files/telepathy-idle-0.2.0-fixes.patch         | 223 +++++++++++++++++++++
 .../telepathy-idle/telepathy-idle-0.2.0-r2.ebuild  |  45 +++++
 2 files changed, 268 insertions(+)