-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on OS X with latest master #63
Comments
Ohhh excellent, this is the same crash as #5! I've been trying to reproduce it for months. For some reason it never happens on my dev VM. |
Can you try applying this patch? diff --git a/src/textwin.cpp b/src/textwin.cpp
index 2bdcf6e..ffab474 100644
--- a/src/textwin.cpp
+++ b/src/textwin.cpp
@@ -1023,7 +1023,7 @@ void TextWindow::MouseEvent(bool leftClick, bool leftDown, double x, double y) {
break;
}
}
- if(r >= rows) {
+ if(r >= rows || c >= MAX_COLS) {
SetMousePointerToHand(false);
goto done;
} |
That seems to fix it. No crashes after moving and resizing windows frantically for 2 minutes. :) |
Fixed in master and 2.x. |
Crash on launch. OSX. I'll come back and try again in a few years. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just moving the windows around a bit and resizing them, I can get solvespace to crash. The location is always the same (textwin.cpp:1045):
The text was updated successfully, but these errors were encountered: