← Back to team overview

touch-packages team mailing list archive

[Bug 1423185] Re: Calendar app crash

 

Agree with Alan, it's same behavior but different root cause and i think
it's related to heavy work for qml object creation during tab
transition.

bt as following:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f595d15c033 in QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
(gdb) bt
#0  0x00007f595d15c033 in QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f595e92e80c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#2  0x00007f595e92a36e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#3  0x00007f595e92a813 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#4  0x00007f595e92af9d in QQmlIncubationController::incubateFor(int) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007f595ee8bdd8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f595d3330e3 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f595dfd516c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f595dfda41e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f595d30381b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

Every time tab transition from "year"  to "monthly" .
1.Qt.ResolveUrl("YearView") will create new qml object since YearView has been unloaded (Loader.source = "",garbage collected) when it swipes away.  
2.EventlistModel will reload events due to startPeriodTime was changed(current Date/ current Month/ previous Month / Next Month), 4 times for Qt.createQmlObject for Timer to trigger event loading and destroy itself when event was loaded(garbage collected)

I think this issue exists in other tabs transitions and the reason why it's easier to reproduce from "year"  to "monthly" lies in the complexity qml component creation in year view.
My testing device is on the way. I will test it with my patch to check if this issue is still existing and give feedback ASAP.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtorganizer5-eds in
Ubuntu.
https://bugs.launchpad.net/bugs/1423185

Title:
  Calendar app crash

Status in the base for Ubuntu mobile products:
  Fix Released
Status in Calendar application for Ubuntu devices:
  Incomplete
Status in qtorganizer5-eds package in Ubuntu:
  Fix Released
Status in qtorganizer5-eds package in Ubuntu RTM:
  Fix Released

Bug description:
  Tapping on a day in Year view, crashed calendar app. See attached
  file.

  TEST CASE:
  1. Switch to 'Year' view
  2. Tap on any day
  3. Repeat steps 1 and 2 up to 10 times 

  ACTUAL RESULT
  The app crashes after a few attempts

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1423185/+subscriptions