https://bugs.kde.org/show_bug.cgi?id=481384
Bug ID: 481384
Summary: Amarok crash while searching
Classification: Applications
Product: amarok
Version: unspecified
Platform: Mageia RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: amarok-bugs-d...@kde.org
Reporter: k...@rapsys.eu
Target Milestone: kf5
SUMMARY
I search for a string like 'a b c d e f g h i j k l ...' or others but with
this one it fails each time.
After adding my collection, with multiple duplicated file and a directory
failing import (modification date 31 dec 1969).
Amarok crash
STEPS TO REPRODUCE
1. Import lot of directories with a directory modified the 31 dec 1969 and
multiple duplicates
2. Search for some song title or string earlier
3. Crash
OBSERVED RESULT
Crash
EXPECTED RESULT
Should not crash
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
Calling appendChild() on a null node does nothing.
Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
0x7783d0d0 in CollectionTreeItem::row() const () from
/lib64/libamaroklib.so.1
(gdb) bt
#0 0x7783d0d0 in CollectionTreeItem::row() const () at
/lib64/libamaroklib.so.1
#1 0x77842380 in
CollectionTreeItemModelBase::itemIndex(CollectionTreeItem*) const () at
/lib64/libamaroklib.so.1
#2 0x77842400 in CollectionTreeItemModelBase::parent(QModelIndex
const&) const () at /lib64/libamaroklib.so.1
#3 0x76274799 in QModelIndex::parent() const (this=0x11e9790) at
../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:443
#4 QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&,
QModelIndex const&, QVector const&)
(this=0xdcf670, source_top_left=,
source_bottom_right=, roles=...) at
itemmodels/qsortfilterproxymodel.cpp:1433
#5 0x762d3f84 in doActivate(QObject*, int, void**)
(sender=0xaeda30, signal_index=3, argv=0x7fffd2f0) at
kernel/qobject.cpp:3931
#6 0x762cd55f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**)
(sender=, m=m@entry=0x76570680
,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffd2f0)
at kernel/qobject.cpp:3979
#7 0x7623d3ec in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector const&) (this=, _t1=, _t2=, _t3=)
at .moc/moc_qabstractitemmodel.cpp:557
#8 0x7784625a in
CollectionTreeItemModelBase::tracksLoaded(AmarokSharedPointer
const&, QModelIndex const&, QList > const&) ()
at /lib64/libamaroklib.so.1
#9 0x762c8d40 in QObject::event(QEvent*) (this=0xaeda30,
e=0x7fff9c002210) at kernel/qobject.cpp:1347
#10 0x76f6240e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0xaeda30, e=0x7fff9c002210) at
kernel/qapplication.cpp:3637
#11 0x7629e888 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0xaeda30, event=0x7fff9c002210) at kernel/qcoreapplication.cpp:1064
#12 0x762a15b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x446e30) at
kernel/qcoreapplication.cpp:1821
#13 0x762f3b03 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x53f9f0) at kernel/qeventdispatcher_glib.cpp:277
#14 0x71a4c689 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 0x71a4ca18 in g_main_context_iterate
(context=context@entry=0x7fffe4000ee0, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at ../glib/gmain.c:4276
#17 0x71a4ca9c in g_main_context_iteration (context=0x7fffe4000ee0,
may_block=1) at ../glib/gmain.c:4343
#18 0x762f31f6 in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x54b220, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x7629d46b in
QEventLoop::exec(QFlags)
(this=this@entry=0x7fffd720, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x762a4fe6 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x7673034c in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#22 0x76f62385 in QApplication::exec() () at
kernel/qapplication.cpp:2829
#23 0x00407fd7 in main(int, char**) (argc=,
argv=) at
/usr/src/debug/amarok-2.9.75-2.mga9.x86_64/src/main.cpp:389
--
You are receiving this mail because:
You are watching all bug changes.