-
Notifications
You must be signed in to change notification settings - Fork 102
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
Crashes X when opening in gvim from XFCE #140
Comments
I'm wondering what is actually "crashing". X doesn't seem to crash since I don't see how the changes in the patch you mention should affect You could try to find out the plug map that triggers the problem (:map If you remove "call tcomment#ResetOption() |" from line 183 the problem Sorry for this slightly unhelpful response. |
Thank you for the response! Since the bug triggers as soon as I open gVim, so it is not a plug map that is the problem. I also removed the call you mentioned above, but the problem persists... |
Then tcomment isn't the problem, is it? tcomment doesn't do anything |
Played around with this some more, and I managed to find the line that caused the problem! |
Simply loading gvim causes the problem? Since I have no way to reproduce the problem, I can only speculate about If you're willing to investigate this further, you could print the |
The only thing I could do is to add a new config param that makes
tcomment use the old code if that's ok for you.
|
nah, wouldn't want such hack on the plugin's code, but thanks!
Is there a better way I could debug this? I'll keep investigating this further for sure... it's really weird! |
OK, I found something new! Checked out commit 16f4229 and started searching for the problem line from that side... and the thing is, even if I removed the
going to sleep now... hope this provides a good clue! |
This is one of the most random bugs I have ever seen, but I could trace it back to a certain commit in tcomment. When opening gvim with tcomment from XFCE (as far as I remember, it actually didn't occur in KDE) other than from command line (for example, from thunar or from cairo-dock), X crashes and must be turned off with Ctrl+Alt+Backspace
I removed all the vim plugins in my dotfiles repository and brought them back one by one. The crash happened when tcomment was added. I left tcomment alone with pathogen, and the crash persisted. By checking out older commits, I traced the bug back to commit 16f4229... I have no idea what is causing it, but happened in both my old installation and the Slackware box I just reinstalled
Please tell me if there is any more information I can provide to help get this bug down!
The text was updated successfully, but these errors were encountered: