Re: FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-26 Thread Robert O'Callahan
On Fri, Mar 27, 2015 at 5:05 AM, Andreas Gal wrote: > I guess we can add a command line option to our executable that calls the > function and prints the results and exits and then invoke ourselves to do > this in a new process and parse the output. What a silly bug. > Surely we can ship a littl

Re: FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-26 Thread Andreas Gal
I guess we can add a command line option to our executable that calls the function and prints the results and exits and then invoke ourselves to do this in a new process and parse the output. What a silly bug. Thanks, Andreas Sent from Mobile. > On Mar 26, 2015, at 07:03, Daniel Stenberg wr

Re: FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-26 Thread Daniel Stenberg
On Thu, 26 Mar 2015, Benjamin Smedberg wrote: What is the largest buffer that we can expect to need? Since VM allocation happens in 64k boundaries, is it sufficient to just use a 64k buffer for this? As per a recent comment in the bug however, it doesn't work to just reserve some memory in t

Re: FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-26 Thread Benjamin Smedberg
On 3/26/2015 3:00 AM, Randell Jesup wrote: Force a buffer in <2GB memory and always copy into/out of that buffer? That may work, other than it's inconvenient to force a buffer into <2GB space at the time when you need it, and thus we'd have to perma-allocate a "large enough" buffer for this.

Re: FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-26 Thread Randell Jesup
>Force a buffer in <2GB memory and always copy into/out of that buffer? That may work, other than it's inconvenient to force a buffer into <2GB space at the time when you need it, and thus we'd have to perma-allocate a "large enough" buffer for this. (Note GetAdapters*() is typically used with a

Re: FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-25 Thread andreas . gal
Force a buffer in <2GB memory and always copy into/out of that buffer? Thanks, Andreas > On Mar 25, 2015, at 11:17 PM, Randell Jesup wrote: > > Thanks to detective work by a subscriber to dev.media (Tor-Einar > Jarnbjo), we've found the cause of unexplained ICE (NAT-traversal) > failures in We

FYI: Serious windows bug affecting WebRTC when mem use is over 2GB

2015-03-25 Thread Randell Jesup
Thanks to detective work by a subscriber to dev.media (Tor-Einar Jarnbjo), we've found the cause of unexplained ICE (NAT-traversal) failures in WebRTC on Windows (bug 1107702). This may also affect the code in netwerk that tracks the network link status. It turns out that 32bit Windows programs w