Re: [PyKDE] Segmentation faults with PyQt

2002-09-30 Thread Boudewijn Rempt

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 29 September 2002 18:52, Hans-Peter Jansen wrote:


 Hi Boudwijn,

 before reinstalling everything, consider providing us a strace -s 256.


Third attempt -- my message with the strace output is being held
for moderator approval because it's the big. I'm not sure it shows anything 
really interesting, but I've also got a stacktrace that shows something going 
wrong in the XIM initialisation. Maybe it _is_ a bug in SuSE... Both 7.3 and 
8.0 updated to the latest libc give this backtrace.

#0  0x4003bcb3 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x400e5c3b in free () from /lib/libc.so.6
#2  0x4115ae3d in _XimCheckIfLocalProcessing () from
/usr/X11R6/lib/X11/locale/common/ximcp.so.2
#3  0x4115a7c2 in _XimOpenIM () from
/usr/X11R6/lib/X11/locale/common/ximcp.so.2
#4  0x4086a05b in _XDynamicOpenIM () from /usr/X11R6/lib/libX11.so.6
#5  0x41159e8d in _XimRegisterIMInstantiateCallback () from
/usr/X11R6/lib/X11/locale/common/ximcp.so.2
#6  0x4086a16b in _XDynamicRegisterIMInstantiateCallback () from
/usr/X11R6/lib/libX11.so.6
#7  0x4084c764 in XRegisterIMInstantiateCallback () from
/usr/X11R6/lib/libX11.so.6
#8  0x403bae8e in qt_init_internal () from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x403bbb44 in qt_init () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40412b4f in QApplication::construct () from
/usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40412985 in QApplication::QApplication () from
/usr/lib/qt3/lib/libqt-mt.so.3
#12 0x410ce5af in sipQApplication::sipQApplication ()
   from /usr/lib/python2.2/site-packages/libqtcmodule.so
#13 0x410d3081 in sipNew_QApplication () from
/usr/lib/python2.2/site-packages/libqtcmodule.so
#14 0x40025524 in sipCallCtor () from
/usr/lib/python2.2/site-packages/libsip.so
#15 0x40e07689 in callCtor () from
/usr/lib/python2.2/site-packages/libqtcmodule.so
#16 0x080c17c3 in PyCFunction_Call ()


- -- 
Boudewijn Rempt | http://www.valdyas.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD4DBQE9mCUidaCcgCmN5d8RAlnDAJiFn5i0TPaEiCRBYgrZKeehHLFVAKCYZZk9
rNcBm2qBIfXPacIPxpB/gg==
=sf6F
-END PGP SIGNATURE-

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] Segmentation faults with PyQt

2002-09-30 Thread Boudewijn Rempt

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've now tried to compile PyQt on a fresh machine with SuSE 8.0.
This machine has never been updated with YOU, and PyQt compiled
and worked without a hitch. Now I'm going to see what happens
if I update the machine to the latest versions of everything.

Hope that won't spoil other things, because it's my daughters'
games computer...
- -- 
Boudewijn Rempt | http://www.valdyas.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9mGvidaCcgCmN5d8RAmkxAJ9BpTcAg4SBZnKtrHdxedhUlg+HiwCdFDKp
pOaSKsFuA3G1HskP1gqWncY=
=VyTM
-END PGP SIGNATURE-

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] Segmentation faults with PyQt

2002-09-30 Thread Detlev Offenbach

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 30. September 2002 17:21 schrieb Boudewijn Rempt:
 I've now tried to compile PyQt on a fresh machine with SuSE 8.0.
 This machine has never been updated with YOU, and PyQt compiled
 and worked without a hitch. Now I'm going to see what happens
 if I update the machine to the latest versions of everything.

 Hope that won't spoil other things, because it's my daughters'
 games computer...

Hi,

this is a problem with SuSE 8.0 Updates. After the update to qt 3.0.5 
PyQt won't work with qt-mt. I had this segfaults as well. After I 
recompiled qt (recipe was posted by Torsten Marek about 2 weeks ago) 
everything works ok.

Regards
Detlev
- -- 
Detlev Offenbach
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9mJoxrj/ctbaJaeYRAsKVAKCSzKkRwX5vztpZRmTxJdVkf4M6oACcDskX
A1fvAgIk2ILUOpPSZpjkIgI=
=J2uH
-END PGP SIGNATURE-

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] Segmentation faults with PyQt

2002-09-29 Thread Ingo Krabbe

It is likely that your segFault in PyQt has another reason than PyQt
itself when you don't hear from anywhere else.

What do you call when you get a segFault ?

What's about SIP for example. It is mentioned that SIP 3.4 is also
needed by PyQt 3.4.  You may have some older version lying around, which
should be removed further.

Remeber that the SIP library may live in PYDIR or in /usr/lib or
/usr/local/lib for older versions, which might need to be delted by
hand (I've read this somewhere in SIP Docs).

On Sun, Sep 29, 2002 at 11:03:28AM +0200, Boudewijn Rempt wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm having no end of trouble getting the latest version of PyQt (3.4) to run: 
 both the source from riverbank, as the rpm's from sourceforge cause 
 segmentation faults, even with the included scripts.
 
 It's frustrating because I see little else than the mere mention of a 
 segmentation fault.
 
 I've tried Qt 3.0.4, 3.0.5, Python 2.1 and 2.2, SuSE 7.3 and SuSE 8.0 -- now 
 I'm going to try the snapshots of PyQt.
 - -- 
 Boudewijn Rempt | http://www.valdyas.org
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE9lsHidaCcgCmN5d8RAkKTAJ9EtGrB0GgNVFcC5TMvwj4ozZidxgCfdQd0
 c+hxIf4DVeR+ZLSjIPCqNnw=
 =NAFL
 -END PGP SIGNATURE-
 
 ___
 PyKDE mailing list[EMAIL PROTECTED]
 http://mats.gmd.de/mailman/listinfo/pykde
 

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] Segmentation faults with PyQt

2002-09-29 Thread Ingo Krabbe

I compiled the PyQt 3.4 Version from gentoo distribution, which is
completely based on sources.  Everything works fine.

The complete version which is downloaded by this installation is 
http://www.river-bank.demon.co.uk/download/PyQt/PyQt-x11-gpl-${PV}.tar.gz
where
PV=3.4
It depends on
=qt-3.0.4.1 (= means later version or equal)
=python-2.2.1
 =sip-3.4

The build arguments used are:

python build.py \
-d ${D}/usr/lib/python2.2/site-packages \
-e /usr/include/python2.2 \
-b ${D}/usr/bin \
-l qt-mt -c
make

where D= as far as I know.

SIP is build by:
python build.py -l qt-mt -b ${D}/usr/bin\
-d ${D}/usr/lib/python2.2/site-packages \
-e ${D}/usr/include/python2.2
make

I think the most interesting option here is -l qt-mt.  But it shouldn't
change too much.

On Sun, Sep 29, 2002 at 01:00:06PM +0200, Boudewijn Rempt wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I managed to get the latest snapshot to compile, and it can run simple 
 examples, like tut1.py. But eric, for instance, still segfaults as soon as I 
 try to open a file.
 
 I should have saved an earlier version of PyQt so I could at least use my 
 apps...
 
 Boudewijn Rempt
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE9lt02daCcgCmN5d8RAtn5AKCX4+gnG5/zmlftL3/T1wsSxbrXpQCfXX78
 xL8JppRRegC0Q2KMx2yWQdg=
 =AzoE
 -END PGP SIGNATURE-
 
 ___
 PyKDE mailing list[EMAIL PROTECTED]
 http://mats.gmd.de/mailman/listinfo/pykde
 

___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde



Re: [PyKDE] Segmentation faults with PyQt

2002-09-29 Thread Boudewijn Rempt

On Sun, 29 Sep 2002, Gerard Vermeulen wrote:

 On Sun, Sep 29, 2002 at 01:00:06PM +0200, Boudewijn Rempt wrote:
  I managed to get the latest snapshot to compile, and it can run simple
  examples, like tut1.py. But eric, for instance, still segfaults as soon as I
  try to open a file.
 
  I should have saved an earlier version of PyQt so I could at least use my
  apps...
 
 Ingo is right, you should have some conflict between Qt, sip, sip modules
 modules in your Python library directory and PyQt modules. Eric runs as do
 my own apps.

That what I should think -- and in fact I do have two sips, two pythons
and to PyQt's, but the build process tells me it is only using the the
Python and sip in /usr/local, not the one in /usr. The weirdest thing
is that even if I install precompiled binaries, that shouldn't exhibit
these problems, on a machine that has been completely emptied of PyQt
and sip, I still get segfaults.

I'm going to try with an older version Ricardo pointe me to. If that
doesn't work on my machines, I'm afraid I'll have to re-install Linux
again...


___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde