FAQ
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 at ubuntu:~/example$ ls
bar.py foo.pyx
rauli at ubuntu:~/example$ python bar.py
Segmentation fault
rauli at ubuntu:~/example$ cat bar.py
import pyximport; pyximport.install()
import foo

foo.Foo()
rauli at 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 at 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 at ubuntu:~/example$ cython --version
Cython version 0.15.1
rauli at ubuntu:~/example$ python --version
Python 2.7.1+
rauli at ubuntu:~/example$

Search Discussions

  • Vitja Makarov at Nov 23, 2011 at 7:00 pm

    2011/11/23 Rauli Ruohonen <rauli.ruohonen at 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 at ubuntu:~/example$ ls
    bar.py ?foo.pyx
    rauli at ubuntu:~/example$ python bar.py
    Segmentation fault
    rauli at ubuntu:~/example$ cat bar.py
    import pyximport; pyximport.install()
    import foo

    foo.Foo()
    rauli at 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 at 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 at ubuntu:~/example$ cython --version
    Cython version 0.15.1
    rauli at ubuntu:~/example$ python --version
    Python 2.7.1+
    rauli at ubuntu:~/example$
    _______________________________________________
    cython-devel mailing list
    cython-devel at python.org
    http://mail.python.org/mailman/listinfo/cython-devel
    Fixed here
    http://trac.cython.org/cython_trac/ticket/742


    --
    vitja.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcython-devel @
categoriespython
postedNov 23, '11 at 6:03p
activeNov 23, '11 at 7:00p
posts2
users2
websitecython.org

2 users in discussion

Vitja Makarov: 1 post Rauli Ruohonen: 1 post

People

Translate

site design / logo © 2017 Grokbase