I&#39;ve tested the following bit of code under these 2 setups:<br><br>1. Mac OSX 10.6.2 Intel<br>   Python 2.6.5<br>   Qt 4.6.2<br>   PyQt 4.7.2<br><br>2. GNU/Linux x64 Fedora 8<br>   Python 2.6.2<br>   Qt 4.6.2<br>   PyQt 4.7<br>

<br>The code runs fine on the Linux setup, but results in a segfault on OSX. Interestingly, if I declare the signal as pyqtSignal(object) rather than pyqtSignal(dict), the segfault doesn&#39;t happen. Also, if I change the dictionary&#39;s key from an integer to a string, the segfault goes away.<br>

<br>#######################################<br>from PyQt4 import QtCore<br><br>class A(QtCore.QObject):<br>    foo = QtCore.pyqtSignal(dict)<br>    <br>class B(QtCore.QObject):<br>    def doStuff(self, obj):<br>        print &quot;got object&quot;, obj<br>

    <br>a = A()<br>b = B()<br>a.foo.connect(b.doStuff)<br>a.foo.emit({0: &quot;value&quot;})<br><br>