QContactManagerEngine crashes if requests are deleted before finished
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
address-book-service |
Fix Released
|
High
|
Unassigned | ||
address-book-service (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Both in dialer-app and in messaging-app we have a ContactWatcher per delegate instance that places a QContactFetchRe
If the list is scrolled up and down fast enough, the application crashes (as the QContactFetchRe
Here is the backtrace:
#0 0x00007ffff7848547 in testAndSetRelax
at ../../include/
#1 testAndSetAcqui
at ../../include/
#2 testAndSetAcquire (newValue=
#3 fastTryLock (this=<optimized out>) at thread/qmutex.h:86
#4 QMutex::lock (this=0x1ad388) at thread/
#5 0x00007fffddbf0432 in QtContacts:
#6 0x00007fffd44c57b1 in galera:
#7 0x00007fffd44c5cb3 in galera:
#8 0x00007fffd44beaad in galera:
from /usr/lib/
#9 0x00007ffff79efb23 in call (a=0x7fffffffd630, r=0x648820, this=0xa5b5b0) at ../../include/
#10 QMetaObject:
at kernel/
#11 0x00007ffff79f0597 in QMetaObject:
local_
#12 0x00007ffff75aca2f in QDBusPendingCal
#13 0x00007ffff75ae0eb in _q_finished (this=<optimized out>) at qdbuspendingcal
#14 QDBusPendingCal
at .moc/release-
#15 0x00007ffff79f106e in QObject::event (this=0x648820, e=<optimized out>) at kernel/
#16 0x00007ffff79cbe5d in QCoreApplicatio
#17 0x00007ffff79cbb8d in QCoreApplicatio
#18 0x00007ffff79cd367 in sendEvent (event=0xa57ee0, receiver=<optimized out>) at ../../include/
#19 QCoreApplicatio
#20 0x00007ffff79cd993 in QCoreApplicatio
#21 0x00007ffff7037b0c in QWindowSystemIn
#22 0x00007ffff00a2d30 in userEventSource
#23 0x00007ffff4ce80a6 in g_main_dispatch (context=0x626500) at /build/
#24 g_main_
#25 0x00007ffff4ce83f8 in g_main_
at /build/
#26 0x00007ffff4ce849c in g_main_
#27 0x00007ffff7a109dc in QEventDispatche
#28 0x00007ffff79caa3b in QEventLoop::exec (this=this@
#29 0x00007ffff79d01d1 in QCoreApplicatio
#30 0x000000000040a437 in main ()
Related branches
- Gustavo Pichorim Boiko (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 202 lines (+51/-13)4 files modifiedqcontacts/contacts-service.cpp (+36/-5)
qcontacts/contacts-service.h (+1/-1)
qcontacts/request-data.cpp (+11/-6)
qcontacts/request-data.h (+3/-1)
Changed in address-book-service: | |
status: | New → In Progress |
Changed in address-book-service: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:address-book-service at revision 57, scheduled for release in address- book-service, milestone Unknown