Calling python print in a thread can segv vim. #239

Closed
wants to merge 1 commit into
from

2 participants

@Rip-Rip
Owner

Remove all prints from the background thread. The parsing/reparsing stats are now using the CodeCompleteTimer API.

With that code, vim no longer segfault in debug mode!

This was referenced Jan 18, 2013
@tobig
Collaborator

So this patch actually fixes crashes in debug mode for you? Neither #228 nor #230 seem to be fixed by this, no?

In any case, I am fine with those changes.

@Rip-Rip
Owner

Yes this patch completely fix all the segfault in debug mode.

#230 is crashing when we call complete_check(), so that's not related to calling vim functions in a thread. I don't know about #228...

@Rip-Rip
Owner

Merged

@Rip-Rip Rip-Rip closed this Jan 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment