This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok frequently crashes towards end of the song

Tags: None
(comma "," separated)
Horus
Registered Member
Posts
296
Karma
0
OS
Hello,

Amarok crashes frequently when approaching the end of the song, say in the last 10 seconds. The behavior is not reproducible, neither are files that played fine one time immune the next.

It is not related to directory or format, e.g. it crashes between songs of the same album (mp3 or flac) or completely different songs (format, directory).
It happens randomly, maybe every 10 tracks.

Phonon backend is gstreamer, which uses alsa.
Fade In and Out are disabled.

Amarok 2.8.0 / KDE 4.11.3 / gstreamer 0.10.31 / gstreamer 1.2.1 / Linux 3.12.1 / Arch
All packages up to date, https://www.archlinux.org/packages/

These are the last few lines of amarok -d
[code]
amarok: BEGIN: void ProgressWidget::redrawBookmarks(const QString*)
amarok: found 0 timecodes on this track
amarok: END__: void ProgressWidget::redrawBookmarks(const QString*) [Took: 0s]
amarok: MPRIS2: Album image location is KUrl("")
amarok: MPRIS2: Queueing up a PropertiesChanged signal
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/florian/.kde4/socket-horus/kdeinit4__0
[\code]

Anything else I can provide?

Regards,
Florian

EDIT: s/arts/alsa/

Last edited by Horus on Fri Nov 29, 2013 8:51 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please try disabling Replay Gain and Fadeout.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Actually, Phonon uses Pulseaudio, which uses alsa, there is no such thing as arts anymore.

Check that you have Pulseaudio installed, as apparently sometimes Arch doesn't install it, but it should be default on Arch: https://wiki.archlinux.org/index.php/PulseAudio


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Horus
Registered Member
Posts
296
Karma
0
OS
Typo, please replace arts with alsa. Of course, arts is long dead and buried.

Pulseaudio is not installed and for the time being I've no intentions to do so.

Fade In/Out is already disabled. Replay Gain was set to track, it's disabled now.

I've changed the Phonon backend to VLC, no crashes so far. Switching back to gstreamer, let's see...
Horus
Registered Member
Posts
296
Karma
0
OS
Ok, it still crashes with ReplayGain disabled, using the gstreaner backend:
Code: Select all
amarok: MPRIS2: Queueing up a PropertiesChanged signal

(amarok:2629): GStreamer-CRITICAL **: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/florian/.kde4/socket-horus/kdeinit4__0
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
and you have PA installed? Also please make sure you have the gstreamer 0.10.x plugins, the 1.x ones don't work with the current Phonon backend release yet


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Horus
Registered Member
Posts
296
Karma
0
OS
As I said, PA is not installed.

Playback works fine, I don't think it's a missing plugin.
These are the plugins installed for gst 0.10:
Code: Select all
extra/gstreamer0.10 0.10.36-2
    GStreamer Multimedia Framework
extra/gstreamer0.10-bad 0.10.23-5
    GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)
extra/gstreamer0.10-bad-plugins 0.10.23-5 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)
extra/gstreamer0.10-base 0.10.36-1
    GStreamer Multimedia Framework Base plugin libraries
extra/gstreamer0.10-base-plugins 0.10.36-1 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Base Plugins (gst-plugins-base)
extra/gstreamer0.10-ffmpeg 0.10.13-1 (gstreamer0.10-plugins)
    Gstreamer FFMpeg Plugin
extra/gstreamer0.10-good 0.10.31-3
    GStreamer Multimedia Framework Good plugin libraries
extra/gstreamer0.10-good-plugins 0.10.31-3 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Good Plugins (gst-plugins-good)
extra/gstreamer0.10-ugly 0.10.19-7
    GStreamer Multimedia Framework Ugly plugin libraries
extra/gstreamer0.10-ugly-plugins 0.10.19-7 (gstreamer0.10-plugins)
    GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
*sigh* you really should install Pulseaudio, as all your problems stem from there...


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Horus
Registered Member
Posts
296
Karma
0
OS
No reason to *sigh*, there is a reason I don't use pulseaudio: viewtopic.php?f=19&t=118119

But you're right, amarok does not crash anymore, it just stops at the first 10s of a song, but much more frequently then it used to crash. Result is more or less the same...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Based on what you've observed above, I would suggest simply using the VLC backend. The GStreamer code in question is responsible for the crash, but it is unlikely the GStreamer developers will be interested in fixing it as they will be working on the 1.x code.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Well, I would report this as a packaging error to Arch, as it works perfectly fine with PA and the gstreamer backend in Kubuntu. So far we have repeatedly reports by people using Arch where there are problems, so I strongly suspect some serious packaging error.

FWIW: Phonon needs to be built with PA support, as suggested by the Phonon developers.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
gillesh
Registered Member
Posts
6
Karma
0
OS


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]