Pidgin using up 100% of CPU right after startup

Bug #1225179 reported by Dima Ryazanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
New
Undecided
Unassigned

Bug Description

Pidgin started up when I logged in, and started using 100% of CPU. Unlike in the other bug reports, I have not sent or received any messages and haven't touched pidgin. It's not frozen, either - just laggy.

Here's the backtrace from gdb:

#0 0x00007f7fe4b04c5d in write () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f7fe53d276f in g_wakeup_signal (wakeup=0x7f7fe83d2340) at /build/buildd/glib2.0-2.36.0/./glib/gwakeup.c:238
#2 0x00007f7fe5390a19 in g_main_context_remove_poll_unlocked (context=<optimized out>, fd=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:4184
#3 0x00007f7fe5390a74 in block_source (source=source@entry=0x7f7fe943a420) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:2943
#4 0x00007f7fe5393fb8 in g_main_dispatch (context=0x7f7fe83d9320) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3031
#5 g_main_context_dispatch (context=context@entry=0x7f7fe83d9320) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#6 0x00007f7fe5394248 in g_main_context_iterate (context=0x7f7fe83d9320, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#7 0x00007f7fe53946ba in g_main_loop_run (loop=0x7f7fe929a520) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3895
#8 0x00007f7fe660cfe7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.17/gtk/gtkmain.c:1271
#9 0x00007f7fe80083bc in main (argc=3, argv=0x7fffe1e455f8) at /build/buildd/pidgin-2.10.7/./pidgin/gtkmain.c:881

Output from strace:

write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvfrom(6, 0x7f7fe83f06e4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=21, events=POLLIN}, {fd=27, events=POLLIN}, {fd=25, events=POLLIN}, {fd=15, events=POLLIN}, {fd=9, events=POLLIN}, {fd=26, events=POLLIN}, {fd=17, events=POLLIN}, {fd=27, events=POLLOUT}], 13, 0) = 2 ([{fd=5, revents=POLLIN}, {fd=27, revents=POLLOUT}])
read(5, "\2\0\0\0\0\0\0\0", 16) = 8
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvfrom(27, 0x7f7fe9457050, 5, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
write(5, "\1\0\0\0\0\0\0\0", 8) = 8
recvfrom(6, 0x7f7fe83f06e4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}, {fd=21, events=POLLIN}, {fd=27, events=POLLIN}, {fd=25, events=POLLIN}, {fd=15, events=POLLIN}, {fd=9, events=POLLIN}, {fd=26, events=POLLIN}, {fd=17, events=POLLIN}, {fd=27, events=POLLOUT}], 13, 0) = 2 ([{fd=5, revents=POLLIN}, {fd=27, revents=POLLOUT}])
read(5, "\2\0\0\0\0\0\0\0", 16) = 8
write(5, "\1\0\0\0\0\0\0\0", 8) = 8

According to /proc, fd=5 is "anon_inode:[eventfd]".

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: pidgin 1:2.10.7-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.4
Architecture: amd64
Date: Fri Sep 13 13:23:52 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-04-05 (161 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MarkForUpload: True
SourcePackage: pidgin
UpgradeStatus: Upgraded to raring on 2013-04-12 (153 days ago)

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :
Revision history for this message
Dima Ryazanov (dima-gmail) wrote :

Happened again after I disconnected and reconnected to wifi a bunch of times, while pidgin was already running.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.