Pop-up segfault when moving cursor out of qtconsole window #919

njwilson23 opened this Issue Oct 21, 2011 · 3 comments

2 participants


There seems to be a problem, in that when moving the cursor outside of a qtconsole window while there is an active pop-up hint, IPython will segfault.

To reproduce:
ipython qtconsole
type a command and end at an open parenthesis, e.g:
move the mouse cursor out of the qtconsole window area

What happens:
The ipython session quits, and "Segmentation fault" is printed to the terminal.

What should happen:
Nothing, presumably. Perhaps the tool-tip should go away.

Anyone else seeing this?

Ubuntu 11.10 x64
iPython 0.12 trunk (7e0d999, October 21, 2011)
python-qt-dev 3.18.1~4ubuntu3 (from repos)
python-zmq 2.1.9-1 (from repos)

IPython member

N.B. python-qt-dev is related to Qt 3, whereas we're using Qt 4. It may be important whether it's using PyQt (python-qt4) or PySide (python-pyside).


Whoops, sorry!

I've now tested with both, by doing
export QT_API=pyqt and export QT_API=pyside

It only crashes with pyside, and works as expected with pyqt.

IPython member

OK - I think this has come up before, and we've concluded it's a bug in PySide, and there's not much we can do about it. So I'm going to close this issue. Thanks for reporting it, and I hope it gets fixed soon.

@takluyver takluyver closed this Oct 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment