Calendar app crash
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Unassigned | ||
| | Ubuntu Calendar App |
Critical
|
Unassigned | ||
| | qtorganizer5-eds (Ubuntu) |
Undecided
|
Renato Araujo Oliveira Filho | ||
| | qtorganizer5-eds (Ubuntu RTM) |
Undecided
|
Unassigned | ||
Bug Description
Tapping on a day in Year view, crashed calendar app. See attached file.
TEST CASE:
1. Switch to 'Year' view
2. Tap on any day
3. Repeat steps 1 and 2 up to 10 times
ACTUAL RESULT
The app crashes after a few attempts
Related branches
- Alan Pope 🍺🐧🐱 🦄: Approve on 2015-03-07
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-03-07
-
Diff: 314 lines (+116/-59)5 files modifiedorganizer/qorganizer-eds-engine.cpp (+8/-1)
organizer/qorganizer-eds-engine.h (+3/-0)
organizer/qorganizer-eds-requestdata.cpp (+12/-39)
organizer/qorganizer-eds-requestdata.h (+4/-6)
tests/unittest/cancel-operation-test.cpp (+89/-13)
| Víctor R. Ruiz (vrruiz) wrote : | #1 |
| affects: | camera-app → ubuntu-calendar-app |
| summary: |
- Camera app crash + Calendar app crash |
| description: | updated |
| Changed in ubuntu-calendar-app: | |
| status: | New → Confirmed |
| tags: |
added: qa-silo removed: qa-daily-testing |
| description: | updated |
| description: | updated |
| Kunal Parmar (pkunal-parmar) wrote : | #2 |
| Alan Pope 🍺🐧🐱 🦄 (popey) wrote : | #3 |
I've installed some debug symbols and I can reproduce this very easily.
(gdb) cont
Continuing.
[Thread 0xa58b8450 (LWP 11518) exited]
[New Thread 0xa84ff450 (LWP 11559)]
Program received signal SIGSEGV, Segmentation fault.
findNode (akey=<optimized out>, this=0xe8c808) at /usr/include/
287 /usr/include/
(gdb) bt full
#0 findNode (akey=<optimized out>, this=0xe8c808) at /usr/include/
lb = <optimized out>
r = 0x19205c0
#1 remove (akey=<optimized out>, this=0xe3fde4) at /usr/include/
No locals.
#2 RequestData:
at /build/
No locals.
#3 0xb0085cb2 in ?? () from /usr/lib/
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Continuing.
[Thread 0xa484f450 (LWP 11839) exited]
[New Thread 0xa84ff450 (LWP 11916)]
Program received signal SIGABRT, Aborted.
__libc_do_syscall () at ../ports/
44 ../ports/
(gdb) bt full
#0 __libc_do_syscall () at ../ports/
No locals.
#1 0xb5d9ce5e in __GI_raise (sig=sig@entry=6) at ../nptl/
_a1 = 0
_a3tmp = 6
_a1tmp = 0
_a3 = 6
_nametmp = 268
_a2tmp = 11782
_a2 = 11782
_name = 268
_sys_result = <optimized out>
pd = 0xb6f05000
pid = 0
selftid = 11782
#2 0xb5d9db4e in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_
sa_flags = -1243213824, sa_restorer = 0xbec44390}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb5dc5b9c in __libc_message (do_abort=
at ../sysdeps/
ap = {__ap = 0xbec443dc}
fd = 2
on_2 = <optimized out>
list = <optimized out>
nlist = <optimized out>
cp = <optimized out>
written = <optimized out>
#4 0xb5dc9a3a in malloc_printerr (action=1, str=0xb5e442a0 "malloc(): smallbin double linked list corrupted", ptr=<optimized out>)
at malloc.c:4996
buf = "02346b20"
cp = <optimized out>
#5 0xb5dcb61e in _int_malloc (av=av@
p = <optimized out>
fb = <optimized out>
pp = <optimized out>
nb = 32
idx = <optimized out>
bin = <optimized out>
victim = <optimi...
| Changed in ubuntu-calendar-app: | |
| importance: | Undecided → Critical |
| Changed in qtorganizer5-eds: | |
| assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
| importance: | Undecided → Critical |
| Changed in ubuntu-calendar-app: | |
| status: | Confirmed → In Progress |
| Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in qtorganizer5-eds (Ubuntu): | |
| status: | New → Confirmed |
| Changed in qtorganizer5-eds (Ubuntu): | |
| status: | Confirmed → In Progress |
| Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package qtorganizer5-eds - 0.1.1+15.
---------------
qtorganizer5-eds (0.1.1+
[ Renato Araujo Oliveira Filho ]
* Fixed engine crash while destroying and requests still running. (LP:
#1423185)
-- CI Train Bot <email address hidden> Mon, 09 Mar 2015 13:48:42 +0000
| Changed in qtorganizer5-eds (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in qtorganizer5-eds (Ubuntu): | |
| assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
| no longer affects: | qtorganizer5-eds |
| Pat McGowan (pat-mcgowan) wrote : | #6 |
ok to land this crasher fix
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → High |
| milestone: | none → ww13-ota |
| status: | New → In Progress |
| Changed in qtorganizer5-eds (Ubuntu RTM): | |
| status: | New → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Daniel (punke-daniel) wrote : | #7 |
Seems to be gone on 0.4.623 (updated april 10th 2015)
| John McAleely (john.mcaleely) wrote : | #8 |
Do I understand this bug correctly? It seems to have tasks for the image (qtorganizer5-eds) which are fixed in the 'ww13-ota' milestone. It then seems to be marked 'in progress' for the app itself.
I would conclude that this will still be broken on a test device running the OTA image and the calendar app in the store?
FWIW, have such a handset, and this bug reproduced easily if I selected a day prior to 'today' in the year view. It did not seem to reproduce with future dates.
| Alan Pope 🍺🐧🐱 🦄 (popey) wrote : | #9 |
As I understood, this was fixed. You may be experiencing a new bug, but I certainly can't reproduce it here.
| Changed in ubuntu-calendar-app: | |
| status: | In Progress → Incomplete |
| Gary.Wang (gary-wzl77) wrote : | #10 |
Agree with Alan, it's same behavior but different root cause and i think it's related to heavy work for qml object creation during tab transition.
bt as following:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f595d15c033 in QtSharedPointer
(gdb) bt
#0 0x00007f595d15c033 in QtSharedPointer
#1 0x00007f595e92e80c in ?? () from /usr/lib/
#2 0x00007f595e92a36e in ?? () from /usr/lib/
#3 0x00007f595e92a813 in ?? () from /usr/lib/
#4 0x00007f595e92af9d in QQmlIncubationC
#5 0x00007f595ee8bdd8 in ?? () from /usr/lib/
#6 0x00007f595d3330e3 in QObject:
#7 0x00007f595dfd516c in QApplicationPri
#8 0x00007f595dfda41e in QApplication:
#9 0x00007f595d30381b in QCoreApplicatio
Every time tab transition from "year" to "monthly" .
1.Qt.ResolveUrl
2.EventlistModel will reload events due to startPeriodTime was changed(current Date/ current Month/ previous Month / Next Month), 4 times for Qt.createQmlObject for Timer to trigger event loading and destroy itself when event was loaded(garbage collected)
I think this issue exists in other tabs transitions and the reason why it's easier to reproduce from "year" to "monthly" lies in the complexity qml component creation in year view.
My testing device is on the way. I will test it with my patch to check if this issue is still existing and give feedback ASAP.
| Changed in ubuntu-calendar-app: | |
| status: | Incomplete → Fix Released |


How can we get backtrace information from attached .crash file ?