Bug 21995

Summary: Amarok does not play audio CDs (recognizes CD, but reports 0 tracks)
Product: Mageia Reporter: Arne Spiegelhauer <gm2.asp>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, marja11, ouaurelien
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: amarok CVE:
Status comment:
Attachments: amarok debug output

Description Arne Spiegelhauer 2017-11-08 18:43:35 CET
Description of problem:
When Amarok is started and an audio CD is inserted (in any order), Amarok adds an "Audio CD" tab to "Local Music", but finds no tracks on the CD.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

starting Amarok in Konsole reveals that it is missing (on Arch. x86_64)
/usr/share/kde4/services/audiocd.protocol and
/usr/lib64/kde4/kio_audiocd.so


As a workaround, copying these files plus the following libraries from an MGA5 installation enables CD playback:
/usr/lib64/libkcddb.so.4
/usr/lib64/libkcompactdisc.so.4
/usr/lib64/libaudiocdplugins.so.4
/usr/lib64/libmusicbrainz5.so.0
Marja Van Waes 2017-11-08 20:03:55 CET

Source RPM: (none) => amarok
CC: (none) => marja11
Assignee: bugsquad => kde

Comment 1 Arne Spiegelhauer 2017-11-12 16:03:34 CET
FWIW, I built (with a couple of re-namings to avoid a conflict and an obsoletion) the following 3 MGA5 source RPMs:
libkcompactdisc-4.14.3-1.mga5.src.rpm
libkcddb-4.14.3-1.mga5.src.rpm
kde4-audiocd-4.14.3-1.mga5.src.rpm

and installed the resulting kde4-audiocd RPM and its dependencies plus the phonon-gstreamer RPM

Amarok CD playing and CD ripping seems to work with this (even though the added packages should rightly have been version 4.14-35 to match Amarok).
Comment 2 David GEIGER 2020-05-02 09:20:26 CEST
Is this bug still valid on mga7?

CC: (none) => geiger.david68210

Comment 3 Arne Spiegelhauer 2020-05-02 14:10:26 CEST
behaviour is the same for mga7.

When amarok started from a konsole and a CD is inserted, the following is logged (twice)

amarok(7758): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol 'audiocd'.


audiocd-kio is installed and dolphin is able to read the tracks.

Version: 6 => 7

Comment 4 David GEIGER 2020-05-02 14:59:56 CEST
Certainly because audiocd-kio is Qt5/Kf5 and amarok is still Qt4.

On Cauldron I have update amarok to a first Qt5/Kf5 pre-release.
Comment 5 Arne Spiegelhauer 2020-05-02 15:07:25 CEST
On Couldron with Amarok 2.9.70, the behaviour is the same, but the logs on the konsole changed to

 kf5.kio.core: Invalid URL: QUrl("")
Comment 6 David GEIGER 2020-05-02 16:06:43 CEST
Hmmm! I think this issue should be reported upstream at https://bugs.kde.org/
Comment 7 David GEIGER 2020-06-05 17:12:25 CEST
On Cauldron can you run "$ amarok --debug" and attach the full log in a file, please?
Comment 8 Arne Spiegelhauer 2020-06-05 20:37:09 CEST
Created attachment 11680 [details]
amarok debug output

started amarok, inserted CD and waited for AUDIO CD tab to appear, and then quit amarok.
Comment 9 David GEIGER 2020-06-06 08:41:40 CEST
Could you file a new bug upstream for latest 2.9.70 release (Qt5/Kf5 branch), please?

https://bugs.kde.org/enter_bug.cgi?product=amarok
Comment 10 Aurelien Oudelet 2021-05-21 04:06:51 CEST
Status of this bug?

Status: NEW => NEEDINFO
CC: (none) => ouaurelien

Comment 11 Aurelien Oudelet 2021-07-06 13:17:50 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 12 Arne Spiegelhauer 2021-08-30 22:35:43 CEST
Same problem mga8 (Version 2.9.71).

journal logs are now:
Aug 30 22:26:55 localhost amarok[53868]: kf.kio.core: Invalid URL: QUrl("")
Aug 30 22:26:55 localhost amarok[53868]: kf.kio.core: Invalid URL: QUrl("")


Furthermore amarok segfaults, whwn "Play audio CD with Amarok" is selected from the Disks & Devices popup (Plasma):


Aug 30 21:54:59 localhost systemd[1786]: Started amarok.
Aug 30 21:55:00 localhost amarok[51201]: QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Aug 30 21:55:00 localhost amarok[51201]: Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
Aug 30 21:55:00 localhost kernel: amarok[51201]: segfault at d8 ip 00007f55721f4609 sp 00007ffcdbafbfa0 error 6 in libamaroklib.so.1.0.0[7f5571ecf000+445000]
Aug 30 21:55:00 localhost kernel: Code: ff 4c 89 f7 e8 78 dd d5 ff 48 8b 7c 24 20 80 7f 20 00 0f 85 eb 02 00 00 48 8d 7c 24 20 45 31 e4 e8 6c 3e ce ff 48 8b 44 24 08 <c6> 80 d8 00 00 00 01 48 8b 7c 24 10 8b 07 85 c0 0f 84 ed 01 00 00
Aug 30 21:55:00 localhost systemd[1786]: app-amarok-8d3bea66a323497e94245dc9989908d2.scope: Succeeded.
Arne Spiegelhauer 2021-08-30 22:36:21 CEST

Version: 7 => 8