Merge lp:~zsombi/ubuntu-ui-toolkit/alarmmodel-get-crash into lp:ubuntu-ui-toolkit/staging
Proposed by
Zsombor Egri
on 2015-03-24
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Christian Dywan on 2015-03-25 | ||||
| Approved revision: | 1457 | ||||
| Merged at revision: | 1457 | ||||
| Proposed branch: | lp:~zsombi/ubuntu-ui-toolkit/alarmmodel-get-crash | ||||
| Merge into: | lp:ubuntu-ui-toolkit/staging | ||||
| Diff against target: |
225 lines (+115/-12) 6 files modified
modules/Ubuntu/Components/plugin/adapters/alarmsadapter_organizer.cpp (+6/-7) modules/Ubuntu/Components/plugin/adapters/alarmsadapter_p.h (+5/-3) modules/Ubuntu/Components/plugin/ucalarm_p.h (+1/-0) modules/Ubuntu/Components/plugin/ucalarmmodel.cpp (+9/-1) tests/unit_x11/tst_components/tst_components.pro (+2/-1) tests/unit_x11/tst_components/tst_stress_alarmmodel.qml (+92/-0) |
||||
| To merge this branch: | bzr merge lp:~zsombi/ubuntu-ui-toolkit/alarmmodel-get-crash | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-03-25 | |
| Christian Dywan | 2015-03-24 | Approve on 2015-03-25 | |
| Nekhelesh Ramananthan (community) | testing | Approve on 2015-03-25 | |
|
Review via email:
|
|||
Commit Message
Fixing crashes when AlarmModel::get() returned valid stock alarm ends up to be NULL in QML.
To post a comment you must log in.
| Nekhelesh Ramananthan (nik90) wrote : | # |
Tested on vivid desktop where without this MP, the clock app crashes pretty much every time while using the clock app. With this MP after 15-20 times, not a single crash was reproducible. This MP seems to have done the trick.
review:
Approve
(testing)
| Christian Dywan (kalikiana) wrote : | # |
Looks sensible.
FTR I can't reproduce crashes but I get errors with staging
qml: [CLOCK] Error saving alarm, code: 2
file://
And this by the looks of it is garbage collection at work.
review:
Approve
review:
Approve
(continuous-integration)

FAILED: Continuous integration, rev:1457 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1597/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1956/console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/324 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/327 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/327/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/324 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1723/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1954 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1954/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 19114
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1597/ rebuild
http://