[Pkg-cups-devel] Bug#235204: wine hangs for several minutes at startup

Sven Joachim svenjoac at gmx.de
Mon Oct 6 12:00:49 UTC 2008


I just experienced a timeout that might be related to this bug. A simple
"wine notepad" would hang for several minutes until the editor finally
comes up.  Running it under strace shows that the timeout happens here:

,----
| connect(13, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("192.168.42.1")}, 16) = -1 ETIMEDOUT (Connection timed out)
`----

192.168.42.1 is an address for localhost, but the interface it is bound
to is down, since I'm only using the eth0 device when I connect PC and
laptop, I don't bring it up automatically.  After "sudo ifup eth0" the
timeout disappears, even if the interface is then brought down again:

,----
| % /sbin/ifconfig eth0
| eth0      Link encap:Ethernet  HWaddr 00:0b:6a:22:9f:b6  
|           BROADCAST MULTICAST  MTU:1500  Metric:1
|           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|           collisions:0 txqueuelen:1000 
|           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
|           Interrupt:10 Base address:0xd400 
| 
| % sudo ifup eth0
| % sudo ifdown eth0
| % /sbin/ifconfig eth0
| eth0      Link encap:Ethernet  HWaddr 00:0b:6a:22:9f:b6  
|           inet addr:192.168.42.1  Bcast:192.168.42.255  Mask:255.255.255.0
|           BROADCAST MULTICAST  MTU:1500  Metric:1
|           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|           collisions:0 txqueuelen:1000 
|           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
|           Interrupt:10 Base address:0xd400 
| 
`----

Note the extra line starting with "inet addr" in the second ifconfig
output.

HTH,
    Sven





More information about the Pkg-cups-devel mailing list