View Single Post
blubbi's Avatar
Posts: 288 | Thanked: 113 times | Joined on Dec 2009 @ Germany
#19
Okay, now this is getting weird.
In fact it has something to do with PyQt4 and not playing nice with some other modules (so far I could track down gobject, glib, and evolution).

Here's a proof of concept for this bug:

Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#

import sys
from PyQt4.QtGui import QApplication

##NOTE: Uncommenting this import (even each on it's own) cause a 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"