ITADN

[BUG] Crash when editing Python file

#902Openwkec 创建于 2026-05-18
bug
W
wkeccommented
I have Python LSP server configured to use with ecode. I was editing a Python file (a CLI tool using the Python Click library, nothing crazy). An autocomplete was triggered for arguments of a Click library function. Then the crash happened. Log is shown below. It looks like the EE::System::Zip::addFile function in the eepp library is the culprit Stack trace (most recent call last): #21 Object "KERNEL32", at 0x7ffb387e7374, in BaseThreadInitThunk #20 Object "msvcrt", at 0x7ffb3893b02c, in endthreadex #19 Object "msvcrt", at 0x7ffb3893af5a, in beginthreadex #18 Object "eepp", at 0x7ffacdf72833, in EE::System::Zip::addFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) #17 Object "eepp", at 0x7fface579e01, in non-virtual thunk to EE::UI::HTMLTextInput::~HTMLTextInput() #16 Object "eepp", at 0x7ffacdbf06ea, in EE::System::Process::startAsyncRead(std::function<void (char const*, unsigned long long)>, std::function<void (char const*, unsigned long long)>) #15 Object "ecode", at 0x7ff6bcf8c4d4, in ecode::LSPClientServer::readStdOut(char const*, unsigned long long) #14 Object "ecode", at 0x7ff6bcf60765, in ecode::LSPClientServer::workDoneProgress(ecode::LSPProgressParams<ecode::LSPWorkDoneProgressValue> const&) #13 Object "ecode", at 0x7ff6bcf22c39, in ecode::LSPClientPlugin::update(EE::UI::UICodeEditor*) #12 Object "ecode", at 0x7ff6bcfb4006, in ecode::PluginManager::sendResponse(ecode::Plugin*, ecode::PluginMessageType, ecode::PluginMessageFormat, void const*, ecode::PluginIDType const&) #11 Object "ecode", at 0x7ff6bcd647c1, in ecode::AutoCompletePlugin::processResponse(ecode::PluginMessage const&) #10 Object "ecode", at 0x7ff6bcd6389e, in ecode::AutoCompletePlugin::processResponse(ecode::PluginMessage const&) #9 Object "ecode", at 0x7ff6bcd625e8, in ecode::AutoCompletePlugin::processSignatureHelp(ecode::LSPSignatureHelp const&) #8 Object "eepp", at 0x7ffacdd32ff4, in EE::UI::Doc::TextDocument::getSelectedText(unsigned long long const&) const #7 Object "eepp", at 0x7ffacdd32bc1, in EE::UI::Doc::TextDocument::getText(EE::UI::Doc::TextRange const&) const #6 Object "eepp", at 0x7ffacdc70a08, in EE::String::reserve(unsigned long long) #5 Object "eepp", at 0x7fface5a9c09, in non-virtual thunk to EE::UI::HTMLTextInput::~HTMLTextInput() #4 Object "eepp", at 0x7fface579838, in non-virtual thunk to EE::UI::HTMLTextInput::~HTMLTextInput() #3 Object "eepp", at 0x7fface572a33, in EE::System::Zip::addFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) #2 Object "eepp", at 0x7fface37a989, in EE::System::Zip::addFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) #1 Object "eepp", at 0x7fface413baa, in EE::System::Zip::addFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) #0 Object "msvcrt", at 0x7ffb3892f1fb, in abort
2 条评论