Ubuntu Layouts causes application to crash while switching from one layout to the other
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
Critical
|
Zsombor Egri | ||
Ubuntu UI Toolkit |
Fix Released
|
Critical
|
Zsombor Egri | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We are trying to implement tablet and phone interfaces for the ubuntu-clock-app. Both interfaces have been implemented, however switching between them causes the clock app to crash.
Steps to reproduce this bug:
1. Branch clock app code from the MR at https:/
2. Run it and switch from the tablet interface to mobile interface by reducing the application width
The app then freezes and then crashes unexpectedly.
The gdb crash log is attached below.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff74c2fd9 in QQmlEngine:
(gdb) bt
#0 0x00007ffff74c2fd9 in QQmlEngine:
#1 0x00007fffc61c0891 in PropertyAction:
from /usr/lib/
#2 0x00007fffc61c0950 in PropertyChange:
from /usr/lib/
#3 0x00007fffc61ba4ca in ULLayoutsPrivat
#4 0x00007fffc61bceeb in ULLayoutsPrivat
#5 0x00007fffc61bcf98 in ULLayoutsPrivat
#6 0x00007ffff74e2376 in ?? () from /usr/lib/
#7 0x00007ffff74e2333 in ?? () from /usr/lib/
#8 0x00007ffff74e29cd in QQmlIncubationC
#9 0x00007ffff628519e in QObject:
#10 0x00007ffff6d7009c in QApplicationPri
#11 0x00007ffff6d74db2 in QApplication:
#12 0x00007ffff625fcbd in QCoreApplicatio
#13 0x00007ffff6261497 in QCoreApplicatio
#14 0x00007ffff62a4e43 in ?? () from /usr/lib/
#15 0x00007ffff437a3b6 in g_main_
#16 0x00007ffff437a708 in ?? () from /lib/x86_
#17 0x00007ffff437a7ac in g_main_
#18 0x00007ffff62a4b0c in QEventDispatche
#19 0x00007ffff625eb6b in QEventLoop:
#20 0x00007ffff6264301 in QCoreApplicatio
#21 0x0000000000403e0c in ?? ()
#22 0x00007ffff56acde5 in __libc_start_main (main=0x4036e0, argc=2, ubp_av=
rtld_
#23 0x0000000000406133 in ?? ()
Related branches
- Florian Boucault (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Nekhelesh Ramananthan (community): Approve (testing)
-
Diff: 345 lines (+260/-1)8 files modifiedmodules/Ubuntu/Layouts/plugin/ullayouts.cpp (+16/-0)
modules/Ubuntu/Layouts/plugin/ullayouts.h (+2/-0)
modules/Ubuntu/Layouts/plugin/ullayouts_p.h (+1/-0)
tests/unit_x11/tst_layouts/DialerCrash.qml (+55/-0)
tests/unit_x11/tst_layouts/ExcludedItemDeleted.qml (+67/-0)
tests/unit_x11/tst_layouts/ItemInstanceAsProperty.qml (+63/-0)
tests/unit_x11/tst_layouts/tst_layouts.cpp (+52/-0)
tests/unit_x11/tst_layouts/tst_layouts.pro (+4/-1)
Changed in ubuntu-clock-app: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 1.6 |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → Critical |
assignee: | nobody → Zsombor Egri (zsombi) |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
assignee: | Zsombor Egri (zsombi) → Florian Boucault (fboucault) |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
milestone: | none → february-2014 |
tags: | added: coreapps-convergence |
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-clock-app: | |
milestone: | 1.6 → 1.8 |
Changed in ubuntu-ui-toolkit: | |
status: | In Progress → Fix Released |
Changed in ubuntu-clock-app: | |
status: | In Progress → Fix Released |
Minimal program independent from the clock app that reproduces the crash.