Summary: | Kate crash inside git blame plugin | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Bruno Pitrus <brunopitrus> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kare.sars, waqar.17a |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 21.08.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 21.12 | |
Sentry Crash Report: |
Description
Bruno Pitrus
2021-10-06 10:51:58 UTC
Thanks for the report. You have one huge commit there.... I have tried to avoid the risk of running out of memory by limiting the amount of bytes that is forwarded to be displayed in the message dialog, but your commit seems to be so huge that you run out of memory even just trying to read the data into a buffer. Possible solutions (mainly question to Kate developers): 1) Make the processing of the git output a bit more complicated by assigning read channel and reading only a limited amount of data. 2) Add the file name to "git show <hash>" to only output the diff for the current file. 3) Both of the above... A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/499 Fixed in 21.12 |