-
Notifications
You must be signed in to change notification settings - Fork 267
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
vis crashes quite often on Ctrl-C #988
Comments
I think the culprit might be
|
OK, so just to mention #675 and that it seems to be crashing vis. |
I tried the version of vis from the build service with all patches applied, but was not able to reproduce the issue. Could you provide a bit more information about the environment? In particular a list of plugins that is active when the problem occurs, the file which is opened (if any) or step by step instruction about what exactly should be performed. Also when debugging in gdb it is natural to stop the program via Ctrl+C and the stack trace will be pointing at pselect, since it is the place where vis idling. To avoid this happening pass to gdb the following line |
I don’t have reliable way how to reproduce it either. It just sometimes happen, mostly when I edit
Yes, there are plenty of plugins:
No, I didn’t stop it. Just started vis in gdb and let it run until it crashed on its own. |
Does it mean that the crash occurs without pressing Ctrl+C or anything as well? |
Well, pressing Ctrl-C inside of the running vis, but it happens even when vis is outside of gdb. Sometime. I am really not able to reproduce it reliably. |
May I get the plugins folder and the core dump file from the crash without gdb? I'm afraid I won't be able to collect all those plugins with their exact versions that is used in your installation. |
I have hard time to generate plain core dumps on my openSUSE, I have to investigate what's going on. |
Just wanted to say that my soft-word-wrapping patch #948 sometimes segfaults on binary files. I haven't spent too much time debugging this issue yet, since I don't use vis as my primary editor anymore. I don't think that it is related to your problem. However, it is something to keep in mind. |
I've tried multiple scenarios with provided plugins, but none of them caused SIGSEGV in vis. My attempts were:
Moreover, I noticed that those plugins don't use subprocess Lua API. So I have to ask: are those crashes fixed after removing subprocess patch from a build process? If so - I guess that only core dump can help me to figure out what is going on. |
Seems like when I removed 675-non-block_subproc.patch (from #675) I cannot reproduce a crash. |
OK, back with the patch, and reproducing the issue again. Actually, it seems the Ctrl-C has to happen with the active selection. |
Still can not reproduce even with active selection or multiple selections. It might be related to OS, since I am performing the test on Arch, and it seems like your case is related to OpenSUSE. I need to take a look at the core dump file to figure out what exactly went wrong. |
OK, this is going nowhere, and I would like #675 to be merged so let’s close this one and I will open new ticket when i am able to find out more about it. |
Hmm, this is still continuing (with 33fdd28 commit and added patches):
|
Using the latest vis from the master (particularly 1a958f2, but the situation has been the same for some time already) with couple of patches from unmerged pull requests here (see openSUSE project for the complete list), vis crashes on me quite often, when I press Ctrl-C while editing. The backtrace I found is (which is not much useful, right?):
The text was updated successfully, but these errors were encountered: