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 546 - Python crash on exit
: Python crash on exit
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.0 beta2
: All All
: P2 major
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2010-12-15 02:08 EET by anatoly techtonik
Modified: 2011-01-06 16:19 EET (History)
8 users (show)

See Also:


Attachments
crash1.txt (shiboken.dll) (560 bytes, text/plain)
2010-12-15 02:08 EET, anatoly techtonik
Details
crash2.txt (ntdll.dll) (564 bytes, text/plain)
2010-12-15 02:08 EET, anatoly techtonik
Details
crash3.txt (ntdll.dll) (564 bytes, text/plain)
2010-12-15 02:09 EET, anatoly techtonik
Details
crash4.txt (shiboken.dll) (560 bytes, text/plain)
2010-12-15 02:09 EET, anatoly techtonik
Details
editor.py (9.92 KB, text/plain)
2010-12-15 12:09 EET, anatoly techtonik
Details
editor.py (7.75 KB, text/plain)
2010-12-15 12:13 EET, anatoly techtonik
Details
editor.py (4.74 KB, text/plain)
2010-12-15 12:19 EET, anatoly techtonik
Details
editor.py (388 bytes, text/plain)
2010-12-15 12:29 EET, anatoly techtonik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anatoly techtonik 2010-12-15 02:08:15 EET
Created attachment 178 [details]
crash1.txt (shiboken.dll)

I've got a reproducible crash when closing single window component. The code is
available under 'pyside-100beta1-crash' from
http://code.google.com/r/techtonik-styledtextedit/source/browse?r=pyside-100beta1-crash

Attached are Vista crash logs. Although two first are different, the 3rd and
4th runs produced matching data.
Comment 1 anatoly techtonik 2010-12-15 02:08:56 EET
Created attachment 179 [details]
crash2.txt (ntdll.dll)
Comment 2 anatoly techtonik 2010-12-15 02:09:30 EET
Created attachment 180 [details]
crash3.txt (ntdll.dll)
Comment 3 anatoly techtonik 2010-12-15 02:09:59 EET
Created attachment 181 [details]
crash4.txt (shiboken.dll)
Comment 4 Matti Airas 2010-12-15 10:34:50 EET
Thanks for the bug report. Unfortunately, I found this a bit difficult to work
with. Could you provide us a bit more specific test case which exhibits the
crash and the commands required to clone the hg repo (at least I'm have no
prior experience with hg and couldn't clone the given URL with "hg clone").

I'm keeping this unconfirmed for now.
Comment 5 anatoly techtonik 2010-12-15 12:09:39 EET
Created attachment 183 [details]
editor.py

I am attaching non-minimal example that crashes. Don't really have time to
minimize it right now. The problem seems to be in autocomplete mechanism.
Comment 6 anatoly techtonik 2010-12-15 12:13:51 EET
Created attachment 184 [details]
editor.py

This version without line numbers still crashes.
Comment 7 Matti Airas 2010-12-15 12:19:06 EET
OK, I can reproduce on Linux. Since this is a crasher bug, I'm prioritizing
this P2. Thanks!
Comment 8 anatoly techtonik 2010-12-15 12:19:29 EET
Created attachment 185 [details]
editor.py

Removed properties/options. Still crashes on exit.
Comment 9 anatoly techtonik 2010-12-15 12:29:32 EET
Created attachment 186 [details]
editor.py

Ok. Here is the minimal example. The problem is in
self.completer.setWidget(self) code.
Comment 10 Matti Airas 2010-12-15 13:48:44 EET
(In reply to comment #9)
> Created an attachment (id=186) [details]
> editor.py
> 
> Ok. Here is the minimal example. The problem is in
> self.completer.setWidget(self) code.

Thanks!

This'll help solving the issue a lot.
Comment 11 Hugo Parente Lima 2010-12-30 15:44:22 EET
Fixed in commit:

pyside/d0d4ba1564d2569618925cf1e6a423b449931d71
Comment 12 renato filho 2011-01-06 16:19:31 EET
released on beta3