[PyQt] [PyQT] Segfault when pickling a QByteArray

Phil Thompson phil at riverbankcomputing.com
Mon Dec 19 15:53:50 GMT 2011


On Mon, 19 Dec 2011 14:49:18 +0200, cantabile <cantabile.desu at gmail.com>
wrote:
> Hello,
> 
> The sample code is attached. It segfaults at pickle.dump().
> However, pickling something like QByteArray("asdf") works fine.
> This is with python 3. The exact same code works with python 2
> (same pyqt, sip and qt versions).
> 
> A backtrace is also attached. I see a lot of "<optimized out>" in the
> backtrace - should I recompile python and/or sip with -O0 or something
> like that?
> 
> Python 3 version: 3.2.2
> Python 2 version: 2.7.2
> Pyqt     version: 4.8.6
> Sip      version: 4.13
> Qt       version: 4.7.4
> 
> Operating system: 64 bit arch linux.

Hmm, one SIP bug, one PyQt bug. Fixed in tonight's snapshots.

Thanks,
Phil


More information about the PyQt mailing list