https://bugs.kde.org/show_bug.cgi?id=424393

            Bug ID: 424393
           Summary: Elisa trips Qt assertion when scrolling through album
                    view
           Product: elisa
           Version: 20.04.3
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: awil...@adelielinux.org
  Target Milestone: ---

SUMMARY
First run of Elisa, it successfully imported 499 music files from $HOME/Music. 
The Albums view was the default view.

I attempted to scroll down to view more albums, and Elisa immediately crashed:

ASSERT: "phase == Startup" in file qml/qqmlobjectcreator.cpp, line 161

I can reproduce this crash every time.  Running Elisa inside GDB allows the
second page to be displayed, but the third page still crashes.

STEPS TO REPRODUCE
1. Open Elisa.
2. Scroll the Album view.

OBSERVED RESULT
ASSERT: "phase == Startup" in file qml/qqmlobjectcreator.cpp, line 161

EXPECTED RESULT
Albums displayed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Adélie Linux 1.0, kernel 5.4.5-mc0
KDE Plasma Version: 5.18.4 LTS
KDE Frameworks Version: 5.72
Qt Version: 5.12.6

ADDITIONAL INFORMATION
Thread 1 "elisa" received signal SIGABRT, Aborted.
0x00003ffff7f86528 in __syscall4 (d=8, c=0, b=70368744157224, a=2, n=174) at
./arch/powerpc64/syscall_arch.h:54
54      ./arch/powerpc64/syscall_arch.h: No such file or directory.
(gdb) bt
#0  0x00003ffff7f86528 in __syscall4 (d=8, c=0, b=70368744157224, a=2, n=174)
at ./arch/powerpc64/syscall_arch.h:54
#1  __restore_sigs (set=0x3fffffffb028) at src/signal/block.c:43
#2  0x00003ffff7f86878 in raise (sig=<optimized out>) at src/signal/raise.c:11
#3  0x00003ffff7f3dc28 in abort () at src/exit/abort.c:13
#4  0x00003ffff5d507e4 in qt_message_fatal (context=..., message=...) at
global/qlogging.cpp:1907
#5  0x00003ffff5d51834 in QMessageLogger::fatal (this=0x3fffffffb1e8,
msg=<optimized out>) at global/qlogging.cpp:888
#6  0x00003ffff5d47378 in qt_assert (assertion=<optimized out>, file=<optimized
out>, line=161) at ../../include/QtCore/../../src/corelib/global/qlogging.h:91
#7  0x00003ffff680f774 in QQmlObjectCreator::create (this=0x100b21860,
subComponentIndex=<optimized out>, parent=0x0, interrupt=<optimized out>) at
qml/qqmlobjectcreator.cpp:159
#8  0x00003ffff674a3d4 in QQmlIncubatorPrivate::incubate
(this=this@entry=0x1014a7420, i=...) at
/usr/include/QtCore/qscopedpointer.h:116
#9  0x00003ffff674b1a0 in QQmlIncubatorPrivate::forceCompletion
(this=0x1014a7420, i=...) at qml/qqmlincubator.cpp:266
#10 0x00003ffff674b214 in QQmlIncubator::forceCompletion (this=<optimized out>)
at qml/qqmlincubator.cpp:592
#11 0x00003ffff68abf3c in QQmlDelegateModelPrivate::object
(this=this@entry=0x101071e60, group=<optimized out>, index=index@entry=14,
incubationMode=incubationMode@entry=QQmlIncubator::AsynchronousIfNested) at
types/qqmldelegatemodel.cpp:1029
#12 0x00003ffff68ac4b8 in QQmlDelegateModel::object (this=<optimized out>,
index=<optimized out>, incubationMode=<optimized out>) at
types/qqmldelegatemodel.cpp:1114
#13 0x00003ffff4b3ce84 in QQuickItemViewPrivate::createItem
(this=this@entry=0x1010704a0, modelIndex=modelIndex@entry=14,
incubationMode=incubationMode@entry=QQmlIncubator::AsynchronousIfNested) at
/usr/include/c++/8.3.0/bits/atomic_base.h:390
#14 0x00003ffff4b415ac in QQuickItemViewPrivate::updateCurrent
(this=this@entry=0x1010704a0, modelIndex=modelIndex@entry=14) at
items/qquickitemview.cpp:1648
#15 0x00003ffff4b42080 in QQuickItemView::setCurrentIndex (this=0x1010703e0,
index=<optimized out>) at items/qquickitemview.cpp:330
#16 0x00003ffff4b43f64 in QQuickItemView::qt_static_metacall (_o=<optimized
out>, _o@entry=0x1010703e0, _c=_c@entry=QMetaObject::WriteProperty,
_id=_id@entry=3, _a=<optimized out>, _a@entry=0x3fffffffba28) at
.moc/moc_qquickitemview_p.cpp:839
#17 0x00003ffff4b450b4 in QQuickItemView::qt_metacall (this=0x1010703e0,
_c=<optimized out>, _id=<optimized out>, _a=0x3fffffffba28) at
.moc/moc_qquickitemview_p.cpp:917
#18 0x00003ffff4b31abc in QQuickGridView::qt_metacall (this=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qquickgridview_p.cpp:249
#19 0x00003ffff6718764 in QQmlVMEMetaObject::metaCall (this=0x1010719a0,
o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=0x3fffffffba28) at
qml/qqmlvmemetaobject.cpp:944
#20 0x00003ffff5ffb690 in QMetaObject::metacall (object=<optimized out>,
cl=<optimized out>, idx=<optimized out>, argv=<optimized out>) at
kernel/qmetaobject.cpp:314
#21 0x00003ffff660fc54 in QV4::QObjectWrapper::setProperty (engine=<optimized
out>, object=0x1010703e0, property=0x1006cef18, value=...) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:214
#22 0x00003ffff66106b0 in QV4::QObjectWrapper::setQmlProperty
(engine=0x1001d2b60, qmlContext=<optimized out>, object=0x1010703e0,
name=<optimized out>, revisionMode=<optimized out>, value=...) at
jsruntime/qv4qobjectwrapper.cpp:437
#23 0x00003ffff6610924 in QV4::QObjectWrapper::virtualPut (m=0x3fffee4ad590,
id=..., value=..., receiver=0x3fffee4ad590) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:398
#24 0x00003ffff6544900 in QV4::Object::put (receiver=0x3fffee4ad590, v=...,
name=0x3fffee4ad598, this=0x3fffee4ad590) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:171
#25 QV4::Lookup::setterFallback (l=<optimized out>, engine=0x1001d2b60,
object=..., value=...) at jsruntime/qv4lookup.cpp:487
#26 0x00003ffff663e078 in QV4::Moth::VME::interpret
(frame=frame@entry=0x3fffffffbe90, engine=engine@entry=0x1001d2b60,
code=0x3fffed21aa51 "\016\002") at jsruntime/qv4vme_moth.cpp:636
#27 0x00003ffff6645b14 in QV4::Moth::VME::exec (frame=0x3fffffffbe90,
engine=0x1001d2b60) at jsruntime/qv4vme_moth.cpp:447
#28 0x00003ffff6583b5c in QV4::Function::call (this=<optimized out>,
thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>,
context=<optimized out>) at jsruntime/qv4function.cpp:68
#29 0x00003ffff67df554 in QQmlJavaScriptExpression::evaluate (this=0x1017db8a0,
callData=0x3fffee4ad4d8, isUndefined=0x0) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/jsruntime/qv4persistent_p.h:116
#30 0x00003ffff675378c in QQmlBoundSignalExpression::evaluate
(this=0x1017db8a0, a=0x3fffffffdd68) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#31 0x00003ffff6753b40 in QQmlBoundSignal_callback (e=0x101882d80,
a=0x3fffffffdd68) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#32 0x00003ffff67b11f8 in QQmlNotifier::emitNotify (endpoint=<optimized out>,
a=0x3fffffffdd68) at qml/qqmlnotifier.cpp:104
#33 0x00003ffff671da0c in QQmlData::signalEmitted (object=0x1016aef00,
index=<optimized out>, a=0x3fffffffdd68) at qml/qqmlengine.cpp:883
#34 0x00003ffff603488c in QMetaObject::activate (sender=0x1016aef00,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=0x3fffffffdd68) at kernel/qobject.h:121
#35 0x00003ffff6035410 in QMetaObject::activate (sender=0x1016aef00,
m=<optimized out>, local_signal_index=<optimized out>, argv=0x3fffffffdd68) at
kernel/qobject.cpp:3656
#36 0x00003ffff49b0494 in QQuickItem::activeFocusChanged (this=<optimized out>,
_t1=true) at .moc/moc_qquickitem.cpp:1086
#37 0x00003ffff49e3660 in QQuickWindowPrivate::notifyFocusChangesRecur
(items=0x3fffffffde48, remaining=<optimized out>) at
/usr/include/c++/8.3.0/bits/atomic_base.h:390
#38 0x00003ffff49f0714 in QQuickWindowPrivate::setFocusInScope
(this=0x1003a7000, scope=0x1010703e0, item=<optimized out>, reason=<optimized
out>, options=...) at /usr/include/QtCore/qvarlengtharray.h:195
#39 0x00003ffff49cc7f4 in QQuickItem::setParentItem (this=0x1016aef00,
parentItem=<optimized out>) at /usr/include/QtCore/qflags.h:120
#40 0x00003ffff4b3bdcc in QQuickItemView::initItem (this=0x1010703e0,
object=<optimized out>) at items/qquickitemview.cpp:2357
#41 0x00003ffff4b31800 in QQuickGridView::initItem (this=<optimized out>,
index=<optimized out>, obj=<optimized out>) at items/qquickgridview.cpp:2176
#42 0x00003ffff4b431c4 in QQuickItemView::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qquickitemview_p.cpp:535
#43 0x00003ffff6034ffc in QMetaObject::activate (sender=0x101071e20,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=0x3fffffffe280) at kernel/qobject.cpp:3803
#44 0x00003ffff6035410 in QMetaObject::activate (sender=0x101071e20,
m=<optimized out>, local_signal_index=<optimized out>, argv=0x3fffffffe280) at
kernel/qobject.cpp:3656
#45 0x00003ffff68741bc in QQmlInstanceModel::initItem (this=<optimized out>,
_t1=14, _t2=0x1016aef00) at .moc/moc_qqmlobjectmodel_p.cpp:239
#46 0x00003ffff68a7fd8 in QQmlDelegateModelPrivate::emitInitItem
(item=<optimized out>, incubationTask=0x1017615e0, this=0x101071e60) at
types/qqmldelegatemodel_p_p.h:285
#47 QQmlDelegateModelPrivate::setInitialState (this=0x101071e60,
incubationTask=0x1017615e0, o=0x1016aef00) at types/qqmldelegatemodel.cpp:995
#48 0x00003ffff68a8018 in QQDMIncubationTask::setInitialState (this=<optimized
out>, o=<optimized out>) at types/qqmldelegatemodel.cpp:984
#49 0x00003ffff674a6dc in QQmlIncubatorPrivate::incubate (this=0x1014a7420,
i=...) at /usr/include/c++/8.3.0/bits/atomic_base.h:390
#50 0x00003ffff674b364 in QQmlIncubationController::incubateFor
(this=0x1005eee30, msecs=<optimized out>) at
../../include/QtQml/5.12.6/QtQml/private/../../../../../src/qml/qml/ftw/qintrusivelist_p.h:242
#51 0x00003ffff49fa3ac in QQuickWindowIncubationController::incubate
(this=0x1005eee20) at items/qquickwindow.cpp:164
#52 QQuickWindowIncubationController::timerEvent (this=0x1005eee20) at
items/qquickwindow.cpp:147
#53 0x00003ffff6035bfc in QObject::event (this=0x1005eee20, e=<optimized out>)
at kernel/qobject.cpp:1241
#54 0x00003ffff74f43ac in QApplicationPrivate::notify_helper
(this=0x3ffff7344440, receiver=0x1005eee20, e=0x3fffffffe920) at
kernel/qapplication.cpp:3700
#55 0x00003ffff74ff67c in QApplication::notify (this=0x3fffffffeea0,
receiver=0x1005eee20, e=0x3fffffffe920) at kernel/qapplication.cpp:3056
#56 0x00003ffff5feacf0 in QCoreApplication::notifyInternal2
(receiver=0x1005eee20, event=0x3fffffffe920) at
kernel/qcoreapplication.cpp:1088
#57 0x00003ffff5feb194 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1476
#58 0x00003ffff607a2dc in QTimerInfoList::activateTimers (this=0x3ffff4201e60)
at kernel/qtimerinfo_unix.cpp:643
#59 0x00003ffff607b114 in timerSourceDispatch (source=<error reading variable:
value has been optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#60 0x00003ffff607b15c in idleTimerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:229
#61 0x00003ffff346a9a0 in g_main_dispatch (context=0x3ffff3888900) at
../glib/gmain.c:3216
#62 g_main_context_dispatch (context=0x3ffff3888900) at ../glib/gmain.c:3881
#63 0x00003ffff346ad68 in g_main_context_iterate
(context=context@entry=0x3ffff3888900, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#64 0x00003ffff346ae7c in g_main_context_iteration (context=0x3ffff3888900,
may_block=<optimized out>) at ../glib/gmain.c:4015
#65 0x00003ffff607b728 in QEventDispatcherGlib::processEvents
(this=0x10015f2c0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#66 0x00003fffefcd3920 in QXcbGlibEventDispatcher::processEvents
(this=<optimized out>, flags=...) at qxcbeventdispatcher.cpp:143
#67 0x00003ffff5fe7640 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at /usr/include/c++/8.3.0/bits/atomic_base.h:707
#68 0x00003ffff5fe7e3c in QEventLoop::exec (this=0x3fffffffed08, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#69 0x00003ffff5ff6370 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#70 0x00003ffff6bae328 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1784
#71 0x00003ffff74f430c in QApplication::exec () at kernel/qapplication.cpp:2856
#72 0x00000001000074c4 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/packages/user/elisa/src/elisa-20.04.3/src/main.cpp:184

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to