| Summary: | Crash of python plugin during background parsing | ||
|---|---|---|---|
| Product: | [Developer tools] kdev-python | Reporter: | Benjamin Huth <benjamin-huth> |
| Component: | general | Assignee: | Sven Brauch <mail> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Backtrace | ||
Hi, do you by any chance have a file or a link to the project which reproduces the crash? Thanks! The project on which the crash occurred is https://github.com/acts-project/acts Thanks, I will have a look in the coming weeks. It's probably related to the support for the match syntax which has been added since then, that is the only significant change since the commit you mention. Fortunately this code is not in the 22.12 release, so the issue should not exist there. This should be fixed on master now. |
Created attachment 154757 [details] Backtrace SUMMARY First of all, thanks to all involved contributors for making Kdev-python again working for python 3.10+! :) I used the new kdev-python plugin now quite a lot the last month, with the version from November 9 (b31a4f643394e8bef7309505dffac5b73c7c615b). However, today I built the newest version (as of December 22), and there I get strange crashes from the plugin after some amount of time running (~1-5 minutes). I see in the backtrace, that the crash comes clearly from the python plugin... I don't have *.py files open, but the project I'm working on contains some, so I think it is during background parsing. When I go back to the older version, the crash does not occur anymore, so it seems to have something to do with some recent updates I'm happy to provide more specific information with some guidance on how to get them. STEPS TO REPRODUCE 1. Open KDevelop with python plugin enabled 2. Do something 3. Kdevelop crashes after some time. OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Python: 3.11.0 (RPM) Operating System: Fedora Linux 37 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 6.0.12-300.fc37.x86_64 (64-bit) Graphics Platform: X11 Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 Manufacturer: ASUS ADDITIONAL INFORMATION