Summary: | Amarok sometimes crashes when searching in Collection Browser | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Matěj Laitl <matej> |
Component: | Collection Browser | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andreas.privatadresse, introspective, tuomas |
Priority: | NOR | Keywords: | drkonqi |
Version: | kf5 | ||
Target Milestone: | kf5 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/multimedia/amarok/-/commit/e3a14e6ed3aeb0800df2a781b5c999d71e4d524c | Version Fixed In: | |
Sentry Crash Report: |
Description
Matěj Laitl
2021-01-17 16:10:39 UTC
*** Bug 432030 has been marked as a duplicate of this bug. *** *** Bug 478788 has been marked as a duplicate of this bug. *** Would be great to hear if this is reproducible in 2.9.82. I don't think I have encountered this (at least not in some years). I can't right away recognize this as something that has been fixed, but since there have been quite a bit of different improvements all around, it could well be. Okay, actually, when enabling the sql autotests on invent.kde.org pipelines, I found out that testsqlquerymaker very often crashes during TestSqlQueryMaker::testDeleteQueryMakerWithRunningQuery(). This might be related, I'll see if I can find out what's the problem there. A possibly relevant merge request was started @ https://invent.kde.org/multimedia/amarok/-/merge_requests/90 Git commit e3a14e6ed3aeb0800df2a781b5c999d71e4d524c by Tuomas Nurmi. Committed on 22/04/2024 at 14:41. Pushed by nurmi into branch 'master'. Avoid crash when a running SqlQueryMaker is deleted Deletion only after a job has finished seems to prevent crashes in cases where an already deleted job finishes and runs defaultEnd, and additionally cases where SqlQueryMakerInternal is deleted during an sql query and it tries to emit now deleted signals based on query results. Also try to avoid running any further extra steps in SqlQueryMakerInternal::run if abort has been called. Fixes a flaky test, hopefully fixes also fixes a related bug M +14 -1 src/core-impl/collections/db/sql/SqlQueryMaker.cpp M +13 -2 src/core-impl/collections/db/sql/SqlQueryMakerInternal.cpp M +2 -0 src/core-impl/collections/db/sql/SqlQueryMakerInternal.h https://invent.kde.org/multimedia/amarok/-/commit/e3a14e6ed3aeb0800df2a781b5c999d71e4d524c |