GithubHelp home page GithubHelp logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Another way to reproduce this is just making a loop that produces enough 
flooding, such as "yes"

Original comment by [email protected] on 16 Jun 2010 at 3:37

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
cthelper maintains non-blocking pipes to PuTTY and Cygwin and asks the select() 
function whether it can write to them without blocking. Alas, it seems that 
select() sometimes says "yes" even when the pipes are full. This may be a 
Cygwin limitation:

<blockquote 
cite="http://www.cygwin.com/faq/faq-nochunks.html#faq.api.net-functions">
The POSIX select system call can wait on a standard file handles and handles to 
sockets. The select call in Winsock can only wait on sockets. Because of this, 
the Cygwin dll does a lot of nasty stuff behind the scenes, trying to persuade 
various Winsock/Win32 functions to do what a Unix select would do.
</blockquote>

In the meantime, we can handle the EWOULDBLOCK (aka EAGAIN) case. See patch.

Original comment by [email protected] on 29 Jun 2010 at 3:41

Attachments:

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
By the way: The -mno-cygwin flag was removed from GCC 4 in Cygwin 1.7. You'll 
want to install and use GCC 3. Example:

svn co http://puttycyg.googlecode.com/svn/trunk puttycyg-issue39
cd puttycyg-issue39
curl \
  'http://puttycyg.googlecode.com/issues/attachment?aid=-3085487759998918932&name=issue39-2010-06-29T081354.patch&token=22f1aa778ea2336caf6230fcd7572743' \
  | patch -p0
make CC=gcc-3 -f Makefile.maint

The resulting executables:

putty-0.60/windows/putty.exe
putty-0.60/windows/puttytel.exe
putty-0.60/windows/cthelper/cthelper.exe

Original comment by [email protected] on 29 Jun 2010 at 3:45

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Thanks for tracking this down!

I had hoped that when I found time to work on it, I would look into issue 42 as 
well.  You wouldn't happen to have an idea about that, would you?  :)

I'll try to make a beta release this weekend.

Original comment by medgar123 on 30 Jun 2010 at 9:16

  • Changed state: Started

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Any beta releases yet that fixes this issue? At the moment, I am using mintty 
but it does not have the flexibility of puttycyg.

Original comment by [email protected] on 17 Sep 2010 at 2:02

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
@slackamp I can't help with the issue at hand, but please feel free to report 
PuTTY features you're missing in mintty at 
http://code.google.com/p/mintty/issues.

Original comment by andy.koppe on 18 Sep 2010 at 2:43

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Finally got around to applying this patch; seems to fix the problem.

Thanks!

Original comment by [email protected] on 19 Sep 2010 at 7:28

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
@jordan care to share your binaries?
@andy, i am missing color options but someone has already requested for it 
(issue 193).

Original comment by [email protected] on 28 Oct 2010 at 8:28

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Uploaded new BETA version:

http://code.google.com/p/puttycyg/downloads/detail?name=puttycyg-20101029.zip

Original comment by medgar123 on 29 Oct 2010 at 12:03

  • Changed state: Fixed

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Hi.  Been fighting same buffer overflow/puttycyg window crash for a while.  
Downloaded beta fix and wanted to provide feedback that the patch fixed the 
issue.  Thanks guys!

Original comment by [email protected] on 4 Nov 2010 at 6:24

from puttycyg.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 22, 2024
Thanks for the feedback; I'll promote the BETA now. :)

Original comment by medgar123 on 4 Nov 2010 at 7:49

from puttycyg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.