Unity8 crashed with sigsegv after touching on an alarm from the upcoming indicator (sync in progress)

Bug #1309162 reported by Ricardo Salveti
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-mir
New
Undecided
Gerry Boland
unity8 (Ubuntu)
Fix Released
Undecided
Unity UI Team

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 and it started to automatically sync my calendar. Before the sync was completed, I tried to touch at one of the alarms I had at the upcoming indicator, but unity8 crashed with a sigsegv as a result.

It seems that the event was removed after the sync was completed, so at that time the entry was probably not completely valid.

Bt:
#0 0x00000080 in ?? ()
No symbol table info available.
#1 0xaa258cd6 in LauncherModel::applicationAdded (this=0xa8b09dc8, parent=..., row=<optimized out>) at /build/buildd/unity8-7.85+14.04.20140416/plugins/Unity/Launcher/launchermodel.cpp:297
        item = 0xa62db120
        _container_ = {c = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0xa8b12ed8}, d = 0xa8b12ed8}}, brk = 0, i = {i = 0xa8b12efc}, e = {i = 0xa8b12f00}}
        app = 0x9d336bb8
        found = <optimized out>
#2 0xb66ae6fc in QMetaObject::activate (sender=sender@entry=0xae697788, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0xb0bf08c8) at kernel/qobject.cpp:3569
        receiverInSameThread = <optimized out>
        sw = {receiver = 0xa8b09dc8, previousSender = 0x0, currentSender = {sender = 0xae697788, signal = 13, ref = 1}, switched = true}
        callFunction = 0xaa2626a1 <LauncherModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
        receiver = 0xa8b09dc8
        method_relative = 2
        c = 0xa7861d50
        last = 0x9b53a028
        locker = {val = 3062049524}
        connectionLists = {connectionLists = 0xae698430}
        list = 0xae6984c0
        signal_index = 13
        empty_argv = {0x0}
        currentThreadId = 0xb0bf1450
        __PRETTY_FUNCTION__ = "static void QMetaObject::activate(QObject*, int, int, void**)"
#3 0xb66aea76 in QMetaObject::activate (sender=sender@entry=0xae697788, m=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0xb0bf08c8) at kernel/qobject.cpp:3444
No locals.
#4 0xb66f5724 in QAbstractItemModel::rowsInserted (this=this@entry=0xae697788, _t1=..., _t2=1, _t3=1) at .moc/moc_qabstractitemmodel.cpp:427
        _a = {0x0, 0xb0bf08f4, 0xb0bf08c4, 0xb0bf08c0}
#5 0xb6666528 in QAbstractItemModel::endInsertRows (this=this@entry=0xae697788) at itemmodels/qabstractitemmodel.cpp:2597
        d = 0xae697ff0
        change = {parent = {r = -1, c = -1, i = 0, m = 0x0}, first = 1, last = 1, needsAdjust = false}
#6 0xabfdd584 in unitymir::ApplicationManager::add (this=this@entry=0xae697788, application=application@entry=0x9d336bb8) at /build/buildd/unity-mir-0.3+14.04.20140417/src/modules/Unity/Application/application_manager.cpp:940
No locals.
#7 0xabfdd7cc in unitymir::ApplicationManager::onProcessStartReportReceived (this=0xae697788, appId=..., failure=<optimized out>) at /build/buildd/unity-mir-0.3+14.04.20140417/src/modules/Unity/Application/application_manager.cpp:484
        application = 0x9d336bb8
#8 0xb66ae418 in call (a=0xb0bf0a74, r=<optimized out>, this=0xae6a1800) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:132
No locals.

Related branches

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Michał Sawicz (saviq)
Changed in unity8:
assignee: nobody → Michael Zanetti (mzanetti)
Michał Sawicz (saviq)
Changed in unity8:
status: New → In Progress
Changed in unity8 (Ubuntu):
status: New → In Progress
assignee: nobody → Unity UI Team (unity-ui-team)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Gerry, I've added a workaround to prevent this crashing the shell. But we should really figure the main reason for this. Can you please enable the debug output in release builds for unity-mir?

Changed in unity-mir:
assignee: nobody → Gerry Boland (gerboland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 7.88+14.10.20140606-0ubuntu1

---------------
unity8 (7.88+14.10.20140606-0ubuntu1) utopic; urgency=low

  [ Michał Sawicz ]
  * Make lockscreen buttons translatable.

  [ Albert Astals ]
  * Correctly mark these functions as overrides
  * Remove connections to non existant signal
  * Better test name
  * Improvements for headerless categories LVPWH: No section name -> no
    header LVPWH: New hasSectionHeader context property for delegates
    GSV: Add topMargin if no hasSectionHeader (LP: #1326415)
  * Make tryVerticalJournal, tryHorizontalJournal and tryOrganicGrid
    work again

  [ Michael Zanetti ]
  * Don't crash when we get an invalid app from ApplicationManager (LP:
    #1309162)

  [ Andrea Cimitan ]
  * Workaround for lp1324159 (LP: #1322233, #1324159)

  [ CI bot ]
  * Resync trunk

  [ Florian Boucault ]
  * Application startup: changed splash rectangle to be black instead of
    white and added a neat little animation. (LP: #1124265)
 -- Ubuntu daily release <email address hidden> Fri, 06 Jun 2014 11:38:53 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
Michał Sawicz (saviq)
Changed in unity8:
status: In Progress → Fix Released
Michał Sawicz (saviq)
no longer affects: unity8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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