[Stackless] Fwd: Re: Compiling stackless with PyQt4?

Hieu Hoang hieu.d.hoang at gmail.com
Sat Mar 31 14:15:53 CEST 2007


Sorry, I forgot to CC stackless.

Also I have a crash case, with both trunk and 25-maint

>>>import sip
>>>sip.wrapper

All other stuffs in dir(sip) can be invoked no problem.


On 3/31/07, Hieu Hoang <hieu.d.hoang at gmail.com> wrote:
> On 3/31/07, Richard Tew <richard.m.tew at gmail.com> wrote:
> > On 3/31/07, Hieu Hoang <hieu.d.hoang at gmail.com> wrote:
> > > I can reproduce this crash with Python 2.6a0, Stackless 3.1b3, svn rev
> > > trunk:54612 on AMD64, python-sip 4.5.2, and I do *not* have PyQt3 or 4
> > > installed. Steps to reproduce are::
> > >
> > >    >>> import sip
> > >    >>> help(sip)
> >
> > Ah.  But you are using the trunk.  The Stackless trunk is 2.5 with
> > periodic (but no recent) merges in from the mainline trunk.  It is not
> > guaranteed not to crash or to have the fixes from the maintained
> > branch (release25-maint) in it either.  This does not mean you do not
> > have a valid crash, but it does mean we can assume it is related to
> > the problems seen here.
> >
>
> I just paid a closer look, and sure the crash point in mine doesn't
> look like Caleb's, but closer to Miguel's crash over the thread
> `Stackless and PyQt4 on Linux
> <http://www.stackless.com/pipermail/stackless/2007-March/002414.html>`_
> [1]_
>
> > How did you compile sip?  Did you see the compilation problems which
> > were in this mail from Carlos?
> >
> > http://www.stackless.com/pipermail/stackless/2007-January/002154.html
> >
>
> I compiled sip according to the doc included in the tarball, it looked
> straightforward to me::
>
>    $> make
>    make[1]: Entering directory `/home/r64y/sip-4.5.2/sipgen'
>    gcc -c -pipe -O2 -w -I. -o main.o main.c
>    gcc -c -pipe -O2 -w -I. -o transform.o transform.c
>    gcc -c -pipe -O2 -w -I. -o gencode.o gencode.c
>    gcc -c -pipe -O2 -w -I. -o export.o export.c
>    gcc -c -pipe -O2 -w -I. -o heap.o heap.c
>    gcc -c -pipe -O2 -w -I. -o parser.o parser.c
>    gcc -c -pipe -O2 -w -I. -o lexer.o lexer.c
>    g++  -o sip main.o transform.o gencode.o export.o heap.o parser.o lexer.o
>    make[1]: Leaving directory `/home/r64y/sip-4.5.2/sipgen'
>    make[1]: Entering directory `/home/r64y/sip-4.5.2/siplib'
>    gcc -c -pipe -fPIC -O2 -w -I.
> -I/home/r64y/e1/path64/include/python2.6 -o siplib.o siplib.c
>    gcc -c -pipe -fPIC -O2 -w -I.
> -I/home/r64y/e1/path64/include/python2.6 -o qtlib.o qtlib.c
>    gcc -c -pipe -fPIC -O2 -w -I.
> -I/home/r64y/e1/path64/include/python2.6 -o threads.o threads.c
>    gcc -c -pipe -fPIC -O2 -w -I.
> -I/home/r64y/e1/path64/include/python2.6 -o objmap.o objmap.c
>    g++ -c -pipe -fPIC -O2 -w -I.
> -I/home/r64y/e1/path64/include/python2.6 -o bool.o bool.cpp
>    g++ -shared -Wl,--version-script=sip.exp -o sip.so siplib.o qtlib.o
> threads.o objmap.o bool.o
>    make[1]: Leaving directory `/home/r64y/sip-4.5.2/siplib'
>
>
> > Why hasn't anyone but Carlos seen these problems?  Perhaps compilers
> > other than MSVC are more forgiving about differing struct
> > initialisation levels.  Whether it might be the cause of our problems
> > is something worth looking into.
>
> $> uname -a
> Linux babol 2.6.20-13-generic #2 SMP Sat Mar 24 23:12:02 UTC 2007
> x86_64 GNU/Linux
>
> $> gcc -v
> Using built-in specs.
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --enable-checking=release
> x86_64-linux-gnu
> Thread model: posix
> gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
>
> Happy-to-help-just-don't-know-way-around-*.[chi]-files'ly yours,
> Hieu
>
> .. [1]: or this shows my ignorance with gdb
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stackless-sip.wrapper.gdb
Type: application/octet-stream
Size: 7016 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070331/4843b7d7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stackless2.5-sip.wrapper.gdb
Type: application/octet-stream
Size: 7143 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070331/4843b7d7/attachment-0001.obj>
-------------- next part --------------
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless


More information about the Stackless mailing list