This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ricky.Huang
Recipients Ricky.Huang, ronaldoussoren
Date 2010-08-04.01:18:41
SpamBayes Score 0.00010739136
Marked as misclassified No
Message-id <1280884724.85.0.0838521688383.issue9502@psf.upfronthosting.co.za>
In-reply-to
Content
Not sure if this is the right place, please redirect me if this is the wrong place to log this bug.

In my unittest I am testing a PyQt GUI app.  It brings up the app window, runs a few tests, then quit.  On quit I get a "Python quit unexpectedly while using the QtGui plugin" crash, below is a partial report from OS X:

---

Process:         Python [69112]
Path:            /System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python
Identifier:      org.python.python.app
Version:         2.6 (2.6)
Build Info:      python-440100~6
Code Type:       X86 (Native)
Parent Process:  bash [63500]

PlugIn Path:       /Library/Frameworks/QtGui.framework/Versions/4/QtGui
PlugIn Identifier: QtGui
PlugIn Version:    4.6.3 (compatibility 4.6.0)
[...]

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000024
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   QtGui                         	0x028aecc0 QWidgetPrivate::qt_widget_event(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 32
1   com.apple.HIToolbox           	0x955acf2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
2   com.apple.HIToolbox           	0x955ac1f6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
3   com.apple.HIToolbox           	0x955ac055 SendEventToEventTargetWithOptions + 58
4   com.apple.HIToolbox           	0x955c72b7 HIView::SendOwningWindowChanged(unsigned long, OpaqueWindowPtr*, OpaqueWindowPtr*) + 315
5   com.apple.HIToolbox           	0x955c7142 HIView::NotifySubtreeWindowChanged(OpaqueWindowPtr*, OpaqueWindowPtr*, unsigned char) + 90
6   com.apple.HIToolbox           	0x9567f1c0 HIViewRemoveFromSuperview + 58
7   QtGui                         	0x028a6731 qt_mac_destructView(OpaqueControlRef*) + 17
8   QtGui                         	0x028a8f02 QWidget::destroy(bool, bool) + 546
9   QtGui                         	0x0295e7c1 QWidget::~QWidget() + 449
[...]

---

Thanks in advance.
History
Date User Action Args
2010-08-04 01:18:45Ricky.Huangsetrecipients: + Ricky.Huang, ronaldoussoren
2010-08-04 01:18:44Ricky.Huangsetmessageid: <1280884724.85.0.0838521688383.issue9502@psf.upfronthosting.co.za>
2010-08-04 01:18:43Ricky.Huanglinkissue9502 messages
2010-08-04 01:18:41Ricky.Huangcreate