Comments (11)
Thanks for the report. I can produce an issue with this, but I'm not entirely
sure it's the same you reported.
Have you got the 'Clicks place cursor' option enabled? Did you mean triple
click rather than double click? Where do you see the SIGSEGV? Does it happen
right away, or does it require a sequence of clicks?
I'm just getting an unresponsive window which does eventually unfreeze again.
Meanwhile, bash uses 100% CPU. I think what's happening there is that mintty is
sending thousands of cursor key presses to try to move the command line cursor
to where you clicked. It's only supposed to do that though when clicking on the
current command line rather than earlier output.
Original comment by andy.koppe
on 7 Sep 2010 at 5:10
- Changed title: Freeze on selecting extremely long line
- Changed state: Accepted
- Added labels: Priority-Medium
from mintty.
i'm sorry, to select the whole "line" (span across multiple lines) that just
read from file a, it was "triple" not double click.
it happen right after the line (or lines) is selected
i assume it be SIGSEGV because it generated mintty.exe.stackdump
$ cat mintty.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=75B1DB46
eax=0029402A ebx=7EFB0022 ecx=00000000 edx=00000000 esi=0029402A edi=004C2A40
ebp=0028C158 esp=0028C144 program=C:\app\cygwin\bin\mintty.exe, pid 4680,
thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028C158 75B1DB46 (004C2A40, 0029402A, 0029402C, 00000000)
0028C18C 75B1FB72 (00000000, 00000000, 0029402A, 00000001)
21529164 [main] mintty 4680 exception::handle: Exception:
STATUS_ACCESS_VIOLATION
21537452 [main] mintty 4680 exception::handle: Error while dumping state
(probably corrupted stack)
there's no bash 100% cpu issue here
Original comment by [email protected]
on 7 Sep 2010 at 5:45
from mintty.
Thanks for the extra information. So do you have 'Clicks place cursor' on the
'Mouse' page of the options enabled? Also, what's the size of your mintty
window, perhaps that's relevant.
Original comment by andy.koppe
on 7 Sep 2010 at 5:49
- Changed title: Crash on selecting extremely long line
from mintty.
ah, i missed a question
'Clicks place cursor' -> no
size: 80cols * 40 rows
size from spyxx: rect: 747x796, client rect: 722x762
font: consolas, 12-point
smoothing: full
locale, charset: zh_CN, UTF-8
Original comment by [email protected]
on 8 Sep 2010 at 2:29
from mintty.
Thanks, that's definitely a separate issue from the one I saw then.
Unfortunately I can't yet reproduce it, so here are more questions.
How did you install mintty 0.8.3? Through setup.exe, from the .zip download
here, or from source? If the latter, which gcc version did you use?
And could you attach your .minttyrc with all the settings? Perhaps the issue
depends on a particular combination of options.
Original comment by andy.koppe
on 8 Sep 2010 at 5:48
from mintty.
through setup.exe, reroduced in windows xp tooo
maybe its only reproduced with Chinese OS?
would it help if i try to reproduce it from a debug built source myself?
Original comment by [email protected]
on 8 Sep 2010 at 7:26
Attachments:
from mintty.
You're right, this is language-dependent. I've finally managed to reproduce it
by changing the system default codepage to CP936.
Looks like it's the code for converting the copied text to RTF that's at fault
here, because you can work around the issue by disabling the 'Copy as rich
text' setting on the Mouse page of the options.
Original comment by andy.koppe
on 8 Sep 2010 at 12:19
from mintty.
Fixed in r1015 on trunk.
Original comment by andy.koppe
on 8 Sep 2010 at 7:58
- Added labels: Difficulty-Easy, Milestone-0.9
from mintty.
Original comment by andy.koppe
on 8 Sep 2010 at 7:58
- Changed state: Fixed
from mintty.
I've fixed the separate problem with 'Clicks place cursor' in r1016 on trunk.
Original comment by andy.koppe
on 9 Sep 2010 at 5:41
from mintty.
Original comment by andy.koppe
on 3 Oct 2010 at 3:44
- Changed state: Verified
from mintty.
Related Issues (20)
- Support special --position arguments for screen centre and edges HOT 4
- Limited number of fonts HOT 5
- Window placement outside of screen working area HOT 6
- Hang when remote shell opened with "-e" is closed unexpectedly HOT 3
- No response when python script has raw_input command HOT 2
- Support xterm VT220-style function keys HOT 7
- Windows does not handle windows API of Hidden correctly HOT 3
- Window randomly left open HOT 25
- option dialog flicker with win7 desktop compositing off HOT 1
- printf before scanf doesn't show printf string before input HOT 1
- support dynamic line rewrapping HOT 2
- Add (hidden?) option to disable ctrl+click link functionality HOT 4
- Build failure due to conflict between UUID.DLL and libuuid HOT 4
- Keep selection on keyboard input HOT 3
- Shift+Fn broken (mc) HOT 2
- Process remains (mc) after windows is closed HOT 1
- Setup.exe causes mintty to freeze HOT 10
- Internationalisation
- Pasting with Ctrl+V
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 mintty.