vagalume spins in gtk_events_pending
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vagalume (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I started up Vagalume for the first time and observed that it's using a lot of cpu while idle.
strace shows:
poll([{fd=3, events=
writev(3, [{"5\30\
read(3, 0xd64914, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0xd64914, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=18, events=POLLIN}], 5, 0) = 0 (Timeout)
read(3, 0xd64914, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=18, events=POLLIN}], 5, 0) = 0 (Timeout)
poll([{fd=3, events=
^Cwritev(3, [{"5\30\
and ltrace shows
gtk_main_
gtk_events_
gtk_main_
gtk_events_
gtk_main_
gtk_events_
gtk_main_
continuously
gdb shows
(gdb) thread apply all bt full
Thread 7 (Thread 0x7fffcdb36700 (LWP 12178)):
#0 pthread_
No locals.
#1 0x00007ffff593c4d5 in g_cond_
result = <optimized out>
end_time = {tv_sec = 1313561553, tv_nsec = 390345000}
timed_out = <optimized out>
#2 0x00007ffff565c48f in g_async_
retval = <optimized out>
#3 0x00007ffff565cce1 in g_async_
retval = <optimized out>
#4 0x00007ffff56afde7 in g_thread_
end_time = {tv_sec = 1313561553, tv_usec = 390345}
pool = <optimized out>
#5 g_thread_
free_pool = <optimized out>
task = 0x2
pool = <optimized out>
#6 0x00007ffff56ad9a6 in g_thread_
thread = 0xba9b30
#7 0x00007ffff6c19edc in start_thread (arg=0x7fffcdb3
__res = <optimized out>
pd = 0x7fffcdb36700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, -76654890244123
robust = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#8 0x00007ffff538589d in clone () at ../sysdeps/
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 5 (Thread 0x7fffd2338700 (LWP 12176)):
#0 0x00007ffff5379773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/
resultvar = <optimized out>
oldtype = 0
result = <optimized out>
#1 0x00007fffd7765d4f in ?? () from /usr/lib/
No symbol table info available.
#2 0x00007fffd775717c in pa_mainloop_poll () from /usr/lib/
No symbol table info available.
#3 0x00007fffd77577e9 in pa_mainloop_iterate () from /usr/lib/
No symbol table info available.
#4 0x00007fffd77578a0 in pa_mainloop_run () from /usr/lib/
No symbol table info available.
#5 0x00007fffd7765cff in ?? () from /usr/lib/
No symbol table info available.
#6 0x00007fffd7518db8 in ?? () from /usr/lib/
No symbol table info available.
#7 0x00007ffff6c19edc in start_thread (arg=0x7fffd233
__res = <optimized out>
pd = 0x7fffd2338700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, -76654890244123
robust = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#8 0x00007ffff538589d in clone () at ../sysdeps/
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 4 (Thread 0x7fffd8aa2700 (LWP 12175)):
#0 pthread_
No locals.
#1 0x0000000000412590 in rsp_scrobbler_
track = <optimized out>
#2 0x00007ffff56ad9a6 in g_thread_
thread = 0x840610
#3 0x00007ffff6c19edc in start_thread (arg=0x7fffd8aa
__res = <optimized out>
pd = 0x7fffd8aa2700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, -76654890244123
robust = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#4 0x00007ffff538589d in clone () at ../sysdeps/
No locals.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 3 (Thread 0x7fffe5b60700 (LWP 12173)):
#0 0x00007ffff5379773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/
resultvar = <optimized out>
oldtype = 0
result = <optimized out>
#1 0x00007ffff5688408 in g_main_context_poll (n_fds=3, fds=0x6b9750, timeout=-1, context=0x6f9310, priority=<optimized out>) at /build/
poll_func = 0x7ffff56969b0 <g_poll>
#2 g_main_
timeout = -1
some_ready = <optimized out>
nfds = 3
fds = 0x6b9750
#3 0x00007ffff5688c32 in g_main_loop_run (loop=0x6b9770) at /build/
#4 0x00007ffff2d45bd6 in gdbus_shared_
data = 0x6b9790
#5 0x00007ffff56ad9a6 in g_thread_
thread = 0x6f9400
#6 0x00007ffff6c19edc in start_thread (arg=0x7fffe5b6
__res = <optimized out>
pd = 0x7fffe5b60700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, -76654890244123
robust = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#7 0x00007ffff538589d in clone () at ../sysdeps/
No locals.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 0x7fffe6361700 (LWP 12172)):
#0 0x00007ffff5379773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/
resultvar = <optimized out>
oldtype = 0
result = <optimized out>
#1 0x00007fffd809127a in ?? () from /usr/lib/
No symbol table info available.
#2 0x00007ffff6170064 in ?? () from /usr/lib/
No symbol table info available.
#3 0x00007ffff56afec8 in g_thread_
task = 0x736010
pool = 0x843130
#4 0x00007ffff56ad9a6 in g_thread_
thread = 0x73c5e0
#5 0x00007ffff6c19edc in start_thread (arg=0x7fffe636
__res = <optimized out>
pd = 0x7fffe6361700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, -76654890244123
robust = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#6 0x00007ffff538589d in clone () at ../sysdeps/
No locals.
#7 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 0x7ffff7fb0960 (LWP 12164)):
#0 0x00007ffff56a3dd4 in allocator_
chunk_size = 48
threshold = <optimized out>
#1 thread_
No locals.
#2 g_slice_free1 (mem_size=
tmem = 0x6317d0
ix = 2
chunk_size = 48
acat = 6494160
#3 0x00007ffff72db5df in _gdk_window_
private = 0x672360
child = 0x672480
r = {x = 484, y = 234, width = 16, height = 16}
l = 0xbc7500
children = 0xbc7500
#4 0x00007ffff72d6633 in gdk_window_
update_area = 0xbcac60
private = 0x672360
impl_iface = <optimized out>
save_region = 0
clip_box = {x = 2, y = 41, width = 130, height = 121}
#5 0x00007ffff72d87d1 in IA__gdk_
private = 0x672360
tmp_list = 0x73c240
#6 0x00007ffff72d8839 in gdk_window_
No locals.
#7 0x00007ffff72b5d26 in gdk_threads_
dispatch = 0xbb9e00
ret = 0
#8 0x00007ffff5687efd in g_main_dispatch (context=0x675890) at /build/
dispatch = 0x7ffff5683c50 <g_idle_dispatch>
was_in_call = 0
user_data = 0xbb9e00
callback = 0x7ffff72b5cd0 <gdk_threads_
cb_funcs = 0x7ffff5938670
cb_data = 0xbc6c00
source = 0xbd1280
current = 0x739890
i = <optimized out>
#9 g_main_
No locals.
#10 0x00007ffff56886f8 in g_main_
timeout = 0
some_ready = 1
nfds = 5
fds = <optimized out>
#11 0x00007ffff5688c32 in g_main_loop_run (loop=0xba7420) at /build/
#12 0x00007ffff767edd7 in IA__gtk_main () at /build/
tmp_list = <optimized out>
functions = 0x0
init = <optimized out>
loop = 0xba7420
#13 0x000000000040d4b0 in controller_run_app (radio_url=0x0) at controller.c:1935
errmsg = 0x0
#14 0x000000000040939b in main (argc=1, argv=0x7fffffff
radio = 0x0
opt = <optimized out>
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: vagalume 0.8.5-1
ProcVersionSign
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Wed Aug 17 16:06:13 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/vagalume
ProcEnviron:
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/zsh
SourcePackage: vagalume
UpgradeStatus: Upgraded to oneiric on 2011-08-13 (3 days ago)