https://bugs.kde.org/show_bug.cgi?id=481381
Bug ID: 481381 Summary: Crash when filtering certain information from pyright LSP Classification: Applications Product: kate Version: 23.08.4 Platform: Kubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: len...@gmail.com Target Milestone: --- Created attachment 165841 --> https://bugs.kde.org/attachment.cgi?id=165841&action=edit Crash dump SUMMARY *** Some type of input from pyright appears to cause kate to segfault. I can't unfortunately figure out which input exactly, but it does appear to be related to using pyright as an LSP STEPS TO REPRODUCE 1. Open a large project (e.g charmcraft: https://github.com/canonical/charmcraft) in Kate 2. Set pyright as your Python LSP: ``` "pyright": { "command": ["pyright-langserver", "--stdio"], "url": "https://github.com/Microsoft/pyright", "highlightingModeRegex": "^Python$", "root": ".", "settings": { "pyright": { "disableLanguageServices": false, "disableOrganizeImports": false, "disableTaggedHints": false }, "python": { "analysis": { "diagnosticMode": "workspace", "logLevel": "Information", "typeCheckingMode": "strict" }, "pythonPath": ".venv/bin/python" } } } ``` 3. In the Diagnostics tab, filter for LSP and only for errors. 4. Find some errors and start modifying code, using tab complete, etc. OBSERVED RESULT Segfault EXPECTED RESULT No segfault SOFTWARE/OS VERSIONS Kate: 23.08.4 Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.