[Python-modules-team] Bug#383687: ipython: segmentation fault on tab completion with threading enabled

stephane hasard at gmail.com
Fri Aug 18 18:56:54 UTC 2006


Package: ipython
Version: 0.7.2-3.1
Severity: normal



When threading is enabled (tested with -pylab or -gthread options),
ipython sometimes crashes with a Segmentation Fault when trying to use
tab completion. This does not happen systematically, but often enough to
cause painful losses of interactive sessions.

I did not observe this without the -pylab or -gthread options.

Example session follows:

: tiny:~$;ipython -pylab
Python 2.3.5 (#2, Jul 30 2006, 15:57:01)
Type "copyright", "credits" or "license" for more information.

IPython 0.7.2 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

  Welcome to pylab, a matplotlib-based Python environment.
  For more information, type 'help(pylab)'.

In [1]: import sys

In [2]: sys.e
sys.exc_clear    sys.exc_type     sys.exec_prefix  sys.exit
sys.exc_info     sys.excepthook   sys.executable   sys.exitfunc

In [2]: sys.ex
sys.exc_clear    sys.exc_type     sys.exec_prefix  sys.exit
sys.exc_info     sys.excepthook   sys.executable   sys.exitfunc

In [2]: sys.ex
sys.exc_clear    sys.exc_type     sys.exec_prefix  sys.exit
sys.exc_info     sys.excepthook   sys.executable   sys.exitfunc

In [2]: sys.exSegmentation fault
: tiny:~$



Steps to (sometimes...) reproduce: start ipython with -pylab option, and
use tab completion several times.


Best regards,

Stephane


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ipython depends on:
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-central                0.5.1      register and build utility for Pyt

Versions of packages ipython recommends:
ii  python-numeric                24.2-5     Numerical (matrix-oriented) Mathem
pn  python-numeric-ext            <none>     (no description available)
pn  python-pexpect                <none>     (no description available)

-- no debconf information




More information about the Python-modules-team mailing list