[Python-apps-team] Bug#793129: cython: Typecast array to memoryview causes compiler crash

Dan Greene dan-greene at wi.rr.com
Tue Jul 21 14:54:21 UTC 2015


Package: cython
Version: 0.22.1-1
Severity: normal

Dear Maintainer,

Trying to cast a pointer to a memoryview object causes a compiler crash.

A simple example that triggers this bug is the one-liner
<int[:12]>NULL

The result of running cython on this file is a compiler crash that goes
something like this:
Compiler crash in AnalyzeExpressionsTransform
[backtrace follows which I can't easily copy on this machine and redirection
doesn't seem to work]
AttributeError: 'CythonScope' object has no attribute 'viewscope'

The same error happens for both cython and cython3.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cython depends on:
ii  libc6   2.19-18
ii  python  2.7.9-1

Versions of packages cython recommends:
ii  gcc         4:4.9.2-4
ii  python-dev  2.7.9-1

Versions of packages cython suggests:
pn  cython-doc  <none>

-- no debconf information



More information about the Python-apps-team mailing list