[kate] [Bug 243375] [PATCH] KDevelop crashes since KGlobal is deleted after KZoneAllocator is freed due to wrong behavior of KateFactory. Fixed.
Albert Astals Cid
aacid at kde.org
Mon Feb 10 19:37:32 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=243375
--- Comment #8 from Albert Astals Cid <aacid at kde.org> ---
Git commit c34045e2a2263865c825927de44c51faf5926132 by Albert Astals Cid, on
behalf of Kevin Funk.
Committed on 11/12/2013 at 09:48.
Pushed by aacid into branch 'KDE/4.12'.
Attempt to fix KZoneAllocator issue
kcompletion.p_h: Make the static KZoneAllocator member of KCompTreeNode
a shared pointer so external users can hold a reference to it.
kcompletion.cpp: Hold a reference to KCompTreeNode's KZoneAllocator
instance so we avoid deleting the KZoneAllocator too early. See attached
bug report for possible causes. (Hint: It crashes on Windows because
~KZoneAllocator is called to early.)
kallocator.cpp: Use printf instead of qDebug(), because this code path
code might be called very late during destruction and qDebug() will
crash deep inside Qt.
Also see discussion:
http://lists.kde.org/?l=kde-devel&m=138583383708455&w=1
Related: bug 327599
REVIEW: 114715
M +5 -3 kdecore/util/kallocator.cpp
M +4 -1 kdeui/util/kcompletion.cpp
M +11 -3 kdeui/util/kcompletion_p.h
http://commits.kde.org/kdelibs/c34045e2a2263865c825927de44c51faf5926132
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list