http://bugs.winehq.org/show_bug.cgi?id=17443
Summary: Launchpad Enhanced gets stuck in a loop trying to download updates Product: Wine Version: 1.1.15 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu
Created an attachment (id=19522) --> (http://bugs.winehq.org/attachment.cgi?id=19522) WINEDEBUG="+all,-relay" near dialog-generating location
LPE gets stuck in a loop trying to download updated files and re-launch. A dialog appears (.NET 2.0?) that says (at the beginning of the loop): Main: Unable to read data from the transport connection: Unknown error (0x271e). Address: http://lpe.ocdsoft.com/installer/LaunchpadEnhanced.exe File:C:\Program Files\Launchpad Enhanced\LaunchpadEnhanced.exe.temp
The error appears to be from passing an invalid memory location to WSARecvFrom after the original buffer runs out (see abbreviated log attached). Note that the messages: 0009:trace:winsock:WS2_recv recvmsg sta: (ptr) (ptr) (length) are from adding a trace to output hdr.msg_iov, hdr.msg_iov->iov_base, and hdr.msg_iov->iov_len. This message was added to explore why the errno was being set to 14 (EFAULT), which the recvmsg man page indicates is due to a pointer being outside the application address space.
The issue might be some form of regression (since LPE worked on Wine 1.0-rc2), but since the application has an automatic updater it's possible that the application code changed.
http://bugs.winehq.org/show_bug.cgi?id=17443
Lee Wangenheim bdwaggs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bdwaggs@gmail.com
--- Comment #1 from Lee Wangenheim bdwaggs@gmail.com 2009-02-20 09:30:52 --- When running LPE from terminal I recieve a fixme that reads
"fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!"
After a lot of searching it appears that this is an issue with wine and winsock 2.00 programs. Could this be part of the issue?
http://bugs.winehq.org/show_bug.cgi?id=17443
--- Comment #2 from Erich Hoover ehoover@mines.edu 2009-06-20 17:30:42 --- Created an attachment (id=21914) --> (http://bugs.winehq.org/attachment.cgi?id=21914) Hack for ws2_32.recv inter-process memory issue
Ok, I believe I have located the issue at hand here. After looking over some internal errors, I believe that Launchpad Enhanced (through .NET) is calling "recv" with memory from a different process than the originating call. I am not sure whether this issue is a problem because of a difference between recv on Windows vs. Linux, or if it's due to a deficiency somewhere else in Wine. In order to work around this issue I have attached a hack (against Wine 1.1.24) that will temporarily allocate in-process memory for the "recv" operation so that it no-longer fails.
http://bugs.winehq.org/show_bug.cgi?id=17443
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://lpe.ocdsoft.com/inst | |aller/LPESetup.exe Ever Confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com 2010-06-04 13:19:44 --- Still present, though I got several more errors, including a 'Big ass error: invalid handle' :-p.
http://bugs.winehq.org/show_bug.cgi?id=17443
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2012-05-02 22:42:35 CDT --- Erich, how is this bug tested? I download the application and started it with +winsock in the console (after winetricks dotnet20). It does not have a window but shows dozens of trace:winsock:WS2_recv_base -> 1460 bytes
I guess it's updating itselft and the problem reported no longer happens. Can you retest please?
http://bugs.winehq.org/show_bug.cgi?id=17443
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Erich Hoover ehoover@mines.edu 2012-05-02 23:00:12 CDT --- (In reply to comment #4)
... I guess it's updating itselft and the problem reported no longer happens. Can you retest please?
Yup - it appears to be fixed. What used to happen is that the green bar would go across and update and then the application would restart and update again. Who knows when this got fixed, but at least it's fixed.
http://bugs.winehq.org/show_bug.cgi?id=17443
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-05-11 13:22:05 CDT --- Closing bugs fixed in 1.5.4.