PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 735 - ownership_reparenting_test.py fail on Ubuntu natty amd64
: ownership_reparenting_test.py fail on Ubuntu natty amd64
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Shiboken
: HEAD
: PC Linux
: P2 major
Assigned To: Marcelo Lira
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-16 15:33 EET by renato filho
Modified: 2011-04-01 23:16 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description renato filho 2011-03-16 15:33:50 EET
Test fail in debug version.

python-dbg
/home/renato/work/pyside/shiboken/tests/samplebinding/ownership_reparenting_test.py
.....Segmentation fault
Comment 1 renato filho 2011-03-16 15:34:18 EET
back trace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5836839 in Shiboken::Object::_destroyParentInfo (obj=0xcd2358,
keepReference=true) at
/home/renato/work/pyside/shiboken/libshiboken/basewrapper.cpp:638
638           obj->d->parentInfo = 0;
(gdb) bt
#0  0x00007ffff5836839 in Shiboken::Object::_destroyParentInfo (obj=0xcd2358,
keepReference=true) at
/home/renato/work/pyside/shiboken/libshiboken/basewrapper.cpp:638
#1  0x00007ffff5837264 in Shiboken::Object::destroy (self=0xcd2358,
cppData=0xd55d80) at
/home/renato/work/pyside/shiboken/libshiboken/basewrapper.cpp:884
#2  0x00007ffff623d218 in ObjectTypeWrapper::~ObjectTypeWrapper (this=0xd55d80,
__in_chrg=<value optimized out>) at
/home/renato/work/pyside/shiboken/build/tests/samplebinding/sample/objecttype_wrapper.cpp:233
#3  0x00007ffff623d278 in ObjectTypeWrapper::~ObjectTypeWrapper (this=0xd55d80,
__in_chrg=<value optimized out>) at
/home/renato/work/pyside/shiboken/build/tests/samplebinding/sample/objecttype_wrapper.cpp:234
#4  0x00007ffff5f8caf8 in ObjectType::~ObjectType (this=0xd65e60,
__in_chrg=<value optimized out>) at
/home/renato/work/pyside/shiboken/tests/libsample/objecttype.cpp:41
#5  0x00007ffff5f8cbbc in ObjectType::~ObjectType (this=0xd65e60,
__in_chrg=<value optimized out>) at
/home/renato/work/pyside/shiboken/tests/libsample/objecttype.cpp:42
#6  0x00007ffff6241983 in Shiboken::callCppDestructor<ObjectType>
(cptr=0xd65e60) at
/home/renato/work/pyside/shiboken/libshiboken/basewrapper.h:106
#7  0x00007ffff5834f6f in SbkDeallocWrapper (pyObj=<sample.ObjectType at remote
0xcd2250>) at /home/renato/work/pyside/shiboken/libshiboken/basewrapper.cpp:172
#8  0x00000000004660f6 in _Py_Dealloc (op=<sample.ObjectType at remote
0xcd2250>) at ../Objects/object.c:2228
#9  0x00000000005b78cd in frame_dealloc (f=
    Frame 0xd668a0, for file
/home/renato/work/pyside/shiboken/tests/samplebinding/ownership_reparenting_test.py,
line 92, in testReparentedObjectTypeIdentityWithParentsCreatedInCpp (i=2,
obj=<sample.ObjectType at remote 0xcd22a8>, child=<sample.ObjectType at remote
0xcd22a8>)) at ../Objects/frameobject.c:458
#10 0x00000000004660f6 in _Py_Dealloc (op=
    Frame 0xd668a0, for file
/home/renato/work/pyside/shiboken/tests/samplebinding/ownership_reparenting_test.py,
line 92, in testReparentedObjectTypeIdentityWithParentsCreatedInCpp (i=2,
obj=<sample.ObjectType at remote 0xcd22a8>, child=<sample.ObjectType at remote
0xcd22a8>)) at ../Objects/object.c:2228
Comment 2 Luciano Wolf 2011-03-16 19:33:10 EET
Rising to P2 as it causes a segfault.
Comment 3 renato filho 2011-03-22 16:18:12 EET
fixed on shiboken commit:
commit 7a21a4f1373c069ec3161fe759269f467a592dab
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Tue Mar 22 10:40:15 2011 -0300
Comment 4 renato filho 2011-03-22 16:27:05 EET
*** Bug 727 has been marked as a duplicate of this bug. ***
Comment 5 Hugo Parente Lima 2011-04-01 23:16:01 EEST
Closing bug after release of PySide 1.0.1.