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

Frequent Safari/Webkit crashes #3375

Closed
fonnesbeck opened this issue May 29, 2013 · 6 comments · Fixed by #3378
Closed

Frequent Safari/Webkit crashes #3375

fonnesbeck opened this issue May 29, 2013 · 6 comments · Fixed by #3378

Comments

@fonnesbeck
Copy link

Current builds (last 1-2 weeks) of IPython from master are crashing Safari and WebKit nightlies on OS X pretty regularly. Here is the most recent crash report. Tends to happen when a cell is being actively edited.

@minrk
Copy link
Member

minrk commented May 29, 2013

That can't be anything but a Safari / WebKit bug, can it?

@fonnesbeck
Copy link
Author

I'm not sure. Safari has not been crashing with great regularity other than when editing Notebooks, so I thought it maybe IPython-related.

@minrk
Copy link
Member

minrk commented May 29, 2013

Most likely it's the CodeMirror 3 update. If you can find a reliable reproduction, that would be helpful. I haven't been able to see it. I assume latest Safari and OS X?

minrk added a commit to minrk/ipython that referenced this issue May 29, 2013
@minrk
Copy link
Member

minrk commented May 29, 2013

Found it - it's drag/drop and apparently a fairly longstanding bug (codemirror/codemirror5#332). CM 3 has an attempted workaround, but it doesn't seem to work, so it just restored the bug.

@fonnesbeck
Copy link
Author

Its OS X 10.8.3 and both Safari 6 and the current WebKit nightly builds.

@minrk
Copy link
Member

minrk commented May 29, 2013

until #3378 is merged, you can apply the same workaround in your custom.js:

if (IPython.utils.browser[0] == "Safari") {
    IPython.Cell.options_default.cm_config.dragDrop = false;
}

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants