Gnome-panel occasionally hanging trying to connect to esd in edgy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-panel (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-panel
Gnome-panel sometimes hangs for a couple of minutes when I hit System / Quit... (which should display a window with log out, lock screen etc), it happens about one time in ten tries. After a while, it resumes normally and displays the window. As this doesn't happen every time, it has been quite hard to debug... This has happened since I upgraded to edgy around knot2 and just happened now on current edgy, 2006-10-03, and I never saw the same problem before in dapper.
Backtrace from gnome-panel:
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7644661 in connect () from /lib/tls/
#2 0xb72e1d99 in esd_close () from /usr/lib/
#3 0xb72e2201 in esd_open_sound () from /usr/lib/
#4 0xb7e55e78 in gnome_config_
from /usr/lib/
#5 0xb7e55ed7 in gnome_sound_
#6 0xb7e56481 in gnome_sound_play () from /usr/lib/
#7 0xb7e56652 in gnome_triggers_vdo () from /usr/lib/
#8 0xb7e56a1b in gnome_triggers_do () from /usr/lib/
#9 0xb7f0e8cc in gnome_client_
#10 0x0806d444 in panel_session_
#11 0xb7895b29 in g_cclosure_
from /usr/lib/
#12 0xb788879b in g_closure_invoke () from /usr/lib/
#13 0xb7898b93 in g_signal_
from /usr/lib/
#14 0xb789a0b7 in g_signal_
#15 0xb789a279 in g_signal_emit () from /usr/lib/
#16 0xb7c5e734 in gtk_widget_activate () from /usr/lib/
#17 0xb7b53778 in gtk_menu_
from /usr/lib/
#18 0xb7b54d42 in gtk_menu_
---Type <return> to continue, or q <return> to quit---
#19 0xb7b4c935 in gtk_menu_
#20 0xb7b46aa0 in _gtk_marshal_
from /usr/lib/
#21 0xb7886fb9 in g_value_set_boxed () from /usr/lib/
#22 0xb788879b in g_closure_invoke () from /usr/lib/
#23 0xb78991e3 in g_signal_
from /usr/lib/
#24 0xb7899e7f in g_signal_
#25 0xb789a279 in g_signal_emit () from /usr/lib/
#26 0xb7c5a398 in gtk_widget_
from /usr/lib/
#27 0xb7b3fe93 in gtk_propagate_event () from /usr/lib/
#28 0xb7b41097 in gtk_main_do_event () from /usr/lib/
#29 0xb79ca7ca in _gdk_events_init () from /usr/lib/
#30 0xb7740802 in g_main_
#31 0xb77437df in g_main_
#32 0xb7743b89 in g_main_loop_run () from /usr/lib/
#33 0xb7b41514 in gtk_main () from /usr/lib/
#34 0x08061d8c in main ()
And strace from gnome-panel (started when it hanged, and the next few lines after it resumed):
connect(18, {sa_family=AF_INET, sin_port=
close(18) = 0
open("/
fstat64(18, {st_mode=
mmap2(NULL, 4096, PROT_READ|
read(18, "[esd]\
read(18, "", 4096) = 0
close(18) = 0
munmap(0xb5e4b000, 4096) = 0
So gnome-panel hung trying to connect to esound, which never answered and is not listening to 16001 (according to lsof or netstat), and after a couple of minutes timed out. esd is however running, gnomes preferences are set to autodetect and they work, and "Enable software sound mixing (ESD)" is not checked.
Grepping through ~/.gconf/ gives:
desktop/
So if that is to be trusted it should not be using esd.
Anyway, I don't know what more info to give. If there is anything needed I can try get that, however, it will take time as this is not happening every time, only when it is really, really annoying.
BTW, googling for "htons(16001) ETIMEDOUT" gives some results so I am apparently not the only one, for example https:/
Changed in gnome-panel: | |
status: | Unconfirmed → Rejected |
OK, turns out that this was caused by loopback interface disappearing when the laptop is suspended. It's not even a bug in acpi-support scripts because I broke it myself :/