Closed ethframe closed 5 years ago
@ethframe thanks interesting. could you please try use version from master branch, we just updated jedi version, will works for you?
@srusskih, tried it, plugin_host still crashes. I've managed to determine the code fragment that leads to seemingly infinite recursion in jedi, and reported the bug - https://github.com/davidhalter/jedi/issues/1173
As of v0.12.1, hovering over a global variable would always result in this crash for me. I would get the log message: ‘Sending request to daemon for "docstring"’ Setting "enable_tooltip": false would prevent the issue. As of the new update I no longer get the hover issue however now as soon as I start typing it causes the same crash. Sorry if the information is not that useful, reverted to the previous version for now.
@mitchellsimmons please check latest master
@ethframe thanks for your investigation and bug report. Great job!
Sometimes when autocompletion is triggered, plugin_host.exe crashes with stack overflow in python33.dll. Setting the recursion limit back to
2000
here prevents plugin_host from crashing, as python raises RuntimeError before actual stack overflow. Maybe this change should be reverted?