| Summary: | crash amarok 3 | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | fabien beaufils <fabien.beaufils> |
| Component: | general | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | tuomas |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 3.0.1 | ||
| Target Milestone: | kf5 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/multimedia/amarok/-/commit/9fe735ac03eb8e2adba341a673c19a0ec1a6c047 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | attachment-2018949-0.html | ||
|
Description
fabien beaufils
2024-07-12 06:29:12 UTC
Thank you for your report! I didn't manage to reproduce this yet, but I'll try harder a bit later. How many albums / missing album covers are you fetching approximately? If you can reproduce this, it might be useful to get console output from "amarok --debug" prior to crash, too. Created attachment 171678 [details] attachment-2018949-0.html Hello, I have just reproduced the spit. This happens after scanning the missing covers. When I choose one to put on a CD the software crashes. amarok: END__: void CoverFetcher::slotResult(const QUrl&, const QByteArray&, const NetworkAccessManagerProxy::Error&) [Took: 0.005s] amarok: [CoverFetcher] Finished successfully for album "Blessed & Possessed (Mediabook Ed.) CD II" amarok: [MySqlStorage] Initialized thread, count == 6 QObject: Cannot create children for a parent that is in a different thread. (Parent is KSqueezedTextLabel(0x5626903df440), parent's thread is QThread(0x56268e2784b0), current thread is QThread(0x7f34f8001040) amarok: [MySqlStorage] Deinitialized thread, count == 5 QObject: Cannot create children for a parent that is in a different thread. (Parent is QTextDocument(0x7f34f8015a90), parent's thread is QThread(0x7f34f8001040), current thread is QThread(0x56268e2784b0) KCrash: Application 'amarok' crashing... KCrash: Attempting to start /usr/lib/drkonqi [1]+ Stoppé amarok --debug fabien@localhost:~> Unable to find file for pid 11647 expected at "kcrash-metadata/11647.ini" QSocketNotifier: Invalid socket 5 and type 'Read', disabling... QSocketNotifier: Invalid socket 13 and type 'Read', disabling... QSocketNotifier: Invalid socket 76 and type 'Read', disabling... Unable to start Dr. Konqi Re-raising signal for core dump handling. Le 12/07/2024 à 10:40, Tuomas Nurmi a écrit : > hank you for your report! I didn't manage to reproduce this yet, but I'll try > harder a bit later. > > How many albums / missing album covers are you fetching approximately? > > If you can reproduce this, it might be useful to get console output from > "amarok --debug" prior to crash, too. Very good, thank you! I can reproduce with the exact steps: Have an album with no cover. Open cover manager, click "Fetch missing covers". Wait for the album to get a cover. After that, click manually "Fetch Cover" for that album, and try to assign a different cover to that -> crash. Should be easily fixable, let's see. Okay, it was a bit more complicated than it first seemed, being actually related to multiple threads wanting to alter UI items, but I think I got it. (Was also reproducible by hovering mouse over one of the album items on background while "Fetch Cover" dialog was open, and then a cover was selected there and dialog closed.) Git commit 9fe735ac03eb8e2adba341a673c19a0ec1a6c047 by Tuomas Nurmi. Committed on 15/07/2024 at 18:32. Pushed by nurmi into branch 'master'. Avoid thread-related crashes in CoverManager Do all m_statusLabel updating through signals/slots so threads don't get messed up when both CoverManager status and network events and CoverView mouseover want to change it. M +1 -0 ChangeLog M +1 -2 src/covermanager/CoverManager.cpp M +0 -1 src/covermanager/CoverManager.h https://invent.kde.org/multimedia/amarok/-/commit/9fe735ac03eb8e2adba341a673c19a0ec1a6c047 |