[MacPorts] #46607: qt4-mac +KDE variant.
MacPorts
noreply at macports.org
Sun Jan 18 06:03:10 PST 2015
#46607: qt4-mac +KDE variant.
--------------------------+--------------------------------
Reporter: rjvbertin@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: qt4-mac |
--------------------------+--------------------------------
Comment (by rjvbertin@…):
Re: patch-QAction_isEnabled.diff : the stale pointer access prevented by
this patch is most likely also due to a pending event being delivered to
an already deleted object. It's not a proper fix (unless you believe in
defensive programming). If my assessment is correct, the real bug is in
client code that does `delete object` instead of `object->deleteLater()`
(which is comparable to ObjC's `[obj release]`). The problem is that it is
neigh impossible to determine which `object` that is; the address stored
in the stale pointer corresponds to a (member of a ) member variable of
that object, and the crash occurs at some undeterminate moment after that
object was deleted.
--
Ticket URL: <https://trac.macports.org/ticket/46607#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list