Bug 10341 - Amarok 2.7.0 stops or crashes when loading a Wikipedia page with the audio tag.
Summary: Amarok 2.7.0 stops or crashes when loading a Wikipedia page with the audio tag.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Juan Luis Baptiste
QA Contact:
URL: http://amarok.kde.org/en/releases/2.7.1
Whiteboard:
Keywords: Triaged
Depends on: 10480
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-29 11:29 CEST by Edward d'Auvergne
Modified: 2013-09-01 16:07 CEST (History)
0 users

See Also:
Source RPM: amarok
CVE:
Status comment:


Attachments

Description Edward d'Auvergne 2013-05-29 11:29:15 CEST
Description of problem:

Amarok in Mageia 3 is constantly crashing!  This was fixed in Amarok 2.7.1 as described in their release http://amarok.kde.org/en/releases/2.7.1 (We now have worked around the QtWebkit - GStreamer bug that caused frequent crashes on track start; this happened if the Wikipedia applet tried to load a page containing an audio tag.).  Sometimes Amarok doesn't crash but rather the track stops playing about 2 seconds in.


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

2.7.0


How reproducible:

Just run Amarok on a selection of songs and wait for the stops and crashes.  On my system it occurs probably once every 10 songs.


Steps to Reproduce:
1.  Run Amarok
2.  Wait
3.


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-05-29 19:45:09 CEST

Keywords: (none) => PATCH, Triaged
Assignee: bugsquad => juan.baptiste
Source RPM: (none) => amarok

Comment 1 Juan Luis Baptiste 2013-05-29 19:52:57 CEST
Why the PATCH keyword ? I thought that meant there was a patch already available and attached to this bug report.
Comment 2 Manuel Hiebel 2013-05-29 19:53:58 CEST
oups sorry

Keywords: PATCH => (none)

Comment 3 Juan Luis Baptiste 2013-05-30 01:30:48 CEST
I think we can push 2.7.1 from cauldron, according to the release news of that version, there are only 8 bug fixing commits:

Note that this is just a very small subset of bug fixes that already went to upcoming Amarok 2.8, which is being baked behind the scenes and which will improve many existing features. We kept 2.7.1 as minimal as possible (with just 8 commits on top of 2.7.0) so that it is a safe and pleasant update for everyone.

If it is ok I'll prepare the update.
Juan Luis Baptiste 2013-06-11 02:34:47 CEST

Status: NEW => ASSIGNED

Comment 4 Juan Luis Baptiste 2013-06-12 20:24:57 CEST
Ok, there's an updated package in core/updates_testing, please test and report back.
Juan Luis Baptiste 2013-06-12 20:26:15 CEST

Depends on: (none) => 10480

Comment 5 Edward d'Auvergne 2013-06-24 10:21:53 CEST
I finally have access to the machine for testing this.  But I cannot find any new Amarok packages in core/updates_testing (after enabling in the media manager and searching within rpmdrake).  Are there any special tricks I should know for installing this?
Comment 6 Juan Luis Baptiste 2013-06-24 16:07:46 CEST
Review that you really have enabled core/updates_testing repo for mga 3, the package is there:

http://mirror.internode.on.net/pub/mageia/distrib/3/x86_64/media/core/updates_testing/amarok-2.7.1-1.mga3.x86_64.rpm
Comment 7 Edward d'Auvergne 2013-06-24 16:10:42 CEST
I enabled all repos (core, tainted, non-free, debugging, backports - the lot).  But rpmdrake still did not show the package.  Testing now.
Comment 8 Edward d'Auvergne 2013-06-24 16:45:00 CEST
Hmmm, looks like my mirror list was broken!  Added new mirrors, enabled core updates testing, and now all packages are visible.  The result is that Amarok does not work :S  I see the error message:

Amarok could not find any collection plugins. It is possible that Amarok is installed under the wrong prefix, please fix your installation using:
$ cd /path/to/amarok/source-code/
$ su -c "make uninstall"
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` && su -c "make install"
$ kbuildsycoca4 --noincremental
$ amarok
More information can be found in the README file. For further assistance join us at #amarok on irc.freenode.net.

This is not quite right.
Comment 9 Juan Luis Baptiste 2013-06-25 00:01:55 CEST
Yes, there's something wrong. These are the amarok packages available on core/updates_testing:

amarok
amarok-handbook
amarok-utils
lib64amarok-devel
lib64amarok-sqlcollection1
lib64amarok-transcoding1
lib64amarokcore1
lib64amaroklib1
lib64amarokocsclient4
lib64amarokpud1

but when updating amarok, only amarok and amarok-utils were updated. Even worse, after installing the other packages amarok still doesn't start, throwing the same error, and running it from a console with --debug shows this error:

amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-audiocdcollection' from KPluginLoader: The plugin
'amarok_collection-audiocdcollection' uses an incompatible KDE library (4.10.4)."
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-mtpcollection' from KPluginLoader: The plugin 'ama
rok_collection-mtpcollection' uses an incompatible KDE library (4.10.4)."
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-mysqlecollection' from KPluginLoader: The plugin '
amarok_collection-mysqlecollection' uses an incompatible KDE library (4.10.4)."
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-umscollection' from KPluginLoader: The plugin 'ama
rok_collection-umscollection' uses an incompatible KDE library (4.10.4)."
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-ipodcollection' from KPluginLoader: The plugin 'am
arok_collection-ipodcollection' uses an incompatible KDE library (4.10.4)."

I'll have to look futher into this tonight.
Comment 10 Juan Luis Baptiste 2013-06-25 07:11:47 CEST
This last issue is because there's a full KDE update to 4.10.4 in core/updates_testing, so amarok was built against that version on the build system. 

You have two options:

1. Install the KDE update from core/updates_testing.
2. Wait for the official update and then install this amarok update.

I tested the first option and amarok starts successfully.
Comment 11 Edward d'Auvergne 2013-07-10 12:13:52 CEST
I have been testing this for a few days now, and all seems fine.  Well, there are problems with playing WMA files resulting in the song stopping a few seconds into the song, but the Wikipedia audio tag crashing appears to have disappeared.  I also updated all KDE packages to 4.10.4 which was difficult as I had to use:

$ rpm -q --all | grep 4.10.2

to find all packages still requiring an update.
Comment 12 Edward d'Auvergne 2013-07-12 16:59:13 CEST
This bug can be closed.  It is fixed in core/updates_testing.  The problem of songs freezing has been submitted as bug #10762 (https://bugs.mageia.org/show_bug.cgi?id=10762), as it is unrelated.
Comment 13 Manuel Hiebel 2013-09-01 16:07:57 CEST
update pushed

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.