Summary: | akonadi_indexing_agent crashing repeatedly | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | nathan |
Component: | general | Assignee: | Carl Schwan <carl> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | auxsvr, carl, dehe_tian |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/akonadi-search/-/commit/8421ace60b1befcc751b977fb06cbe179a93bc95 | Version Fixed In: | |
Sentry Crash Report: |
Description
nathan
2023-09-20 22:11:12 UTC
I can confirm this issue too. --- Operating System: Arch Linux KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.2-arch1-2-lily (64-bit) Graphics Platform: X11 I can't reproduce the issue locally and the crash seems to happen in the rust part of the indexer which should converted untrusted html code to plain text. The backtrace is not that helpful since it only contains 'Cannot access memory at address 0x1d08' as interesting bits which doesn't explain much where the issue happens. I added some explicit unit tests to test the conversion from html to plain text: https://invent.kde.org/pim/akonadi-search/-/commit/97bbcee3336e52162bab3f5c2116a4dd6805f085 but that doesn't trigger any crash. I have a small suspicion that this might be caused by a linking issue somewhere on Arch but I don't have a test system with arch to test that. Probably a good idea would be to move the conversion from html to plain text as even rust is not a silver bullet. A possibly relevant merge request was started @ https://invent.kde.org/pim/akonadi-search/-/merge_requests/26 Git commit 299c4d3144413edab1d9ff8c0d687f0979cd4c91 by Carl Schwan. Committed on 27/09/2023 at 10:49. Pushed by carlschwan into branch 'master'. Move convertion from html to text out-of-process This will decrease futher the likelihood of the indexer crashing on invalid html. M +25 -9 agent/CMakeLists.txt M +1 -10 agent/autotests/CMakeLists.txt M +16 -14 agent/emailindexer.cpp A +72 -0 agent/htmltotext.cpp [License: LGPL(v2.0+)] https://invent.kde.org/pim/akonadi-search/-/commit/299c4d3144413edab1d9ff8c0d687f0979cd4c91 Git commit 8421ace60b1befcc751b977fb06cbe179a93bc95 by Carl Schwan. Committed on 27/09/2023 at 10:59. Pushed by carlschwan into branch 'release/23.08'. Move convertion from html to text out-of-process This will decrease futher the likelihood of the indexer crashing on invalid html. (cherry picked from commit 299c4d3144413edab1d9ff8c0d687f0979cd4c91) M +25 -9 agent/CMakeLists.txt M +16 -14 agent/emailindexer.cpp A +72 -0 agent/htmltotext.cpp [License: LGPL(v2.0+)] https://invent.kde.org/pim/akonadi-search/-/commit/8421ace60b1befcc751b977fb06cbe179a93bc95 |