[Python-modules-team] Bug#797483: python-enable: AGG renderer segfaults if built with optimization

Philip Chimento philip.chimento at gmail.com
Sun Aug 30 23:17:22 UTC 2015


Package: python-enable
Version: 4.3.0-2.1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

See this Ubuntu bug for more information and a minimal example that
reproduces the problem:
https://bugs.launchpad.net/ubuntu/+source/python-chaco/+bug/1145575

Apparently building python-enable's AGG renderer with optimization on GCC
later than 4.6 causes it to segfault. This makes python-chaco's image
plots unusable and any applications which use that functionality from Chaco
will crash.

It may be a compiler bug or it may be that the AGG code does something that
is undefined behaviour, causing GCC to optimize things incorrectly.

I suggest that this package be built with -O0 and I'll submit a patch to
that effect.

Regards,
Philip Chimento


-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (995, 'stable'), (500, 'stable-updates'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-enable depends on:
ii  fonttools                         2.4-1
ii  libc6                             2.19-18
ii  libfreetype6                      2.5.2-3
ii  libgcc1                           1:4.9.2-10
ii  libgl1-mesa-glx [libgl1]          10.3.2-1
ii  libglu1-mesa [libglu1]            9.0.0-2
ii  libstdc++6                        4.9.2-10
ii  libx11-6                          2:1.6.2-3
ii  python                            2.7.9-1
ii  python-numpy [python-numpy-abi9]  1:1.8.2-2
ii  python-pil                        2.6.1-2
ii  python-pkg-resources              5.5.1-1
ii  python-traitsui                   4.4.0-1.3
ii  python-wxgtk3.0                   3.0.1.1+dfsg-2

python-enable recommends no packages.

python-enable suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list