Bugs: Browse |
Download .csv
[#6642] PyQT segfaults with some oter python modules
Date: 2010-11-24 12:05 |
Priority: 3 |
Submitted By:
Bjoern Olausson (blubbi)
|
Assigned To:
Nobody (None) |
Summary: PyQT segfaults with some oter python modules |
Detailed description |
PyQT, especially QApplication, segfaults when importing some other specific modules before instantiating QApplication().
This behavior occurred after the PR1.3 update.
Here's a proof of concept for this bug:
---------------------------------------------------
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
import sys
from PyQt4.QtGui import QApplication
##NOTE: Commenting this import prevents the segfault
##NOTE: Using the same import after initializing QApplication() works!
import gobject, glib, evolution
print "hello1"
app = QApplication(sys.argv)
print "hello2"
##NOTE: This does not cause a segfault:
import gobject, glib, evolution
print "hello3"
---------------------------------------------------
There might be other modules affected!
So far i found these three modules to trigger the bug (might be used i any combination, or each on it's own):
* gobject
* glib
* evolution
Cheers
Bjoern |
|
|
Followup
Message |
Date: 2010-11-24 13:12
Sender: Girish Gopi
I can confirm the same bug.
Additional module that triggers this bug:
* location |
|
|
Attached Files:
Name |
Download |
No Files Currently Attached |
|
|
Changes:
No Changes Have Been Made to This Item |
|