Comments (11)
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.
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.
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.
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.
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.
@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.
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.
@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.
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.
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.
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)
- add utmp support HOT 1
- After CTRL-C to terminate executing process command text is no longer visible on input HOT 1
- Can't run a command from the commandline HOT 3
- Overflow error still not resolved
- Word-wrap at bash prompt doesn't work properly HOT 6
- Flow control HOT 3
- Incomplete output from cygcheck in PuTTYcyg session
- PuTTY 0.61 Released HOT 8
- PuTTY 0.61 released, will a new PuTTYCyg be coming? HOT 3
- Instead of opening ssh, config window is opened. HOT 1
- Can't open terminal, getting 'permission denied' error HOT 2
- Failed to checkout source code from svn HOT 1
- keyboard problem - Home and End keys dont work HOT 1
- Status of project HOT 9
- Cygwin filesystem root gets wrong
- Serial option not supported on command line - reports unknown option "-serial" HOT 1
- Suggestion: Automatic hyperlinking
- Would be nice if the puttycyg application could be signed, would save user the work of needing to Unblock it
- Please make a PuttyCyg based on latest Putty, current PuttyCyg propagates a serious remote port forwarding bug as manifested with a latest OpenSSH_6.1 OpenSSL 1.0.1c 10 May 2012 OpenBSD remote host. HOT 1
- puttycyg with 64bit cygwin? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puttycyg.