https://bugzilla.novell.com/show_bug.cgi?id=632530
https://bugzilla.novell.com/show_bug.cgi?id=632530#c1
--- Comment #1 from dev001x _ 2010-08-18 20:04:05 UTC ---
in chat with @libcanberra dev, looking at detail in attachment @:
https://bugs.freedesktop.org/show_bug.cgi?id=29650#c5
27164 12:06:38.804645 connect(8, {sa_family=AF_INET6, sin6_port=htons(4713),
inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28)
= -1 EINPROGRESS (Operation now in progress) <0.000021>
27164 12:06:38.804717 poll([{fd=6, events=POLLIN}, {fd=8, events=POLLOUT}], 2,
5000) = 0 (Timeout) <5.005109>
27164 12:06:43.809956 close(8) = 0 <0.000039>
Those are the three interesting lines: we try to connect to localhost on port
4713, and that times out. Normally this should immediately return with an
ECONNREFUSED. There's some kind of fw running i'd guess that blocks IPv6 even
for local communication.
Try "iptables -L -v -n" to see if there is some kind of fw running, and fix
your fw.
so, checking (on this box, no firewall ...)
iptables -L -v -n
Chain INPUT (policy ACCEPT 196 packets, 84005 bytes)
pkts bytes target prot opt in out source
destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
Chain OUTPUT (policy ACCEPT 207 packets, 38542 bytes)
pkts bytes target prot opt in out source
destination
asking,
[12:45] <dev001> so, iiuc, if ipv6 is disabled on LAN-boxen, libcanberra will
fail becuase it insists on ipv6 checks?
[12:45] <mezcalero> no
[12:45] <mezcalero> it will immediately fail and libpulse goes on
[12:46] <mezcalero> and tries the next possible server
[12:46] <mezcalero> most likely there won't be any
[12:46] <mezcalero> and hence it will tell libcanberra that the server couldn't
be reached
[12:46] <mezcalero> and the lc will tell the app that the server couldn't be
reached
[12:46] <mezcalero> and correctly written apps would completely ignore the lc
error codes
[12:47] <mezcalero> because sound events are not really that important
[12:47] <mezcalero> the problem you have is simply that IPv6 is borked for you
and something that should normally take zero time takes forever
[12:47] <mezcalero> which is connecting to localhost to see if there's a PA
server running
and,
[12:50] <dev001> On opensuse 11.3, if firefox > 3.6.6 is installed, &
libcanberra *is* installed, but pulseaudio is not, the "distro-installed ipv6
setup" is 'borked', causing menus in firefox to delay.
[12:50] <dev001> do i have that more or less right?
[12:55] <mezcalero> this has nothing to do with firefox
[12:55] <mezcalero> also, not really anything to do with libcanberra
[12:55] <mezcalero> and not even really too much with pa either
[12:56] <mezcalero> it's just that if you connect to localhost via ipv6 the
connection times out instead of returning ECONNREFUSED
which leaves me wondering,
[12:56] <dev001> so the fact that it ONLY mainfests in firefox, when
libcanberra & pulseaudio are directly & reproducibly involved, and NOwhere
else, is a fluke?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.