[Wine] wine hangs on first run

Vincente Aggrippino vaggrippino at gmail.com
Fri May 5 05:19:28 CDT 2006


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.

Is this worthy of a new bugzilla bug report?

Thank you for your help.

-- Vince

On 5/5/06, Vincente Aggrippino <vaggrippino at gmail.com> wrote:
>
>
>
> On 5/5/06, Daniel Skorka <skorka at gmx.net> wrote:
>
> > Vincente Aggrippino <vaggrippino at gmail.com> wrote:
> > >   - If I look at the main trace file, it's waiting for
> > wineprefixcreate
> > >   (via waitpid()) and wineprefixcreate is waiting for it's child.  The
> > last
> > >   line just says "waitpid(-1, ", without the closing parentheses.
> > >   - winecreateprefix's child is running "rundll32.exe
> > > setupapi.dll,InstallHinfSection
> > >   DefaultInstall 128 wine.inf" in the process listing and its trace
> > file
> > >   says it's waiting to receive something from file descriptor 11
> > ("recv(11,
> > >   ").
> > >   - File descriptor 11 is where I stop understanding the man
> > pages.  It
> > >   opens a socket connection like this: "socket(PF_INET, SOCK_STREAM,
> > >   IPPROTO_IP) = 11"
> >
> > Ah, this goes some way. Nicely done. For some reason rundll32.exe is
> > opening a TCP connection. If you look at the lines in the trace after
> > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 11
> > you should be able to find further system calls that specify the IP
> > address to connect to (look for connect(...)).
>
>
> It's trying to connect to CUPS!  ...
> connect(11, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("
> 127.0.0.1")}, 16) = 0
>
> I don't know why, but here's the last thing it sends to the CUPS server
> before hanging...
> send(11, "POST / HTTP/1.1\r\n", 17, 0)  = 17
> send(11, "Content-Length: 75\r\n", 20, 0) = 20
> send(11, "Content-Type: application/ipp\r\n", 31, 0) = 31
> send(11, "Host: localhost\r\n", 17, 0)  = 17
> send(11, "\r\n", 2, 0)                  = 2
> time(NULL)                              = 1146816380
> send(11, "\1\1@\1\0\0\0\1", 8, 0)       = 8
> time(NULL)                              = 1146816380
> send(11, "\1G\0\22attributes-charset\0\5utf-8", 29, 0) = 29
> time(NULL)                              = 1146816380
> send(11, "H\0\33attributes-natural-language\0\5"..., 37, 0) = 37
> time(NULL)                              = 1146816380
> send(11, "\3", 1, 0)                    = 1
> recv(11, "HTTP/1.1 200 OK\r\nDate: Fri, 05 M"..., 2048, 0) = 54
> time(NULL)                              = 1146816380
> time(NULL)                              = 1146816380
> recv(11,
>
> > Can I attach files to a mailing list?  Is there a useful subset of the
> > trace
> > > information that I can put into an email?
> >
> > It's better not to. In the case of a strace, the last couple lines could
> > be useful or useless without the preceding chunk. It would be best if
> > you had some way to put those files onto a webserver or ftpserver.
>
>
> Okay... I should've thought of that! :)
> http://aggrippino.com/winerun
>
> based on the strace command I used earlier and these process IDs:
> vince     5183  5006  0 16:05 pts/1    00:00:12 strace -ff -o
> winecfg_trace winecfg
> vince     5184  5183  0 16:05 pts/1    00:00:00
> /usr/lib/../bin/wine-pthread winecfg.exe
> 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
>
> Daniel
> > _______________________________________________
> > wine-users mailing list
> > wine-users at winehq.org
> > http://www.winehq.org/mailman/listinfo/wine-users
> >
>
> Thank you,
>     Vince
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20060505/3fef56fe/attachment.htm


More information about the wine-users mailing list