Stopping CUPS serves as a work-around for the problem. However, the problem is not just on the first run. After initial configuration, if CUPS is running, wine hangs.<br><br>Is this worthy of a new bugzilla bug report?<br>
<br>Thank you for your help.<br><br>-- Vince<br><br><div><span class="gmail_quote">On 5/5/06, <b class="gmail_sendername">Vincente Aggrippino</b> <<a href="mailto:vaggrippino@gmail.com">vaggrippino@gmail.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="direction: ltr;"><br><br><div></div><div style="direction: ltr;"><span class="q">
<span class="gmail_quote">On 5/5/06, <b class="gmail_sendername">Daniel Skorka</b> <<a href="mailto:skorka@gmx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">skorka@gmx.net</a>> wrote:</span>
</span></div><div style="direction: ltr;"><span class="q"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Vincente Aggrippino <<a href="mailto:vaggrippino@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vaggrippino@gmail.com</a>> wrote:<br>> - If I look at the main trace file, it's waiting for wineprefixcreate
<br>> (via waitpid()) and wineprefixcreate is waiting for it's child. The last
<br>> line just says "waitpid(-1, ", without the closing parentheses.<br>> - winecreateprefix's child is running "rundll32.exe<br>> setupapi.dll,InstallHinfSection<br>> DefaultInstall 128
wine.inf" in the process listing and its trace file<br>> says it's waiting to receive something from file descriptor 11 ("recv(11,<br>> ").<br>> - File descriptor 11 is where I stop understanding the man pages. It
<br>> opens a socket connection like this: "socket(PF_INET, SOCK_STREAM,<br>> IPPROTO_IP) = 11"<br><br>Ah, this goes some way. Nicely done. For some reason rundll32.exe is<br>opening a TCP connection. If you look at the lines in the trace after
<br>socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 11<br>you should be able to find further system calls that specify the IP<br>address to connect to (look for connect(...)).</blockquote></span></div><div style="direction: ltr;">
<div><br>It's trying to connect to CUPS! ...
<br><font size="1"><span style="font-family: courier new,monospace;">connect(11, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
127.0.0.1</a>")}, 16) = 0</span></font><br>
<br>I don't know why, but here's the last thing it sends to the CUPS server before hanging...<br><font style="font-family: courier new,monospace;" size="1">send(11, "POST / HTTP/1.1\r\n", 17, 0) = 17<br>send(11, "Content-Length: 75\r\n", 20, 0) = 20
<br>send(11, "Content-Type: application/ipp\r\n", 31, 0) = 31<br>send(11, "Host: localhost\r\n", 17, 0) = 17<br>send(11, "\r\n", 2, 0) = 2<br>time(NULL) = 1146816380
<br>send(11, "\1\1@\1\0\0\0\1", 8, 0) = 8<br>time(NULL) = 1146816380<br>send(11, "\1G\0\22attributes-charset\0\5utf-8", 29, 0) = 29<br>time(NULL) = 1146816380
<br>send(11, "H\0\33attributes-natural-language\0\5"..., 37, 0) = 37<br>time(NULL) = 1146816380<br>send(11, "\3", 1, 0) = 1<br>recv(11, "HTTP/1.1 200 OK\r\nDate: Fri, 05 M"..., 2048, 0) = 54
<br>time(NULL) = 1146816380<br>time(NULL) = 1146816380<br>recv(11,</font> <br></div></div><div style="direction: ltr;"><span class="q"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Can I attach files to a mailing list? Is there a useful subset of the trace<br>> information that I can put into an email?<br><br>It's better not to. In the case of a strace, the last couple lines could<br>be useful or useless without the preceding chunk. It would be best if
<br>you had some way to put those files onto a webserver or ftpserver.</blockquote></span></div><div style="direction: ltr;"><div><br>Okay... I should've thought of that! :)<br><a href="http://aggrippino.com/winerun" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://aggrippino.com/winerun</a><br><br>based on the strace command I used earlier and these process IDs:
<br><font size="1">vince 5183 5006 0 16:05 pts/1 00:00:12 strace -ff -o winecfg_trace winecfg<br>vince 5184 5183 0 16:05 pts/1 00:00:00 /usr/lib/../bin/wine-pthread winecfg.exe<br>vince 5187 5184 0 16:05 pts/1 00:00:00 /bin/sh /usr/lib/../bin/wineprefixcreate --quiet --wvince 5204 5187 0 16:05 pts/1 00:00:01
rundll32.exe setupapi.dll,InstallHinfSection Defaultvince 5208 1 0 16:05 ? 00:00:00 /usr/lib/../bin/wineserver</font><br></div></div><div style="direction: ltr;"><span class="q"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Daniel<br>_______________________________________________<br>wine-users mailing list<br><a href="mailto:wine-users@winehq.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">wine-users@winehq.org</a>
<br><a href="http://www.winehq.org/mailman/listinfo/wine-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.winehq.org/mailman/listinfo/wine-users
</a><br></blockquote></span></div><div style="direction: ltr;"></div><br>Thank you,<br> Vince<br>
</div></blockquote></div><br>