And also, the debug info inside the crashing window was enclosed.<div>Hope it helps.</div><div><br>
<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 5:45 PM, zw g <span dir="ltr"><<a href="mailto:pekingmaster@gmail.com">pekingmaster@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear List,
<div><br></div><div><br></div><div>Is this a bug of PyQt 4.9.1? (With Qt 4.8.0 on Mac OS X 10.7.3)</div><div>If my script contains sth. like the code below, then i get "Segmentation fault: 11" error, </div><div>
and ipython quit every time with pop-up window indicates that Python has crashed.</div><div><br></div><div>I made a screenshot of the crashing window, and it was enclosed.</div><div>Anyone help me?</div><div><br></div><div>
Thanks in advance.</div><div><br></div><div>=================================================</div><div><br></div><div><div><div>HandsomeGui-on-MBP:~ zhenweigui$ ipython</div><div>Python 2.7.2 (default, Feb 11 2012, 23:15:11) </div>
<div>Type "copyright", "credits" or "license" for more information.</div><div><br></div><div>IPython 0.12 -- An enhanced Interactive Python.</div><div>? -> Introduction and overview of IPython's features.</div>
<div>%quickref -> Quick reference.</div><div>help -> Python's own help system.</div><div>object? -> Details about 'object', use 'object??' for extra details.</div><div><br></div><div>In [1]: from PyQt4 import QtGui</div>
<div><br></div><div>In [2]: from PyQt4.phonon import Phonon</div><div><br></div><div>In [3]: import sys</div><div><br></div><div>In [4]: a = QtGui.QApplication(sys.argv)</div><div><br></div><div>In [5]: s = Phonon.VolumeSlider()</div>
<div>Segmentation fault: 11</div><div>HandsomeGui-on-MBP:~ zhenweigui$ </div></div></div>
</blockquote></div><br></div>