Clock App crashes when clicking on the settings icon

Bug #1431579 reported by Victor Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Confirmed
Critical
Nekhelesh Ramananthan
ubuntu-ui-toolkit (Ubuntu)
New
Critical
Zsombor Egri

Bug Description

The app crashes when the settings icon is tapped. This occurs in vivid image #130 on mako.

Steps to reproduce the bug:

1. Open the clock app
2. Tap the settings icon in the upper right hand corner

Expected results: The app does not crash

Actual results: The clock app crashes

The following can be found in the logs sometimes, as a result:

file:///usr/share/click/preinstalled/com.ubuntu.clock/3.3.192/share/qml/alarm/AlarmDelegate.qml:78: TypeError: Cannot read property 'enabled' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.3.192/share/qml/alarm/AlarmUtils.qml:142: TypeError: Cannot read property 'enabled' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.3.192/share/qml/alarm/AlarmDelegate.qml:78: TypeError: Cannot read property 'enabled' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.3.192/share/qml/alarm/AlarmUtils.qml:142: TypeError: Cannot read property 'enabled' of null

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Hi Victor, Thanks for the crasher update. Would you mind testing v3.3.2.17 from trunk to see if it fixes the crash pls? There was a similar crasher bug [1] that I fixed in rev 216 [2] that hasn't made it to the store. That bug also started since the recent upload of UITK to the store last friday.

[1] https://bugs.launchpad.net/ubuntu-clock-app/+bug/1429273
[2] https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-alarm-crash/+merge/252150

Changed in ubuntu-clock-app:
status: New → Incomplete
importance: Undecided → Critical
milestone: none → 3.3
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Michael Sheldon also confirmed on IRC that this bug occurs occasionally when opening/closing the settings page. I am sincerely hoping that this bug gets fixes by rev 216, as I haven't made any other change to the clock app recently w.r.t alarms.

Revision history for this message
Victor Thompson (vthompson) wrote :

Hi Nik, sadly it doesn't seem like the MP you pointed out fixes this. However, on my flo device (that had no alarms) didn't seem to be affected by this bug, however, once I added and deleted some alarms it seems like it is affected. I wonder if there's somewhere else that needs a change similar to the one you pointed out?

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

hmm that's really bad :/ .. I will test this out and try to see where the issue is...the strange part is that AlarmDelegate.qml is used only within AlarmsPage.qml which is not called when opening the Settings page. So I am not sure how the output log displays that. I will investigate more in the morning.

Changed in ubuntu-clock-app:
status: Incomplete → Confirmed
assignee: nobody → Nekhelesh Ramananthan (nik90)
Revision history for this message
Zsombor Egri (zsombi) wrote :

This seems to be related to the AlarmModel.get() function, so I add toolkit to it.

Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Zsombor Egri (zsombi)
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.