2011/11/23 Rauli Ruohonen <rauli.ruoho...@gmail.com>: > Hi, > > I don't know if this has been reported yet (didn't notice a ticket > with a quick look though), but I just downloaded and installed the > latest Cython tarball and got a segfault this way: > > rauli@ubuntu:~/example$ ls > bar.py foo.pyx > rauli@ubuntu:~/example$ python bar.py > Segmentation fault > rauli@ubuntu:~/example$ cat bar.py > import pyximport; pyximport.install() > import foo > > foo.Foo() > rauli@ubuntu:~/example$ cat foo.pyx > cdef class Foo(object): > > cdef object bar > > def __init__(self): > self.bar = 'baz' > (i for i in self.bar) > rauli@ubuntu:~/example$ uname -a > Linux ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC > 2011 x86_64 x86_64 x86_64 GNU/Linux > rauli@ubuntu:~/example$ cython --version > Cython version 0.15.1 > rauli@ubuntu:~/example$ python --version > Python 2.7.1+ > rauli@ubuntu:~/example$ > _______________________________________________ > cython-devel mailing list > cython-devel@python.org > http://mail.python.org/mailman/listinfo/cython-devel >
Fixed here http://trac.cython.org/cython_trac/ticket/742 -- vitja. _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel