[PyKDE] Segmentation faults in pyqt

Hans-Peter Jansen hpj at urpla.net
Sat Jun 19 18:03:01 BST 2004


On Saturday 19 June 2004 14:42, Diez B. Roggisch wrote:
> Hi,
>
> When stracing, the last thing I get from it is this:
>
> lect(4, [3], NULL, NULL, NULL)        = 1 (in [3])
> read(3, "\1%\336\0\0\0\0\0\0\0\377\277\326\251\r\10\30\356C\10
> "..., 32) = 32 writev(3, [{"1\0\v\0\1\0!\0", 8},
> {"-*-*-medium-r-*-*-16-*-ISO8859-1"..., 33}, {"\0\0\0", 3}], 3) =
> 44
> read(3, 0xbfffefd0, 32)                 = -1 EAGAIN (Resource
> temporarily unavailable)
> select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
> read(3,
> "\1%\337\0\17\0\0\0\1\0\377\277\326\251\r\10\30\356C\10"..., 32) =
> 32 readv(3, [{":-ttf-andale mono-medium-r-norma"..., 60}, {"", 0}],
> 2) = 60 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

This smells fishy. I would start checking your system for old versions 
of sip/PyQt, especially in /usr/lib/python. If this guess doesn't 
match, send us the output of:

python -vc "import qt"

>
> These are the various versions of sip/pyqt I tried:
>
> sip-4.0rc3             sip-snapshot-20040329
> sip-4.0rc4             sip-snapshot-20040501

Note that changing sip always implies a PyQt (and dependants) 
recompile. 

Good luck,
Pete




More information about the PyQt mailing list