Summary: | Amarok crashes when attempting to open audio CD from drop-down choices in Devices applet | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | John Carrick Smith <jcarricksmith> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | tuomas |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.9.71 | ||
Target Milestone: | kf5 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/multimedia/amarok/-/commit/212b693c210f673e9dac91d4c62995e30ad5ecbd | Version Fixed In: | |
Sentry Crash Report: |
Description
John Carrick Smith
2024-03-05 12:49:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/amarok/-/merge_requests/74 Git commit 212b693c210f673e9dac91d4c62995e30ad5ecbd by Tuomas Nurmi. Committed on 29/03/2024 at 23:36. Pushed by nurmi into branch 'master'. Fix --cdplay command line option First, avoid touching MainWindow member variables before MainWindow is constructed to avoid immediate segfault. Second, don't try casting cd collection to MemoryCollection, which it doesn't inherit (at least anymore). Casting to MediaDeviceCollection actually works. Hard to tell since when this has been broken, but most of relevant code seems to be last changed in 2010 or earlier, so possibly a while. Related: bug 279188 M +2 -2 ChangeLog M +8 -4 src/MainWindow.cpp https://invent.kde.org/multimedia/amarok/-/commit/212b693c210f673e9dac91d4c62995e30ad5ecbd Thank you for your report! Fix for "Amarok found 0 tracks on an audio CD when it appeared in Media Sources" was merged in a couple of days ago, and fix for crash occurring with "Play audio CD with Amarok" just a moment ago. (They will be included in the upcoming 2.9.76 release) |