Bug 32804 - Amarok crash while searching
Summary: Amarok crash while searching
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: UPSTREAM, advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-02-04 03:47 CET by Raphael Gertz
Modified: 2024-02-29 18:42 CET (History)
7 users (show)

See Also:
Source RPM: amarok-2.9.75-2.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Raphael Gertz 2024-02-04 03:47:54 CET
Description of problem:
If I search capilla in the search form, it crashes

Version-Release number of selected component (if applicable):
amarok-2.9.75-2.mga9

How reproducible:
Always

Steps to Reproduce:
1. Have add ~/Music directory in collection
2. Index collection
3. Search capilla
Comment 1 Raphael Gertz 2024-02-04 03:49:07 CET
Running it in gdb shows this:
[Detaching after fork from child process 13698]
Calling appendChild() on a null node does nothing.

Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
0x00007ffff783d0d0 in CollectionTreeItem::row() const () from /lib64/libamaroklib.so.1
(gdb) bt
#0  0x00007ffff783d0d0 in CollectionTreeItem::row() const () at /lib64/libamaroklib.so.1
#1  0x00007ffff7842380 in CollectionTreeItemModelBase::itemIndex(CollectionTreeItem*) const () at /lib64/libamaroklib.so.1
#2  0x00007ffff7842400 in CollectionTreeItemModelBase::parent(QModelIndex const&) const () at /lib64/libamaroklib.so.1
#3  0x00007ffff6274799 in QModelIndex::parent() const (this=0x1906410) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#4  QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&)
     (this=0xdf6400, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1433
#5  0x00007ffff62d3f84 in doActivate<false>(QObject*, int, void**) (sender=0xb19be0, signal_index=3, argv=0x7fffffffd300) at kernel/qobject.cpp:3931
#6  0x00007ffff62cd55f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m@entry=0x7ffff6570680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd300) at kernel/qobject.cpp:3979
#7  0x00007ffff623d3ec in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>)
    at .moc/moc_qabstractitemmodel.cpp:557
#8  0x00007ffff784625a in CollectionTreeItemModelBase::tracksLoaded(AmarokSharedPointer<Meta::Album> const&, QModelIndex const&, QList<AmarokSharedPointer<Meta::Track> > const&) () at /lib64/libamaroklib.so.1
#9  0x00007ffff62c8d40 in QObject::event(QEvent*) (this=0xb19be0, e=0x7fffb80e5ee0) at kernel/qobject.cpp:1347
#10 0x00007ffff6f6240e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xb19be0, e=0x7fffb80e5ee0) at kernel/qapplication.cpp:3637
#11 0x00007ffff629e888 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xb19be0, event=0x7fffb80e5ee0) at kernel/qcoreapplication.cpp:1064
#12 0x00007ffff62a15b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x446e30) at kernel/qcoreapplication.cpp:1821
#13 0x00007ffff62f3b03 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x540790) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007ffff1a4c689 in g_main_dispatch (context=0x7fffe4000ee0) at ../glib/gmain.c:3460
#15 g_main_context_dispatch (context=context@entry=0x7fffe4000ee0) at ../glib/gmain.c:4200
#16 0x00007ffff1a4ca18 in g_main_context_iterate (context=context@entry=0x7fffe4000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#17 0x00007ffff1a4ca9c in g_main_context_iteration (context=0x7fffe4000ee0, may_block=1) at ../glib/gmain.c:4343
#18 0x00007ffff62f31f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x54e150, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007ffff629d46b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd730, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007ffff62a4fe6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007ffff673034c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#22 0x00007ffff6f62385 in QApplication::exec() () at kernel/qapplication.cpp:2829
#23 0x0000000000407fd7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/amarok-2.9.75-2.mga9.x86_64/src/main.cpp:389
Comment 2 Lewis Smith 2024-02-04 20:29:22 CET
To reproduce this, can you please explain a bit more.
With an empty ~/Music directory, Amarok displays one track "Art of Natipns" which is not on that directory, and I cannot find. I can move a couple of tracks into it to play with. But how do you:
"2. Index collection
3. Search capilla "
I cannot see 'Index' in any menu; and 'Search capilla' means nothing to me.

CC: (none) => lewyssmith

Comment 3 David GEIGER 2024-02-14 06:41:18 CET
I update amarok to latest git snapshot for both Cauldron and mga9!

CC: (none) => geiger.david68210

Comment 4 David GEIGER 2024-02-14 06:44:26 CET
Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
amarok-2.9.75-2.1.mga9
amarok-handbook-2.9.75-2.1.mga9.noarch.rpm
amarok-utils-2.9.75-2.1.mga9
lib64amarok-devel-2.9.75-2.1.mga9
lib64amarok-sqlcollection1-2.9.75-2.1.mga9
lib64amarok-transcoding1-2.9.75-2.1.mga9
lib64amarokcore1-2.9.75-2.1.mga9
lib64amaroklib1-2.9.75-2.1.mga9
lib64amarokpud1-2.9.75-2.1.mga9
lib64amarokshared1-2.9.75-2.1.mga9
libamarok-devel-2.9.75-2.1.mga9
libamarok-sqlcollection1-2.9.75-2.1.mga9
libamarok-transcoding1-2.9.75-2.1.mga9
libamarokcore1-2.9.75-2.1.mga9
libamaroklib1-2.9.75-2.1.mga9
libamarokpud1-2.9.75-2.1.mga9
libamarokshared1-2.9.75-2.1.mga9


From SRPMS:
amarok-2.9.75-2.1.mga9.src.rpm

Assignee: bugsquad => qa-bugs

David GEIGER 2024-02-14 06:45:04 CET

Depends on: (none) => 32838

Marja Van Waes 2024-02-14 16:37:57 CET

CC: (none) => marja11
Keywords: (none) => advisory

Comment 5 Ben McMonagle 2024-02-15 05:07:22 CET
Steps to Reproduce:
1. Have add ~/Music directory in collection
2. Index collection
3. Search capilla

step 1. confirmed

step 2. confirmed

step 3. unconfirmed (searched for "mad dogs and englishmen" discovered "Noel Coward: Mad Dogs and Englishmen"

plays Mad Dogs and Englishmen upon request.

ver: amarok-2.9.75-2.mga9 installed

new install of Mga9.

(In reply to Lewis Smith from comment #2)

> With an empty ~/Music directory, Amarok displays one track "Art of Nations"

default demo track - seems to be an online track.

CC: (none) => westel

Comment 6 Thomas Andrews 2024-02-15 17:56:22 CET
I downloaded several songs from a free online source, winding up with 8 tracks in my Music folder. 

Amarok wasn't installed, so I installed it and tried to reproduce the issue. I could not. Running from the command line and searching for specific artists found each and put them into the playlist, and they could be played on command. I tried searching for "capilla" and it found nothing - because there was nothing to find with that search term. 

For what it's worth, this system has already received the pending kf5 updates. I don't know if that would have made a difference.

Going now to get the packages from comment 4. Even if I can't reproduce the issue, I can check that for new regressions.

CC: (none) => andrewsfarm

Comment 7 Thomas Andrews 2024-02-15 18:11:27 CET
No installation issues. I ran it from the command line, cleared the existing playlist, searched the collection for some of the tracks, which reloaded the playlist. Then I searched the playlist for a certain song, which it found and started playing.

This looks OK on this hardware, as far as I went. However, being unable to reproduce the issue, I can't say that it is now fixed.

Raphael, we need for you to test this.
Comment 8 Ben McMonagle 2024-02-15 20:53:14 CET
(In reply to Thomas Andrews from comment #7)
> No installation issues. I ran it from the command line, cleared the existing
> playlist, searched the collection for some of the tracks, which reloaded the
> playlist. Then I searched the playlist for a certain song, which it found
> and started playing.
> 
> This looks OK on this hardware, as far as I went. However, being unable to
> reproduce the issue, I can't say that it is now fixed.
> 
> Raphael, we need for you to test this.

same here, no issues after updated to testing.:

$ ./rpmcheck

Check to see if this rpm is installed: amarok

         amarok-2.9.75-2.mga9 is installed


# urpmi --auto-update
medium "QA Testing (64-bit)" is up-to-date

To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch
(medium "Core Release (Installer)")
  lib64amarokcore1               2.9.75       2.1.mga9      x86_64
(medium "QA Testing (64-bit)")
  amarok                         2.9.75       2.1.mga9      x86_64
  amarok-handbook                2.9.75       2.1.mga9      noarch
  amarok-utils                   2.9.75       2.1.mga9      x86_64
  lib64amarok-sqlcollection1     2.9.75       2.1.mga9      x86_64
  lib64amarok-transcoding1       2.9.75       2.1.mga9      x86_64
  lib64amaroklib1                2.9.75       2.1.mga9      x86_64
  lib64amarokpud1                2.9.75       2.1.mga9      x86_64
  lib64amarokshared1             2.9.75       2.1.mga9      x86_64
14MB of additional disk space will be used.
19MB of packages will be retrieved.
Proceed with the installation of the 9 packages? (Y/n) y

~

$ ./rpmcheck

Check to see if this rpm is installed: amarok

         amarok-2.9.75-2.1.mga9 is installed

$ ls

'01 - Cab Calloway - Minnie the Moocher.mp3'
'02 - Noël Coward - Mad Dogs and Englishmen.mp3'
'03 - Debroy Summers - My Canary Has Circles Under His Eyes.mp3'
"04 - Eddie Cantor - Makin' Whoopee.mp3"
'05 - Spike Jones - Cocktails For Two.mp3'
'06 - Fred Waring - Dry Bones.mp3'
"07 - Fats Waller - Your Feet's Too Big.mp3"
'08 - New Vaudeville Band - Winchester Cathedral.mp3'
'09 - Sam the Sham & the Pharaohs - Líl Red Riding Hood.mp3'
'10 - Sha Na Na - Itsy Bitsy, Teeny Weeny Yellow Polka Dot Bikini.mp3'
'11 - Buddy Knox - Party Doll.mp3'
'12 - The Crystals - Da Doo Ron Ron.mp3'
'13 - Marmalade - Ob-la-Di Ob-La-Da.mp3'
'14 - Tommy Roe - Dizzy.mp3'
'15 - Middle of the Road - Chirpy Chirpy Cheep Cheep.mp3'
'16 - Sam the Sham & the Pharaohs - Wooly Bully.mp3'
'17 - The Newbeats - Bread and Butter.mp3'
'18 - The Olympics - Western Movies.mp3'
"19 - Bobby Day - Rockin'Robin.mp3"
'20 - The Trashmen - Surfin Bird.mp3'
'21 - Freddie & the Dreamers - I'm Telling You Now.mp3'
'22 - The Crew-Cuts - Sh-Boom.mp3'
'23 - Rufus Thomas - Do the Funky Chicken.mp3'
'24 - Dee Dee Sharp - Do the Bird.mp3'
'25 - ‘Little’ Jimmy Dickens - May the Bird of Paradise Fly Up Your Nose.mp3'

added above to to "local collection"

searched for several titles -ok, and addedto playlist.
played without issue
Comment 9 Raphael Gertz 2024-02-15 23:37:09 CET
Not sure from where it comes, my local collection has 32k audio files.

I found that one of my directories had a modification date to the 31 dec 1969, which triggered a sql error:
2024-02-15 22:14:22 amarok[amarok] @ localhost [] ERROR 1264: Out of range value for column 'changedate' at row 1 : INSERT INTO directories(deviceid,changedate,dir) VALUES (1,4294963696,'home/<user>/Musique/<path>')

And I have many duplicated files with names likely invalid, not sure yet where it comes from.

Got an other backtrace:
Calling appendChild() on a null node does nothing.

Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
0x00007ffff783d0d0 in CollectionTreeItem::row() const () from /lib64/libamaroklib.so.1
(gdb) bt
#0  0x00007ffff783d0d0 in CollectionTreeItem::row() const () at /lib64/libamaroklib.so.1
#1  0x00007ffff7842380 in CollectionTreeItemModelBase::itemIndex(CollectionTreeItem*) const () at /lib64/libamaroklib.so.1
#2  0x00007ffff7842400 in CollectionTreeItemModelBase::parent(QModelIndex const&) const () at /lib64/libamaroklib.so.1
#3  0x00007ffff6274799 in QModelIndex::parent() const (this=0x11e9790) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#4  QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&)
     (this=0xdcf670, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1433
#5  0x00007ffff62d3f84 in doActivate<false>(QObject*, int, void**) (sender=0xaeda30, signal_index=3, argv=0x7fffffffd2f0) at kernel/qobject.cpp:3931
#6  0x00007ffff62cd55f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m@entry=0x7ffff6570680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd2f0) at kernel/qobject.cpp:3979
#7  0x00007ffff623d3ec in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>)
    at .moc/moc_qabstractitemmodel.cpp:557
#8  0x00007ffff784625a in CollectionTreeItemModelBase::tracksLoaded(AmarokSharedPointer<Meta::Album> const&, QModelIndex const&, QList<AmarokSharedPointer<Meta::Track> > const&) () at /lib64/libamaroklib.so.1
#9  0x00007ffff62c8d40 in QObject::event(QEvent*) (this=0xaeda30, e=0x7fff9c002210) at kernel/qobject.cpp:1347
#10 0x00007ffff6f6240e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xaeda30, e=0x7fff9c002210) at kernel/qapplication.cpp:3637
#11 0x00007ffff629e888 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xaeda30, event=0x7fff9c002210) at kernel/qcoreapplication.cpp:1064
#12 0x00007ffff62a15b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x446e30) at kernel/qcoreapplication.cpp:1821
#13 0x00007ffff62f3b03 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x53f9f0) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007ffff1a4c689 in g_main_dispatch (context=0x7fffe4000ee0) at ../glib/gmain.c:3460
#15 g_main_context_dispatch (context=context@entry=0x7fffe4000ee0) at ../glib/gmain.c:4200
#16 0x00007ffff1a4ca18 in g_main_context_iterate (context=context@entry=0x7fffe4000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#17 0x00007ffff1a4ca9c in g_main_context_iteration (context=0x7fffe4000ee0, may_block=1) at ../glib/gmain.c:4343
#18 0x00007ffff62f31f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x54b220, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007ffff629d46b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd720, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007ffff62a4fe6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007ffff673034c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#22 0x00007ffff6f62385 in QApplication::exec() () at kernel/qapplication.cpp:2829
#23 0x0000000000407fd7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/amarok-2.9.75-2.mga9.x86_64/src/main.cpp:389
Comment 10 Raphael Gertz 2024-02-15 23:42:27 CET
Found that amarok don't like unfinished torrent with empty mp3 files, he sets them as duplicate.
Comment 11 Raphael Gertz 2024-02-15 23:53:51 CET
Ok, I found a way to make it crash, when it detects two duplicate files, search for the name of the first get me:
Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
0x00007ffff783d0d0 in CollectionTreeItem::row() const () from /lib64/libamaroklib.so.1
(gdb) bt
#0  0x00007ffff783d0d0 in CollectionTreeItem::row() const () at /lib64/libamaroklib.so.1
#1  0x00007ffff7842380 in CollectionTreeItemModelBase::itemIndex(CollectionTreeItem*) const () at /lib64/libamaroklib.so.1
#2  0x00007ffff7842400 in CollectionTreeItemModelBase::parent(QModelIndex const&) const () at /lib64/libamaroklib.so.1
#3  0x00007ffff6274799 in QModelIndex::parent() const (this=0x1434ca0) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#4  QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&)
     (this=0xdd5030, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1433
#5  0x00007ffff62d3f84 in doActivate<false>(QObject*, int, void**) (sender=0xaf4610, signal_index=3, argv=0x7fffffffd2f0) at kernel/qobject.cpp:3931
#6  0x00007ffff62cd55f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m@entry=0x7ffff6570680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd2f0) at kernel/qobject.cpp:3979
#7  0x00007ffff623d3ec in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>)
    at .moc/moc_qabstractitemmodel.cpp:557
#8  0x00007ffff784625a in CollectionTreeItemModelBase::tracksLoaded(AmarokSharedPointer<Meta::Album> const&, QModelIndex const&, QList<AmarokSharedPointer<Meta::Track> > const&) () at /lib64/libamaroklib.so.1
#9  0x00007ffff62c8d40 in QObject::event(QEvent*) (this=0xaf4610, e=0x7fff9c0396a0) at kernel/qobject.cpp:1347
#10 0x00007ffff6f6240e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0xaf4610, e=0x7fff9c0396a0) at kernel/qapplication.cpp:3637
#11 0x00007ffff629e888 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xaf4610, event=0x7fff9c0396a0) at kernel/qcoreapplication.cpp:1064
#12 0x00007ffff62a15b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x446e30) at kernel/qcoreapplication.cpp:1821
#13 0x00007ffff62f3b03 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x540720) at kernel/qeventdispatcher_glib.cpp:277
#14 0x00007ffff1a4c689 in g_main_dispatch (context=0x7fffe4000ee0) at ../glib/gmain.c:3460
#15 g_main_context_dispatch (context=context@entry=0x7fffe4000ee0) at ../glib/gmain.c:4200
#16 0x00007ffff1a4ca18 in g_main_context_iterate (context=context@entry=0x7fffe4000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#17 0x00007ffff1a4ca9c in g_main_context_iteration (context=0x7fffe4000ee0, may_block=1) at ../glib/gmain.c:4343
#18 0x00007ffff62f31f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x54ee00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007ffff629d46b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd720, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007ffff62a4fe6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007ffff673034c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#22 0x00007ffff6f62385 in QApplication::exec() () at kernel/qapplication.cpp:2829
#23 0x0000000000407fd7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/amarok-2.9.75-2.mga9.x86_64/src/main.cpp:389
Comment 12 Raphael Gertz 2024-02-16 00:11:34 CET
Sadly crash happens only with full collection (> ~50k files).

I might have a problem with amarok anyway, with two wav files with same size and same length, but not same contents, it considers them as duplicate :'(

Invalid duplicate testcase:
https://rapsys.eu/mageia/amarok/Musique.tar.xz
Comment 13 Ben McMonagle 2024-02-16 04:56:04 CET
What happens if you clean up the directory?

probably easiest if you make a copy of the original dir. to confirm Amarok or dir. is the issue.

Then:
remove dups.
remove files with invalid dates... etc?
remove the original dir. as the source from amarok.
add the new cleaned dir. as your music source to amarok.
index the collection

do a search.
David GEIGER 2024-02-23 02:33:41 CET

Depends on: 32838 => (none)

Comment 14 David GEIGER 2024-02-23 02:39:39 CET
@Raphael Gertz This bug should reported upstream at https://bugs.kde.org/

This is not a mageia bug.
Comment 15 Otto Leipälä 2024-02-26 16:19:36 CET
No but seems developement still going on upstream
could update this to git at least in Cauldron...

https://invent.kde.org/multimedia/amarok
Comment 16 Len Lawrence 2024-02-29 12:21:52 CET
mga9, x86_64

Had a go at installing amarok before the update and hit trouble right away:
$ rpm -q amarok
amarok-2.9.75-2.mga9
$ amarok
QObject::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int)
QObject::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int)
Got ERROR: "Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist" errno: 2000
........
kf.kirigami: Failed to find a Kirigami platform plugin
QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (200,-1) are not possible
.....

So, no point in trying the update.

CC: (none) => tarazed25

Comment 17 Len Lawrence 2024-02-29 12:58:30 CET
Continuing from comment 16...
However, it does launch from the system menus.  ??
But the update does not and the command line does nothing.
$ amarok
$
$ rpm -q amarok
amarok-2.9.75-2.1.mga9

The package libamarok-devel-2.9.75-2.1.mga9 does not exist on the mirror apparently.
Comment 18 Thomas Andrews 2024-02-29 14:10:13 CET
Wouldn't you be looking for lib64amarok-devel on a 64-bit system?
Comment 19 Len Lawrence 2024-02-29 15:32:04 CET
You are right of course - don't know how I missed that.

This is all getting a bit confusing though.  There is an icon for Amarok in the Mate panel, placed there the first time amarok was invoked.
Clicking that launches the application and allows navigation to the Music directory which it accepts as is.  It has not attempted to index or create a library AFAICS, which suits me.  Tracks play fine.  

Cannot find the search function.  There is a 'search playlist' in the right-hand panel.
Comment 20 Thomas Andrews 2024-02-29 15:48:11 CET
On my Plasma system, there is a 'search collection' box at the top of the left-hand panel. If I type 'beach' there, it finds the two Beach Boys tracks in my meager collection, letting me know they are in my Music folder.
Comment 21 Thomas Andrews 2024-02-29 16:04:13 CET
I had been running it from the Plasma menu, but on my system, it runs OK from the command 'amarok'. There are a number of messages left behind in the terminal at closing, but none of them that mention 'kirigami'.

I believe this is OK, that, as David Geiger said, whatever is the reason for the reporter's issue, it's not something we can fix, especially if none of us can reproduce it. I'm inclined to send it along.

What do you think, Len?
Comment 22 Len Lawrence 2024-02-29 16:31:23 CET
Yes, I agree because it works for the majority.  This Mate system may lack certain refinements compared with other desktops.  It does seem to work better in a Plasma environment.
Comment 23 Thomas Andrews 2024-02-29 16:45:57 CET
Amarok is a KDE app, so that's not surprising.

Validating.

Whiteboard: (none) => MGA9-64-OK
Keywords: (none) => UPSTREAM, validated_update
CC: (none) => sysadmin-bugs

Comment 24 Mageia Robot 2024-02-29 18:42:16 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0081.html

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


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