Calendar app crashes with sigsev when listing the calendar entries from eds

Bug #1309186 reported by Ricardo Salveti
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Critical
Renato Araujo Oliveira Filho
qtorganizer5-eds (Ubuntu)
Fix Released
Critical
Renato Araujo Oliveira Filho
Nominated for Trusty by Łukasz Zemczak

Bug Description

current build number: 302
device name: mako
channel: ubuntu-touch/trusty-proposed
last update: 2014-04-17 11:40:41
version version: 302
version ubuntu: 20140417
version device: 20140411.3

Added a google account that then created a bunch of calendar entries because of the calendar sync, and when trying to list them via the calendar-app, it crashes quite easily (opening -> daily -> week -> month, etc).

[Impact]

 * The Calendar app will crash very easily when launched after syncing your Google calendar, especially when large number of events are present. The app crashes when simply navigating between views or opening a calendar event.

 * This fix prevents the crash from occurring, regardless of number of events.

 * Only impacts device users, not desktop

[Test Case]

 * Install ubuntu touch on device
 * Ensure you have google calendar events in google
 * Create an online account for Google on the device via system-settings
 * After receiving notification that sync has completed, open the Calendar app
 * Navigate between views (Year, Month, Week, Day) and ensure no crashes
 * Make sure you can open a specific calendar event for a particular day with no crashes.

[Regression Potential]

 * Low. It's been well tested and verified to fix the crash situation without causing unwanted side-effects

 * Only affects phone users, not used on desktop

Related branches

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Download full text (8.2 KiB)

Bt:

(gdb) bt full
#0 0x00000030 in ?? ()
No symbol table info available.
#1 0xb0244cc8 in QOrganizerEDSEngine::cancelRequest (this=<optimized out>, req=0x1e988b0) at /build/buildd/qtorganizer5-eds-0.1.1+14.04.20140415.1/qorganizer/qorganizer-eds-engine.cpp:981
        data = 0x1d7e5f0
#2 0xb195bc9c in QtOrganizer::QOrganizerAbstractRequest::cancel (this=0x1e988b0) at qorganizerabstractrequest.cpp:275
        ml = <optimized out>
#3 0xb0244af2 in QOrganizerEDSEngine::~QOrganizerEDSEngine (this=0x1f5ce40, __in_chrg=<optimized out>) at /build/buildd/qtorganizer5-eds-0.1.1+14.04.20140415.1/qorganizer/qorganizer-eds-engine.cpp:99
        req = <optimized out>
        _container_ = {c = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1eae9b8}, d = 0x1eae9b8}}, brk = 0, i = {i = 0x1eae9c8}, e = {i = 0x1eae9cc}}
#4 0xb0244bc8 in QOrganizerEDSEngine::~QOrganizerEDSEngine (this=0x1f5ce40, __in_chrg=<optimized out>) at /build/buildd/qtorganizer5-eds-0.1.1+14.04.20140415.1/qorganizer/qorganizer-eds-engine.cpp:108
No locals.
#5 0xb196300a in ~QOrganizerManagerData (this=0x1f5cd28, __in_chrg=<optimized out>) at qorganizermanager_p.h:81
No locals.
#6 QtOrganizer::QOrganizerManager::~QOrganizerManager (this=0x1f5cd18, __in_chrg=<optimized out>) at qorganizermanager.cpp:367
No locals.
#7 0xb19630a4 in QtOrganizer::QOrganizerManager::~QOrganizerManager (this=0x1f5cd18, __in_chrg=<optimized out>) at qorganizermanager.cpp:368
No locals.
#8 0xb0c65a46 in ~QDeclarativeOrganizerModelPrivate (this=0x1f5cb18, __in_chrg=<optimized out>) at qdeclarativeorganizermodel.cpp:113
No locals.
#9 cleanup (pointer=0x1f5cb18) at /usr/include/qt5/QtCore/qscopedpointer.h:62
No locals.
#10 ~QScopedPointer (this=0x1f5ca68, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:109
        oldD = 0x1f5cb18
#11 QDeclarativeOrganizerModel::~QDeclarativeOrganizerModel (this=0x1f5ca58, __in_chrg=<optimized out>) at qdeclarativeorganizermodel.cpp:209
No locals.
#12 0xb0c461fc in ~QQmlElement (this=0x1f5ca58, __in_chrg=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:90
No locals.
#13 QQmlPrivate::QQmlElement<QDeclarativeOrganizerModel>::~QQmlElement (this=0x1f5ca58, __in_chrg=<optimized out>) at /usr/include/qt5/QtQml/qqmlprivate.h:90
No locals.
#14 0xb6297da0 in QObjectPrivate::deleteChildren (this=this@entry=0x1eb0db8) at kernel/qobject.cpp:1841
        i = 0
#15 0xb629bfee in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:934
        d = <optimized out>
        __PRETTY_FUNCTION__ = "virtual QObject::~QObject()"
#16 0xb6dc9588 in QQuickItem::~QQuickItem (this=0x1eb0d58, __in_chrg=<optimized out>) at items/qquickitem.cpp:2038
No locals.
#17 0xb6e2e8c2 in ~QQuickImplicitSizeItem (this=0x1eb0d58, __in_chrg=<optimized out>) at items/qquickimplicitsizeitem_p.h:51
No locals.
#18 QQuickLoader::~QQuickLoader (this=0x1eb0d58, __in_chrg=<optimized out>) at items/qquickloader.cpp:311
No locals.
#19 0xb6dd6950 in ~QQmlElement (this=0x1eb0d58, __in_chrg=<optimized out>) at ../../include/QtQml/../../src/qml/qml/qqmlprivate.h:90
No locals.
#20 QQmlPrivate::...

Read more...

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Changed in qtorganizer5-eds (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Bill Filler (bfiller)
Changed in qtorganizer5-eds (Ubuntu):
importance: Undecided → Critical
Changed in qtorganizer5-eds (Ubuntu):
status: New → In Progress
Revision history for this message
Bill Filler (bfiller) wrote :

[Impact]

 * The Calendar app will crash very easily when launched after syncing your Google calendar, especially when large number of events are present. The app crashes when simply navigating between views or opening a calendar event.

 * This fix prevents the crash from occurring, regardless of number of events.

 * Only impacts device users, not desktop

[Test Case]

 * Install ubuntu touch on device
 * Ensure you have google calendar events in google
 * Create an online account for Google on the device via system-settings
 * After receiving notification that sync has completed, open the Calendar app
 * Navigate between views (Year, Month, Week, Day) and ensure no crashes
 * Make sure you can open a specific calendar event for a particular day with no crashes.

[Regression Potential]

 * Low. It's been well tested and verified to fix the crash situation without causing unwanted side-effects

 * Only affects phone users, not used on desktop

description: updated
Bill Filler (bfiller)
Changed in ubuntu-calendar-app:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
status: Confirmed → In Progress
Changed in qtorganizer5-eds (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Is the buildOnDevice.sh code necessary / part of the SRU? This is the debdiff I am looking at.

http://paste.ubuntu.com/7362742/

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote : Re: [Bug 1309186] Re: Calendar app crashes with sigsev when listing the calendar entries from eds

the buildOnDevice.sh is not really necessary to fix the patch, I just
added it to help run tests on device.

On Tue, Apr 29, 2014 at 8:46 PM, Brian Murray <email address hidden> wrote:
> Is the buildOnDevice.sh code necessary / part of the SRU? This is the
> debdiff I am looking at.
>
> http://paste.ubuntu.com/7362742/
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1309186
>
> Title:
> Calendar app crashes with sigsev when listing the calendar entries
> from eds
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1309186/+subscriptions

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtorganizer5-eds - 0.1.1+14.10.20140502-0ubuntu1

---------------
qtorganizer5-eds (0.1.1+14.10.20140502-0ubuntu1) utopic; urgency=low

  [ Renato Araujo Oliveira Filho ]
  * Check if request was destroyed by the caller before continue with
    request process. (LP: #1309186)
 -- Ubuntu daily release <email address hidden> Fri, 02 May 2014 14:24:28 +0000

Changed in qtorganizer5-eds (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.