Re: Strange issue with recv in Launchpad Enhanced

2009-06-26 Thread Damjan Jovanovic
On Fri, Jun 26, 2009 at 2:19 AM, Erich Hoover wrote: > On Sun, Jun 21, 2009 at 1:03 PM, Erich Hoover wrote: >> >> On Sun, Jun 21, 2009 at 10:23 AM, Erich Hoover wrote: >>> >>> On Sun, Jun 21, 2009 at 1:36 AM, Damjan Jovanovic >>> wrote: ... Maybe the memory is writable but no

Re: Strange issue with recv in Launchpad Enhanced

2009-06-25 Thread Erich Hoover
On Sun, Jun 21, 2009 at 1:03 PM, Erich Hoover wrote: > On Sun, Jun 21, 2009 at 10:23 AM, Erich Hoover wrote: > >> On Sun, Jun 21, 2009 at 1:36 AM, Damjan Jovanovic >> wrote: >> >>> ... >>> >> Maybe the memory is writable but not readable, and >>> WSARecvFrom()/recv() is reading it while memcpy(

Re: Strange issue with recv in Launchpad Enhanced

2009-06-21 Thread Erich Hoover
On Sun, Jun 21, 2009 at 10:23 AM, Erich Hoover wrote: > On Sun, Jun 21, 2009 at 1:36 AM, Damjan Jovanovic wrote: > >> ... >> > Maybe the memory is writable but not readable, and >> WSARecvFrom()/recv() is reading it while memcpy() is not? >> > >> Maybe the memory is from a DIB section which Wine

Re: Strange issue with recv in Launchpad Enhanced

2009-06-21 Thread Erich Hoover
On Sun, Jun 21, 2009 at 1:36 AM, Damjan Jovanovic wrote: > On Sun, Jun 21, 2009 at 1:06 AM, Erich Hoover wrote: > > I'm trying to track down an issue with Launchpad Enhanced were it fails > to > > download its updates (Bug #17443). It appears that the issue stems from > > recv being called with a

Re: Strange issue with recv in Launchpad Enhanced

2009-06-21 Thread Damjan Jovanovic
On Sun, Jun 21, 2009 at 1:06 AM, Erich Hoover wrote: > I'm trying to track down an issue with Launchpad Enhanced were it fails to > download its updates (Bug #17443).  It appears that the issue stems from > recv being called with a buffer from a different process, so as a result the > call fails. 

Strange issue with recv in Launchpad Enhanced

2009-06-20 Thread Erich Hoover
I'm trying to track down an issue with Launchpad Enhanced were it fails to download its updates (Bug #17443). It appears that the issue stems from recv being called with a buffer from a different process, so as a result the call fails. I put together a hack that gets around the problem ( http://b