-
-
Notifications
You must be signed in to change notification settings - Fork 78
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 drag-selection near an error #745
Comments
Ok, thanks for reporting. I will try to have a look as soon as I find the time. |
Judging from the log it should be not too hard to fix. |
@Feacur I added a PR, but I could not reproduce this. Granted I did try this on by Linux machine, but still. Just in case I was doing smth wrong, am I "selecting too hard" right? dragging_error.mp4 |
Ok, superficially traced the offender:
... without these popups [spamming, while user drag-selects stuff,] everything's going just fine. Also, I've noticed I suppose, Ah, one more trace, albeit I wonder how come I've got it (there IS a null check before that line):
|
This is all really weird. With all the things you commented out you would not get the popups at all, right? |
Yeah: should I only disable |
I see. This is really strange. I will probably also try to run this on Windows just to see if I am able to reproduce it there. The popups are most probably generated in different ways on linux and windows. Until then, it is weird. On my machine, sublime text never crashes unless there is a legitimate bug in the plugin code, so it might be related to your configuration. |
Sure, it might be. I did disable all the other plugins before taking the screenshots; but it still leaves the rest of my machine to interfere with the editor. (also, ugh, sorry, I've accidentally misclicked the [close issue] button and got no prompt) |
@Feacur I've tried reproducing this on my Windows machine and it just won't crash. Is your machine special in any way? |
Most likely it is, as any other PC
I can't pinpoint any other particular cause, unless I dig deeper the callstack into Anyway, thank you for trying to reproduce it at your side and for your time. |
System info:
Version 3.2.2, Build 3211
Windows 10 Home, 10.0.19042 Build 19042
10, x86_64-pc-windows-msvc, posix
What happens:
Sublime Text crashes if you select text too hard with mouse at the error line with a popup. Just drag-select some text there a lot.
I used
SublimeLog
plugin to get the crash trace.Minimal example: any, but #744 will do too
Log that illustrates the issue:
The text was updated successfully, but these errors were encountered: