Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault in qtconsole when kernel quits #371

Closed
eteq opened this issue Apr 12, 2011 · 4 comments
Closed

segfault in qtconsole when kernel quits #371

eteq opened this issue Apr 12, 2011 · 4 comments
Assignees
Milestone

Comments

@eteq
Copy link
Contributor

eteq commented Apr 12, 2011

This is reproducible in Ubuntu 10.10 - if I start a kernel with ipython-qtconsole, and then use the -e option to connect to it with another qtconsole, and close the kernel by exiting from the second qtconsole, the first one segfaults. The same seems to happen to the second qtconsole if I exit from the first. In either case, the one that the exit command was issued at seems to close correctly with no errors.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe80e3700 (LWP 17503)]
0x00000000004a0695 in PyEval_EvalFrameEx (f=
    Frame 0x2471190, for file /usr/local/lib/python2.6/dist-packages/zmq/eventloop/ioloop.py, line 270, in start (event_pairs=[]), 
    throwflag=) at ../Python/ceval.c:2740
2740    ../Python/ceval.c: No such file or directory.
    in ../Python/ceval.c

Occasionally instead of a segfault, I see the following at the terminal:

Error in sys.excepthook:

Original exception was:
Error in sys.excepthook:

Original exception was:
@ghost ghost assigned epatters Apr 12, 2011
@epatters
Copy link
Contributor

@ellisonbg
I'm re-assigning this to you, Brian, since it looks like the problem is with the ZMQ event loop.

If it turns out the problem is on the frontend side, feel free to give the ticket back to me.

@ghost ghost assigned ellisonbg Apr 12, 2011
@takluyver
Copy link
Member

I got another different error message:

sys.excepthook is missing
lost sys.stderr
sys.excepthook is missing
lost sys.stderr

@minrk
Copy link
Member

minrk commented Jun 29, 2011

I can't reproduce this with current IPython master and pyzmq+zeromq 2.1.7. Is this still an issue?

I get clean exits with every combination I have tried.

@eteq
Copy link
Contributor Author

eteq commented Jun 30, 2011

Yes, I can no longer reproduce this in master w/ 2.1.7, so I'm closing the issue. Thanks!

@eteq eteq closed this as completed Jun 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants