Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
1.2.x
-
None
Description
The following code leads to segfault:
from PySide.QtCore import QObject
import shiboken
o = QObject()
shiboken.delete(o)
shiboken.dump(o)
The root cause is std::string info(SbkObject* self) in libshiboken/basewrapper.cpp does not check to see if self->d->cptr is NULL before indexing it as an array.