[PyQt] sip segfaults while using eric4

Christof Hanke hanke at rzg.mpg.de
Fri Aug 17 10:06:09 BST 2007



Phil Thompson wrote:
> On Thursday 16 August 2007, Christof Hanke wrote:
>> Hi list,
>>
>> I'm a "eric4"-user which uses sip-4.7.
>> Unfortunately, my eric4 crashes reproducibly in sip.so (Version-numbers
>> given below).
>>
>> Basically it tries to access memory at "0xdbdbdbdb".
>> Searching the web for "0xdbdbdbdb" and python suggests
>> that maybe some refcounters are wrong ?
>>
>> Since I could compile everything with symbol-information, I could find a
>> "workaround". By applying the "patch" below, it doesn't crash anymore.
>> The circumstances of the crash are somewhat convoluted, but if it is of
>> any help I can try to get the crash as small as possible.
>> After the patch I attached the stacktrace of a gdb-session.
> 
> So how do I reproduce the crash?
> 
> Phil

Ok, I found a pretty quick way to crash it.

* You open eric4.
* Go to Project-> Version Control -> New From Repository
* Select Subversion(svn)
* Hit Ok and voila, it crashes (at least for me).

Christof



More information about the PyQt mailing list