Stopping CUPS serves as a work-around for the problem.&nbsp; However, the problem is not just on the first run.&nbsp; 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> &lt;<a href="mailto:vaggrippino@gmail.com">vaggrippino@gmail.com</a>&gt; 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> &lt;<a href="mailto:skorka@gmx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">skorka@gmx.net</a>&gt; 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 &lt;<a href="mailto:vaggrippino@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vaggrippino@gmail.com</a>&gt; wrote:<br>&gt;&nbsp;&nbsp; - If I look at the main trace file, it's waiting for wineprefixcreate
<br>&gt;&nbsp;&nbsp; (via waitpid()) and wineprefixcreate is waiting for it's child.&nbsp;&nbsp;The last
<br>&gt;&nbsp;&nbsp; line just says &quot;waitpid(-1, &quot;, without the closing parentheses.<br>&gt;&nbsp;&nbsp; - winecreateprefix's child is running &quot;rundll32.exe<br>&gt; setupapi.dll,InstallHinfSection<br>&gt;&nbsp;&nbsp; DefaultInstall 128 
wine.inf&quot; in the process listing and its trace file<br>&gt;&nbsp;&nbsp; says it's waiting to receive something from file descriptor 11 (&quot;recv(11,<br>&gt;&nbsp;&nbsp; &quot;).<br>&gt;&nbsp;&nbsp; - File descriptor 11 is where I stop understanding the man pages.&nbsp;&nbsp;It
<br>&gt;&nbsp;&nbsp; opens a socket connection like this: &quot;socket(PF_INET, SOCK_STREAM,<br>&gt;&nbsp;&nbsp; IPPROTO_IP) = 11&quot;<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!&nbsp; ...
<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(&quot;<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
127.0.0.1</a>&quot;)}, 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, &quot;POST / HTTP/1.1\r\n&quot;, 17, 0)&nbsp; = 17<br>send(11, &quot;Content-Length: 75\r\n&quot;, 20, 0) = 20
<br>send(11, &quot;Content-Type: application/ipp\r\n&quot;, 31, 0) = 31<br>send(11, &quot;Host: localhost\r\n&quot;, 17, 0)&nbsp; = 17<br>send(11, &quot;\r\n&quot;, 2, 0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 2<br>time(NULL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1146816380
<br>send(11, &quot;\1\1@\1\0\0\0\1&quot;, 8, 0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 8<br>time(NULL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1146816380<br>send(11, &quot;\1G\0\22attributes-charset\0\5utf-8&quot;, 29, 0) = 29<br>time(NULL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1146816380
<br>send(11, &quot;H\0\33attributes-natural-language\0\5&quot;..., 37, 0) = 37<br>time(NULL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1146816380<br>send(11, &quot;\3&quot;, 1, 0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br>recv(11, &quot;HTTP/1.1 200 OK\r\nDate: Fri, 05 M&quot;..., 2048, 0) = 54
<br>time(NULL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1146816380<br>time(NULL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 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;">

&gt; Can I attach files to a mailing list?&nbsp;&nbsp;Is there a useful subset of the trace<br>&gt; 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&nbsp;&nbsp;&nbsp;&nbsp; 5183&nbsp; 5006&nbsp; 0 16:05 pts/1&nbsp;&nbsp;&nbsp; 00:00:12 strace -ff -o winecfg_trace winecfg<br>vince&nbsp;&nbsp;&nbsp;&nbsp; 5184&nbsp; 5183&nbsp; 0 16:05 pts/1&nbsp;&nbsp;&nbsp; 00:00:00 /usr/lib/../bin/wine-pthread winecfg.exe<br>vince&nbsp;&nbsp;&nbsp;&nbsp; 5187&nbsp; 5184&nbsp; 0 16:05 pts/1&nbsp;&nbsp;&nbsp; 00:00:00 /bin/sh /usr/lib/../bin/wineprefixcreate --quiet --wvince&nbsp;&nbsp;&nbsp;&nbsp; 5204&nbsp; 5187&nbsp; 0 16:05 pts/1&nbsp;&nbsp;&nbsp; 00:00:01 
rundll32.exe setupapi.dll,InstallHinfSection Defaultvince&nbsp;&nbsp;&nbsp;&nbsp; 5208&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0 16:05 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; Vince<br>

</div></blockquote></div><br>