[Wine] wine hangs on first run
Rainer M Krug
rkrug at sun.ac.za
Mon May 8 04:07:05 CDT 2006
Just to add some additional info: I have a similar problem, that from
time to time, wincfg hangs. When I cancel it (ctrl-c) and try it again,
it usually gives me the following error message:
err:winspool:AddPrinterW Printername
L"hp_LaserJet_2300_series_h0001E69FB032i" must not exceed length of
DEVMODE.dmDeviceName !
err:winspool:CUPS_LoadPrinters printer
'hp_LaserJet_2300_series_h0001E69FB032i' not added by AddPrinterA (error
124)
I don't know if it is related, but it might help.
Rainer
Vincente Aggrippino wrote:
> 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
> <mailto:vaggrippino at gmail.com>> wrote:
>
>
>
> On 5/5/06, *Daniel Skorka* <skorka at gmx.net <mailto:skorka at gmx.net>>
> wrote:
>
> Vincente Aggrippino <vaggrippino at gmail.com
> <mailto: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 <http://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 <mailto:wine-users at winehq.org>
> http://www.winehq.org/mailman/listinfo/wine-users
> <http://www.winehq.org/mailman/listinfo/wine-users>
>
>
> Thank you,
> Vince
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> wine-users mailing list
> wine-users at winehq.org
> http://www.winehq.org/mailman/listinfo/wine-users
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)
Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa
Tel: +27 - (0)72 808 2975 (w)
Fax: +27 - (0)21 808 3304
Cell: +27 - (0)83 9479 042
email: RKrug at sun.ac.za
Rainer at krugs.de
More information about the wine-users
mailing list